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

Francesco Dolcini francesco at dolcini.it
Mon Jul 28 12:29:23 CEST 2025


Hello Fabio,

On Thu, Jul 24, 2025 at 08:28:22AM -0300, João Paulo Gonçalves wrote:
> > 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.

You worked on a similar topic, for imx8m, some time ago, commit
d175982c207b ("imx8mn/8mp: Allow booting via USB"). What's your opinion
here? How should we fix this?

Francesco




More information about the U-Boot mailing list