[U-Boot] Copying default environment to NVRAM

Wolfgang Denk wd at denx.de
Fri Feb 20 00:08:55 CET 2009


Dear rory,

In message <499DE296.500 at trs80.net> you wrote:
> I can add this operation to my boot command or to my preboot. However, 
> if there is a supported, suggested way to do this, via a #define or 
> compile flag, I would like to know because I would rather do it that way 
> than put in a "hack".

Adding this (probably even as a self-deleting) commnd to preboot is in
no way a hack. It's a perfectly legal use of a well-documented
standard interface.

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
There's an old proverb that says just about whatever you want it to.


More information about the U-Boot mailing list