[U-Boot] change autoboot

Wolfgang Denk wd at denx.de
Wed Feb 25 08:29:42 CET 2009


Dear bundy,

In message <22195894.post at 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


More information about the U-Boot mailing list