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

Marek Vasut marex at denx.de
Thu Apr 21 00:15:50 CEST 2022


On 4/21/22 00:03, Fabio Estevam wrote:
> Hi Marek,

Hi,

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

Did you actually hit the USB_BOOT case or did you fall into the default: 
case ?


More information about the U-Boot mailing list