[U-Boot] [PATCH] mx6ulevk: Add support for SDP boot in SPL target

Breno Matheus Lima breno.lima at nxp.com
Thu Jul 18 14:43:24 UTC 2019


Currently it's not possible to boot mx6ulevk board using
imx_usb_loader tool:

U-Boot SPL 2018.03 (Jul 18 2019 - 10:05:17 -0300)
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices

Enable necessary configuration in defconfig file.

Signed-off-by: Breno Lima <breno.lima at nxp.com>
---
 configs/mx6ul_14x14_evk_defconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig
index 1d777b5fb2..4d12a7cb16 100644
--- a/configs/mx6ul_14x14_evk_defconfig
+++ b/configs/mx6ul_14x14_evk_defconfig
@@ -19,9 +19,13 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_TEXT_BASE=0x00908000
 CONFIG_SPL_FS_EXT4=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_USB_HOST_SUPPORT=y
+CONFIG_SPL_USB_GADGET=y
+CONFIG_SPL_USB_SDP_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_SPL=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
@@ -67,4 +71,9 @@ CONFIG_FSL_QSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_MANUFACTURER="FSL"
+CONFIG_USB_GADGET_VENDOR_NUM=0x0525
+CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
+CONFIG_CI_UDC=y
 CONFIG_VIDEO=y
-- 
2.17.1



More information about the U-Boot mailing list