[U-Boot] Copying default environment to NVRAM

rory rory at trs80.net
Thu Feb 19 23:44:47 CET 2009


It needs to happen automagically, w/o typing anything. I was wondering 
(I couldn't find anything) if there was some flag that I could set to 
make it happen, rather than modify my boot process to automagically do 
it for me.


Wolfgang Denk wrote:
> 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
>
>   



More information about the U-Boot mailing list