[U-Boot-Users] AT91RM9100 board with uCOS-II. What boot loader to use?

Andreas Schweigstill andreas at schweigstill.de
Wed Mar 8 12:36:52 CET 2006


Dear shuwn yuan!

shuwn yuan schrieb:
> But I try to change the "bootcmp" in U-boot prompt, using this cmd:
> 
> Uboot> setenv bootcmd cp 10020000 20008000 f818;go 20008000
> 
> But this seems not work. I can't set it successfully. It directly jump to
> RAM location 0x20008000 after this & I can't save the "bootcmd".
> I expect it to be still in U-boot prompt after I type the above, & then I
> should type:
> 
> U-boot> saveenv 
> 
> to save the "bootcmd" variable. 
> 
> How to set the "bootcmd" in U-boot? How to put more than 1 action in
> "bootcmd" (eg: cp .....; go.....)? Does it not allow to type ";" ? What
> punctuation mark should I use?

You have to use a backslash as escape character, so the line becomes
setenv bootcmd cp 10020000 20008000 f818\;go 20008000

> Is changing the "bootcmd" enough if change to uCOS-II? Or I need to modify
> U-boot source code, recompile, & reprogram the u-boot.gz into parallel
> flash? Any reference link online suggested?

You probably want to set the default environment to boot uCOS-II, so you
have to change some settings in your board configuration file in
include/configs .

With best regards
Andreas Schweigstill
-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/




More information about the U-Boot mailing list