[U-Boot] when does default env get written to flash on a new system?

Robert P. J. Day rpjday at crashcourse.ca
Thu Sep 1 14:43:03 CEST 2016


  i'm sure i'll figure this out if i keep reading the code, but if i
have a new board where the env will be stored in flash, and i flash a
fresh build of u-boot with a default environment, at what point will
that default environment be written to persistent storage (as defined
by CONFIG_ENV_ADDR)?

  is this done automatically at some point when u-boot runs for the
first time? or does it require me to, at some point, do an "env save"?
thanks.

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