[PATCH v1 3/3] board: qualcomm: Remove SCSI scan from default preboot environment

Sumit Garg sumit.garg at kernel.org
Tue Jan 27 08:25:31 CET 2026


On Mon, Jan 26, 2026 at 09:29:38PM +0530, Balaji Selvanathan wrote:
> Remove "scsi scan" from the preboot command sequence in the default
> Qualcomm board environment.

This is the default environment configuration expected to work on all
Qcom platforms, wouln't it break platforms supporting UFS boot?

> The SCSI scan command fails on eMMC-based
> boot configurations, causing unnecessary boot delays and potential
> error messages during the preboot phase.

Say if UFS isn't supported as the boot target then this SCSI scan should
just bail out. Can you share the error messages and boot delays seen
here?

-Sumit

> 
> This change improves boot reliability on platforms using eMMC storage
> as the primary boot device.
> 
> Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
> ---
>  board/qualcomm/default.env | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/qualcomm/default.env b/board/qualcomm/default.env
> index dbf6f4e7260..7cfa8e0ce2a 100644
> --- a/board/qualcomm/default.env
> +++ b/board/qualcomm/default.env
> @@ -1,7 +1,7 @@
>  stdin=serial,button-kbd
>  stdout=serial,vidconsole
>  stderr=serial,vidconsole
> -preboot=scsi scan; usb start
> +preboot=usb start
>  fastboot=fastboot -l $fastboot_addr_r usb 0
>  do_boot=bootefi bootmgr
>  bootmenu_0=Boot first available device=run do_boot
> -- 
> 2.34.1
> 


More information about the U-Boot mailing list