On 25 Mar 2008 at 17:00, Markus Klotzbücher wrote:

> 
> [EMAIL PROTECTED] writes:
> 
> > I just had the problem of fw_{print,save}env not being able to access
> > the environment because I was using the default (builtin) environment
> > after flashing U-Boot.
[...]> 
> 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.

This seems to be the cleanest solution to me - and the easiest, too,
because no patching of U-Boot is required.
I just did not think about the possibilty to un-set the environment
variable when this initialization is run to make it a one-shot run... 8)

> Best regards
> 
> Markus Klotzbuecher

Thank you and best regards,
Wolfgang


-------------------------------------------------------------------------
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

Reply via email to