In message <[EMAIL PROTECTED]> you wrote: > > AFAIK there is currently no way to check this from the U-Boot > shell. Nevertheless I think that would be the way to go instead of > hard-coding this. How about setting an environment variable like > "env_default" if the default environment is used? That way scripts can > be used to run saveenv but could also do more complex initialization.
There are certain things I recommend never to do automatically. Erasing and overwriting vital parts of the flash belong to these. Don't do it. Leave the decision when and how often to do that to something that claims to have a brain. 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: [EMAIL PROTECTED] Vulcans believe peace should not depend on force. -- Amanda, "Journey to Babel", stardate 3842.3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users