[PATCH v2 1/2] configs: am62x_r5: introduce fragment for USB MSC boot
Siddharth Vadapalli
s-vadapalli at ti.com
Sat Mar 1 09:00:48 CET 2025
Introduce the config fragment for enabling USB MSC boot. USB MSC boot
involves fetching the next stage of the bootloader from a USB Mass Storage
device such as a USB Flash Drive with the USB controller on the SoC acting
as the USB Host.
Signed-off-by: Siddharth Vadapalli <s-vadapalli at ti.com>
---
v1 of this patch is at:
https://patchwork.ozlabs.org/project/uboot/patch/20250226103504.1841697-2-s-vadapalli@ti.com/
Changes since v1:
- Enabled CONFIG_USB_STORAGE based on the feedback provided by
Jonathan Humphreys <j-humphreys at ti.com>
at:
https://patchwork.ozlabs.org/project/uboot/patch/20250226103504.1841697-2-s-vadapalli@ti.com/#3470589
- Since enabling CONFIG_USB_STORAGE led to exceeding the size limit for
tiboot3.bin, I disabled CONFIG_SPL_RAM_DEVICE in am62x_r5_usbmsc.config.
Regards,
Siddharth.
configs/am62x_r5_usbmsc.config | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 configs/am62x_r5_usbmsc.config
diff --git a/configs/am62x_r5_usbmsc.config b/configs/am62x_r5_usbmsc.config
new file mode 100644
index 00000000000..09f94511d28
--- /dev/null
+++ b/configs/am62x_r5_usbmsc.config
@@ -0,0 +1,24 @@
+CONFIG_USB=y
+CONFIG_SPL_USB_HOST=y
+CONFIG_SPL_SYSCON=y
+CONFIG_SPL_MISC=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_GADGET=y
+CONFIG_SPL_USB_GADGET=y
+CONFIG_USB_DWC3=y
+CONFIG_SPL_USB_DWC3_GENERIC=y
+CONFIG_SPL_USB_DWC3_AM62=y
+CONFIG_USB_STORAGE=y
+CONFIG_SPL_USB_STORAGE=y
+# CONFIG_CMD_DFU is not set
+# CONFIG_CMD_FAT is not set
+# CONFIG_CMD_GPT is not set
+# CONFIG_CMD_MMC is not set
+# CONFIG_DFU is not set
+# CONFIG_SPL_LIBDISK_SUPPORT is not set
+# CONFIG_SPL_MMC is not set
+# CONFIG_SPL_MTD is not set
+# CONFIG_SPL_RAM_DEVICE is not set
+# CONFIG_SPL_SPI is not set
+# CONFIG_SPL_SYS_MALLOC is not set
+# CONFIG_MMC_SDHCI is not set
--
2.34.1
More information about the U-Boot
mailing list