[U-Boot] Composing multiple envs

Wolfgang Denk wd at denx.de
Sun Mar 25 10:50:26 UTC 2018


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?  Why can't you just "env import"
these additional fragments as part of your hard coded startup
sequence?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If that makes any sense to you, you have a big problem."
                                  -- C. Durance, Computer Science 234


More information about the U-Boot mailing list