Hi Sumit,
On 1/27/2026 12:55 PM, Sumit Garg wrote:
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?
Codes requiring UFS access usually calls scsi_scan. Hence, it is not
needed in preboot.
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?
We get following error messages in eMMC only platforms:
"Unknown command 'scsi' - try 'help'"
Regards,
Balaji
-Sumit
This change improves boot reliability on platforms using eMMC storage
as the primary boot device.
Signed-off-by: Balaji Selvanathan <[email protected]>
---
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