
21 Apr
2022
21 Apr
'22
4:17 p.m.
Hi Marek,
On Wed, Apr 20, 2022 at 7:15 PM Marek Vasut marex@denx.de wrote:
Did you actually hit the USB_BOOT case or did you fall into the default: case ?
It does hit the USB_BOOT case.
I also tested forcing to return ENVL_UNKNOWN:
--- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -1531,6 +1531,7 @@ void do_error(struct pt_regs *pt_regs) enum env_location env_get_location(enum env_operation op, int prio) { enum boot_device dev = get_boot_device(); + return ENVL_UNKNOWN;
if (prio) return ENVL_UNKNOWN;
but still, the boot does not complete.