From: Neil Armstrong <neil.armstrong@linaro.org>
To: Caleb Connolly <caleb.connolly@linaro.org>,
Lukasz Majewski <lukma@denx.de>,
Sean Anderson <seanga2@gmail.com>, Tom Rini <trini@konsulko.com>,
Sumit Garg <sumit.garg@kernel.org>,
Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
Ramon Fried <rfried.dev@gmail.com>
Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io
Subject: Re: [PATCH 4/4] qcom_defconfig: enable fastboot
Date: Tue, 25 Mar 2025 08:28:26 +0100 [thread overview]
Message-ID: <a68f36e8-a875-485e-a9e2-e9495e7012ff@linaro.org> (raw)
In-Reply-To: <20250324-sdm845-fixes-fastboot-v1-4-d177a10f336d@linaro.org>
On 24/03/2025 19:17, Caleb Connolly wrote:
> Enable fastboot support over USB, using MMC as the backend. This will be
> the internal eMMC on devices that have it, or the sdcard slot on devices
> with UFS (if available).
>
> We don't use a fixed address for the fastboot buffer because it's
> allocated at runtime per-board. Entering fastboot mode should be done by
> executing "run fastboot" or manually running:
>
> fastboot -l $fastboot_addr_r usb 0
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
> configs/qcom_defconfig | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
> index ba4d38d100e053e3708ee2623bf3530787b6b94f..f5c005d9c4093e4902b05213ab2f54c8ca70208a 100644
> --- a/configs/qcom_defconfig
> +++ b/configs/qcom_defconfig
> @@ -61,8 +61,13 @@ CONFIG_CLK_QCOM_SC7280=y
> CONFIG_CLK_QCOM_X1E80100=y
> CONFIG_DFU_MMC=y
> CONFIG_DFU_SCSI=y
> CONFIG_SYS_DFU_DATA_BUF_SIZE=0x200000
> +CONFIG_USB_FUNCTION_FASTBOOT=y
> +CONFIG_FASTBOOT_BUF_ADDR=0x0
> +CONFIG_FASTBOOT_FLASH=y
> +CONFIG_FASTBOOT_FLASH_MMC_DEV=0
> +CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_MSM_GPIO=y
> CONFIG_QCOM_PMIC_GPIO=y
> CONFIG_DM_I2C=y
> CONFIG_SYS_I2C_QUP=y
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
next prev parent reply other threads:[~2025-03-25 7:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-24 18:17 [PATCH 0/4] Qualcomm: fix sdm845 clocks and enable fastboot Caleb Connolly
2025-03-24 18:17 ` [PATCH 1/4] clk/stub: add sdm845 rpmh clock Caleb Connolly
2025-03-25 7:27 ` Neil Armstrong
2025-03-24 18:17 ` [PATCH 2/4] clk/qcom: sdm845: add GCC_AGGRE_UFS_PHY_AXI_CLK Caleb Connolly
2025-03-25 7:27 ` Neil Armstrong
2025-03-24 18:17 ` [PATCH 3/4] mach-snapdragon: enable DM_USB_GADGET by default Caleb Connolly
2025-03-24 18:17 ` [PATCH 4/4] qcom_defconfig: enable fastboot Caleb Connolly
2025-03-25 7:28 ` Neil Armstrong [this message]
2025-03-31 13:34 ` [PATCH 0/4] Qualcomm: fix sdm845 clocks and " Caleb 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=a68f36e8-a875-485e-a9e2-e9495e7012ff@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=caleb.connolly@linaro.org \
--cc=lukma@denx.de \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=rfried.dev@gmail.com \
--cc=seanga2@gmail.com \
--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