[U-Boot] No environment driver for location 14

Paweł Jarosz paweljarosz3691 at gmail.com
Thu Aug 17 18:48:42 UTC 2017


Simon,


I had CONFIG_ENV_IS_NOWHERE set in wrong place (rk3066_common.h)

Moving this config to board defconfig resolves the issue.

Sorry for the confusion and thanks for the reply.


Regards

Paweł


W dniu 17.08.2017 o 19:46, Simon Glass pisze:
> Hi Pawel,
>
> On 17 August 2017 at 11:22, Paweł Jarosz <paweljarosz3691 at gmail.com> wrote:
>> Hi,
>>
>>
>> i'm getting a error with last env patches (u-boot-rockchip repo).
>>
>> U-boot booting halts on env_init() with message:
>>
>>
>> env_driver_lookup_default: No environment driver for location 14
>>
>> ...
>>
>> env_driver_lookup_default: No environment driver for location 14
>> initcall sequence 60445dc8 failed at call 60430915 (err=-19)
>> ### ERROR ### Please RESET the board ###
>>
>>
>> 60445dc8 -> init_sequence_f()
>>
>> 60430915 -> env_init()
>>
>>
>> I have narrowed down the problem to env_get_default_location returning 14
>> (ENVL_UNKNOWN)
>>
>> I have enabled CONFIG_ENV_IS_NOWHERE so it should return ENVL_NOWHERE.
>>
>>
>> Any ideas where to go from here?
> Which board is this please? Is this happening in SPL or U-Boot proper?
>
> Can you debug why env_get_default_location() is not returning ENVL_NOWHERE?
>
>>
>> Regards
>>
>> Paweł
>>
> Regards,
> Simon



More information about the U-Boot mailing list