From mboxrd@z Thu Jan 1 00:00:00 1970 From: bundy Date: Wed, 25 Feb 2009 10:52:58 -0800 (PST) Subject: [U-Boot] change autoboot In-Reply-To: <20090225072942.23DFC832E88B@gemini.denx.de> References: <22195894.post@talk.nabble.com> <20090225072942.23DFC832E88B@gemini.denx.de> Message-ID: <22209226.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk Sorry I was unclear in my question, its not that saveenv doesn't work as it does, it was that I was hoping to do it through the build system/configuration file. Bundy wd wrote: > > Dear bundy, > > In message <22195894.post@talk.nabble.com> you wrote: >> >> uboot is currently configured to autoboot with "run boot_nor". In the >> configuration I found a variable called BOOTCOMMAND which is set to "run >> boot_nor". Which I now want to set it to "run prog_all_usb; run boot_nor" >> I then recompile everything transfer u-boot to my device and on initial >> startup it works but if I turn my device off and back on it and interrupt >> autoboot and type "printenv". The bootcmd is set back to just "run >> boot_nor" >> - what am i missing?????????????? > > If you had bothered to read the manual you should have known that > rebuilding U-Boot is not necessary for such a simple change - a simple > "setenv" followed by a "saveenv" would have been all you needed. > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > "It is easier to port a shell than a shell script." - Larry Wall > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > > -- View this message in context: http://www.nabble.com/change-autoboot-tp22195894p22209226.html Sent from the Uboot - Users mailing list archive at Nabble.com.