
1. I verified flash contents using the md.w command in u-boot 2. I've already verified correct flash r/w operation using the cp.w command 3. Yes, the CONFIG_ENV_OVERWRITE flag is defined in my boardfile 4. Flinfo shows the correct flash configuration (sectors, etc) of the flash
I can see the new env variable (e.g. set serverip 10.0.0.1) at the end of the saveenv area in flash (after I do a saveenv). (the original entry is removed from the list in flash, and the new updated entry is added to the end of the list in flash).
Still, when I reboot u-boot, I don't get the new environment variable updated from flash.
What am I missing?
Thanks.
Suresh
-----Original Message----- From: Andrejs Cainikovs [mailto:andrejsc@globalautomationsystems.com] Sent: Sunday, October 05, 2008 8:55 AM To: Suresh Bhaskaran Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] U-boot Saveenv question
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:
- I upgraded from u-boot 1.1.3 (2005) to u-boot 1.3.4 (2008)
- I've put in the board/target-specific files incorporated, and have
it working.
- 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...)
- 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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot