mx6ul_14x14_evk: Enable SPL USB and SDP support
PATCH 1/3 mx6ul_14x14_evk: Enable SPL USB and SDP support
This fixes the boot from USB loader, which is critical to easy the manufacture process.
---
configs/mx6ul_14x14_evk_defconfig | 11 +++++++++++ 1 file changed, 11 insertions(+)
configs/mx6ul_14x14_evk_defconfig +11 -0
@@ -22,6 +22,9 @@ CONFIG_BOUNCE_BUFFER=y CONFIG_BOARD_EARLY_INIT_F=y 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
@@ -32,6 +35,8 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y +CONFIG_CMD_USB_SDP=y +CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_DHCP=y CONFIG_CMD_PING=y CONFIG_CMD_BMP=y
@@ -46,6 +51,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx6ul-14x14-evk" CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y +CONFIG_USB_FUNCTION_FASTBOOT=y CONFIG_DM_74X164=y CONFIG_DM_I2C=y CONFIG_DM_MMC=y
@@ -73,5 +79,10 @@ CONFIG_SOFT_SPI=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_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y
Signature · 1 line
2.27.0
PATCH 2/3 mx6ul_14x14_evk: Enable eMMC boot support
---
configs/mx6ul_14x14_evk_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/mx6ul_14x14_evk_defconfig +1 -0
@@ -55,6 +55,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y CONFIG_DM_74X164=y CONFIG_DM_I2C=y CONFIG_DM_MMC=y +CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_FSL_USDHC=y CONFIG_MTD=y CONFIG_DM_SPI_FLASH=y
Signature · 1 line
2.27.0
PATCH 2/3 mx6ul_14x14_evk: Enable eMMC boot support
Hi Otavio,
On Tue, Jun 9, 2020 at 12:47 PM Otavio Salvador <[email protected]> wrote:
Please always include a commit text.
Quoted 11 lines
Signed-off-by Otavio Salvador <[email protected]>---
configs/mx6ul_14x14_evk_defconfig | 1 + 1 file changed, 1 insertion(+)configs/mx6ul_14x14_evk_defconfig +0
-0
configs/mx6ul_14x14_evk_defconfig CONFIG_USB_FUNCTION_FASTBOOT=y · line 58
Quoted 4 lines
configs/mx6ul_14x14_evk_defconfig +1
-0@@ -55,6 +55,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y CONFIG_DM_74X164=y CONFIG_DM_I2C=y CONFIG_DM_MMC=y +CONFIG_SUPPORT_EMMC_BOOT=y
imx6ul evk does not come with an eMMC, so this option is not needed.
PATCH 3/3 mx6ul_14x14_evk: Change environment offset to overlap with U-Boot
In reply to Otavio SalvadorWe need to change the environment offset to avoid corrupting the U-Boot binary when saving it.
---
configs/mx6ul_14x14_evk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/mx6ul_14x14_evk_defconfig +1 -1
@@ -5,7 +5,7 @@ CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_ENV_SIZE=0x2000 -CONFIG_ENV_OFFSET=0x80000 +CONFIG_ENV_OFFSET=0xC0000 CONFIG_TARGET_MX6UL_14X14_EVK=y CONFIG_DM_GPIO=y CONFIG_SPL_MMC_SUPPORT=y
Signature · 1 line
2.27.0
PATCH 3/3 mx6ul_14x14_evk: Change environment offset to overlap with U-Boot
Hi Otavio,
Thanks for the fix.
Please change the Subject from:
mx6ul_14x14_evk: Change environment offset to overlap with U-Boot
to
mx6ul_14x14_evk: Change environment offset to avoid overlap with U-Boot
as we want to avoid the overlap :-)
Quoted 5 lines · Otavio Salvador
We need to change the environment offset to avoid corrupting the U-Boot binary when saving it.
Signed-off-by Otavio Salvador <[email protected]>
With the Subject line fixed:
PATCH 1/3 mx6ul_14x14_evk: Enable SPL USB and SDP support
In reply to Otavio SalvadorQuoted 5 lines · Otavio Salvador
This fixes the boot from USB loader, which is critical to easy the manufacture process.
Signed-off-by Otavio Salvador <[email protected]>