From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schweigstill Date: Wed, 08 Mar 2006 12:36:52 +0100 Subject: [U-Boot-Users] AT91RM9100 board with uCOS-II. What boot loader to use? In-Reply-To: <3293578.post@talk.nabble.com> References: <3259661.post@talk.nabble.com> <3293578.post@talk.nabble.com> Message-ID: <440EC1D4.7020209@schweigstill.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 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/