From: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
To: Sumit Garg <sumit.garg@kernel.org>
Cc: trini@konsulko.com, casey.connolly@linaro.org,
neil.armstrong@linaro.org, lukma@denx.de,
aswin.murugan@oss.qualcomm.com, rui.silva@linaro.org,
david.wronek@mainlining.org, ilias.apalodimas@linaro.org,
luca.weiss@fairphone.com, jorge.ramirez@oss.qualcomm.com,
stephan.gerhold@linaro.org, quic_varada@quicinc.com,
u-boot-qcom@groups.io, u-boot@lists.denx.de
Subject: Re: [PATCH v1 3/3] board: qualcomm: Remove SCSI scan from default preboot environment
Date: Tue, 26 May 2026 16:46:02 +0530 [thread overview]
Message-ID: <7d37b9e8-3d2a-495b-8f82-4e050f246eb9@oss.qualcomm.com> (raw)
In-Reply-To: <aXhoa9sfIhoMZWq0@sumit-xelite>
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 <balaji.selvanathan@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
>>
next prev parent reply other threads:[~2026-05-26 11:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 15:59 [PATCH v1 0/3] Enable eMMC/SDCC support for QCS615 platform Balaji Selvanathan
2026-01-26 15:59 ` [PATCH v1 1/3] clk: qcom: Add QCS615 SDCC clock support and RPMH-CLK compatibility Balaji Selvanathan
2026-01-27 6:28 ` Sumit Garg
2026-02-09 18:56 ` Casey Connolly
2026-01-26 15:59 ` [PATCH v1 2/3] arm: snapdragon: Remove QCS615 MMC node disable fixup Balaji Selvanathan
2026-01-27 7:18 ` Sumit Garg
2026-01-26 15:59 ` [PATCH v1 3/3] board: qualcomm: Remove SCSI scan from default preboot environment Balaji Selvanathan
2026-01-27 7:25 ` Sumit Garg
2026-05-26 11:16 ` Balaji Selvanathan [this message]
2026-02-09 19:16 ` Casey Connolly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d37b9e8-3d2a-495b-8f82-4e050f246eb9@oss.qualcomm.com \
--to=balaji.selvanathan@oss.qualcomm.com \
--cc=aswin.murugan@oss.qualcomm.com \
--cc=casey.connolly@linaro.org \
--cc=david.wronek@mainlining.org \
--cc=ilias.apalodimas@linaro.org \
--cc=jorge.ramirez@oss.qualcomm.com \
--cc=luca.weiss@fairphone.com \
--cc=lukma@denx.de \
--cc=neil.armstrong@linaro.org \
--cc=quic_varada@quicinc.com \
--cc=rui.silva@linaro.org \
--cc=stephan.gerhold@linaro.org \
--cc=sumit.garg@kernel.org \
--cc=trini@konsulko.com \
--cc=u-boot-qcom@groups.io \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox