[U-Boot] U-boot Saveenv question

Andrejs Cainikovs andrejsc at globalautomationsystems.com
Sun Oct 5 17:55:12 CEST 2008


How did you verified that your environment get saved?
What is the result of running the 'flinfo'?
Is CONFIG_ENV_OVERWRITE defined in your board file?

Kind regards,
Andrejs Cainikovs.

Suresh Bhaskaran wrote:
> Hello,
>
> I have a question relating to doing saveenv from the u-boot command line
> (after hitting key to stop autoboot), and having u-boot come up during
> the next reboot with the saved environment.
>
> First of all, I apologize in advance if this question is out of place in
> this mailing list.  
>
> This mailing list seems to be for u-boot patch upgrades, rather than for
> general questions?
>
> Anyway, it's the best list on u-boot I was able to find:
>
> 1.  I upgraded from u-boot 1.1.3 (2005) to u-boot 1.3.4 (2008)
> 2.  I've put in the board/target-specific files incorporated, and have
> it working.
>
> 3.  However, when I do a saveenv (e.g. after "set serverip 10.0.0.1"),
> and I do a reboot, the new environment variable doesn't show up.  
> 	a.  (I've verified that it actually gets written to flash...)
>
> 4.  Is there something I else I need to do to "turn on" re-booting from
> saved environment?
>
> Thanks in advance.
>
> Suresh Bhaskaran
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>   


More information about the U-Boot mailing list