summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-02-20 18:25:45 -0800
committerStefano Babic <sbabic@denx.de>2021-03-01 10:21:36 +0100
commitaacf04fb43408de30efb931eeadb1f76ec0ede0a (patch)
treee09bb8249594da07f738d7ddb4d6f5535be5cf07 /configs
parent0ba116a3191aaa3fa74b18815c43f47bb9ef227c (diff)
mx6sabre: Fix boot failure
CONFIG_SPL_LEGACY_IMAGE_SUPPORT is necessary for mx6sabresd and mx6sabreauto, because u-boot is packed as legacy image not FIT. However, this config is not set when CONFIG_SPL_LOAD_FIT is enabled. Must enable it explicitly, otherwise will fail to boot like below. U-Boot SPL 2021.04-rc2 (Feb 20 2021 - 16:43:04 -0800) Trying to boot from MMC1 mmc_load_image_raw_sector: mmc block read error SPL: failed to boot from all boot devices Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/mx6sabreauto_defconfig1
-rw-r--r--configs/mx6sabresd_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig
index 4faf49ef05..9ed4064ffc 100644
--- a/configs/mx6sabreauto_defconfig
+++ b/configs/mx6sabreauto_defconfig
@@ -20,6 +20,7 @@ CONFIG_NXP_BOARD_REVISION=y
CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabreauto"
CONFIG_FIT=y
CONFIG_SPL_FIT_PRINT=y
+CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y
CONFIG_SPL_LOAD_FIT=y
# CONFIG_USE_SPL_FIT_GENERATOR is not set
CONFIG_SUPPORT_RAW_INITRD=y
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 0016fbac20..dd9ac93347 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -20,6 +20,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd"
CONFIG_FIT=y
CONFIG_SPL_FIT_PRINT=y
CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y
# CONFIG_USE_SPL_FIT_GENERATOR is not set
CONFIG_SUPPORT_RAW_INITRD=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"