[PATCH 2/2] imx8mn/8mp: Select ENV_IS_NOWHERE

Fabio Estevam festevam at gmail.com
Thu Apr 21 16:17:04 CEST 2022


Hi Marek,

On Wed, Apr 20, 2022 at 7:15 PM Marek Vasut <marex at 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.


More information about the U-Boot mailing list