From: Wolfgang Denk Date: Wed, 25 Feb 2009 08:29:42 +0100 Subject: [U-Boot] change autoboot In-Reply-To: <22195894.post@talk.nabble.com> References: <22195894.post@talk.nabble.com> Message-ID: <20090225072942.23DFC832E88B@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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