[PATCH] arm: imx: imx9: scmi: Fix booting from USB

João Paulo Gonçalves jpaulo.silvagoncalves at gmail.com
Thu Jul 24 13:28:22 CEST 2025


Hi Peng,

> If boot from USB, this means env_loc will be override here.
> 
> NXP boards always use RAM env when booting from USB.
In that case, this seems like an ARCH configuration and the ARCH should
imply the necessary kconfig. Currently, every i.MX9 board needs to
enable CONFIG_ENV_IS_NOWHERE or the boot hangs when booting from USB.

> If your boards has different settings, I think we may need to
> introduce board_env_get_location. Or add some device tree
> properties to specify the env settings.
> 
> Thanks,
> Peng

Best Regards,
João Paulo Gonçalves


More information about the U-Boot mailing list