[U-Boot] Composing multiple envs
Alex Kiernan
alex.kiernan at gmail.com
Sun Mar 25 14:12:43 UTC 2018
On Sun, Mar 25, 2018 at 11:50 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Alex,
>
> In message <CAO5Uq5Tvbc_YumNXrFC8YHkRiADzEzKjr4bYb_Q=UsVST1CWEQ at mail.gmail.com> you wrote:
>> I'm trying to set up a configuration where I've largely got a hardcoded
>> environment (ENV_IS_NOWHERE) with a very small list of variables that come
>> from a loadable environment (ENV_IS_IN_FAT for my use case) - things like
>> serial# and regulatory region. Even then I want them largely set once in
>> the factory and not really written again.
>>
>> I could've sworn I'd seen patches that implemented this kind of thing
>> around the time of the environment rework, but I'm failing to find them
>> either merged or pending.
>
> Why do you need code to do that?
I don't... just thinking about it the wrong way!
> Why can't you just "env import"
> these additional fragments as part of your hard coded startup
> sequence?
>
Other than wanting to filter the variables that can come in that way,
it does everything I need. In fact with sufficient care I probably
don't even need to filter it.
Thanks for the pointer!
--
Alex Kiernan
More information about the U-Boot
mailing list