Open belzerus opened 5 days ago
Found a workaround forward for this. Seems like SDP boot (uuu) isn't really supported for this type of configuration on imx8 boards. So u-boot hanging if we get to the default case and NOWHERE is not set. So doing a hack like below will make it work for me..
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index 1b891ff2b8..3d18506830 100644
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
@@ -2012,6 +2012,7 @@ enum env_location arch_env_get_location(enum env_operation op, int prio)
case MMC1_BOOT:
case MMC2_BOOT:
case MMC3_BOOT:
+ case USB_BOOT:
if (IS_ENABLED(CONFIG_ENV_IS_IN_MMC))
return ENVL_MMC;
else if (IS_ENABLED(CONFIG_ENV_IS_IN_EXT4))
CompuLab decided to use NOWHERE for SDP. Ran into the same issue ~ years ago. It is up to you. whether to use EMMC for environment at SDP boot.
I'm trying to configure u-boot to use env in emmc and boot through uuu on the ucm-imx8m-plus devkit. However it seems like the board get stuck before displaying the u-boot promt after SPL + firmware loading as far as I try to disable
CONFIG_ENV_IS_NOWHERE
.I'm using the
u-boot-compulab_v2023.04
branch plus below changes in the defconfig:That seems to lead to below when loading it through uuu (
SDPS: boot -f flash.bin
)Any ideas if I'm missing something or if this is a real issue?