[U-Boot] Copying default environment to NVRAM

Wolfgang Denk wd at denx.de
Thu Feb 19 23:35:56 CET 2009


Dear rory,

In message <499DBC21.7050505 at trs80.net> you wrote:
> Is there some flag or normal way to get the default environment that is 
> in RAM to get written to NVRAM? I'm currently going to put a routine in 
> our preboot code to do so, but was wondering if there was an officially 
> sanctioned "right" way to do this. I've looked thru code and FAQ's and 
> the best I can find is to run "saveenv" from the CLI, but that's not 
> really a good solution.

Why not? What's wrong with a simple command? I'm not sure what you are
looking for?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
Making files is easy under  the  UNIX  operating  system.  Therefore,
users  tend  to  create  numerous  files  using large amounts of file
space. It has been said that the only standard thing about  all  UNIX
systems  is  the  message-of-the-day  telling users to clean up their
files.                             - System V.2 administrator's guide


More information about the U-Boot mailing list