[U-Boot] where *precisely* is u-boot's environment stored?

Robert P. J. Day rpjday at crashcourse.ca
Wed Jul 6 14:01:30 CEST 2016


On Wed, 6 Jul 2016, Wolfgang Denk wrote:

> Dear Robert,
>
> In message <alpine.LFD.2.20.1607060625500.18179 at localhost.localdomain> you wrote:
> >
> >   not to be overly pedantic (too late!), but is there a preferred
> > expression for the environment stored at CONFIG_ENV_ADDR? is it
> > "permanent environment" or "saved environment" or what?
>
> I tend to call it the "persistent copy" of the environment (resp.
> copies in case of redundant environment), in contrast to the in
> memory copy of it.  Upon start, the memory copy gets initialized
> from the persistent one, unless this turns out to be corrupt (or
> uninitialized, the effect is the same), in which case the builtin
> default environment is used to initialize the in memory copy.

  is there a way to tell whether you're getting the current
environment from the persistent copy or from the default environment?
i'm not sure i have a pressing need for that, i'm just curious.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the U-Boot mailing list