From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrejs Cainikovs Date: Sun, 05 Oct 2008 18:55:12 +0300 Subject: [U-Boot] U-boot Saveenv question In-Reply-To: References: <48DD0C2D.50604@bnl.gov> <48DD144D.4040302@ovro.caltech.edu><48DD16CB.2000904@bnl.gov> <48DD1DD8.3040206@ge.com><48DD2207.3050502@bnl.gov> <48DD2475.1050304@ge.com> <48DD2ADB.2080100@bnl.gov> Message-ID: <48E8E360.6020002@globalautomationsystems.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >