
Hi Marek,
On Wed, Apr 20, 2022 at 6:42 PM Marek Vasut marex@denx.de wrote:
I suspect this happens because
arch/arm/mach-imx/imx8m/soc.c env_get_location()
contains " ... default: return ENVL_NOWHERE; "
right ?
I wonder what would happen if you were to add:
case USB_BOOT: return ENVL_UNKNOWN;
Maybe that would even work without CONFIG_ENV_IS_NOWHERE=y ?
Unfortunately, with this change the boot via SDP does not complete:
U-Boot SPL 2022.04-00857-g0f0a48bd2df4-dirty (Apr 20 2022 - 18:57:00 -0300) SEC0: RNG instantiated Normal Boot WDT: Started watchdog@30280000 with servicing (60s timeout) Trying to boot from BOOTROM Find img info 0x&48020a00, size 872 Need continue download 1024 Download 762080, Total size 763616 NOTICE: BL31: v2.2(release):rel_imx_5.4.47_2.2.0-0-gc949a888e909 NOTICE: BL31: Built : 16:07:45, Apr 20 2022 (it hangs here)