2008-04-30 10:43:55     saveenv command usage

Document created by Aaronwu Employee on Sep 17, 2013
Version 1Show Document
  • View in full screen mode

2008-04-30 10:43:55     saveenv command usage

Appalayagari Sreedhar (INDIA)

Message: 55292   




My custom board has smsc9215 ethernet chip.


I have compiled smsc driver in u-boot and was able to succesfully bring the u-boot up.


once i get the ezkit prompt.


i am doing below sequence.


set serverip


set ipaddr


set ethaddr 00:11:22:33:44:55


after that is it necessary to


call saveenv command in the ezkit prompt?


if it is not called, will it cause any problem?


only thing i have observed is if i reboot the system, the configured values of serverip, board ip and ethaddr are lost.


Best Regards,Sreedhar






2008-04-30 10:54:05     Re: saveenv command usage

Michiel Verschueren (BELGIUM)

Message: 55297    see http://www.denx.de/wiki/view/DULG/UBootCmdGroupEnvironment#Section_5.9.6.2.:


All changes you make to the U-Boot environment are made in RAM only. They are lost as soon as you reboot the system. If you want to make your changes permanent you have to use the <code>saveenv</code> command to write a copy of the environment settings to persistent storage, from where they are automatically loaded during startup: