[U-Boot] changing bootcmd environment

Ramesh K Khokhani ramesh.khokhani at igate.com
Tue Feb 5 08:11:36 CET 2013


Hi Ratheendran,

Can you tell us how much u-boot can store? Every time truncated at same location?

Send me stored string .

Regards,
Ramesh

-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Ratheendran R
Sent: Tuesday, February 05, 2013 10:25 AM
To: u-boot at lists.denx.de
Subject: [U-Boot] changing bootcmd environment

Dear All,

I am using u-boot given by our Samsung based s3c2416 board vendor which
support SD CARD based boot,I am trying to change the boot command variable
adding few more steps to it from the serial console. The problem  is I am
not able to add all the steps to the bootcmd variable into the
environment,it is truncated midway.so can any one share your valuable
experience in fixing this issue.

I am trying the below command..

setenv bootcmd "sleep 1;nand scrub ;sleep 1;nand erase;sleep 1;movi read
3800000# 40000 c0000000 ;sleep 1;nand write c0000000 0 40000;sleep 1;movi
read kernel c0000000;sleep 1;nand write c0000000 40000 200000;sleep 1;movi
read 3600000# 3800000 c0000000 ;sleep 1; nand write.yaffs c0000000 400000
35db4c0; sleep1; movi read 3600000# 3800000 c0000000; nand write.yaffs
c0000000 6000000 35db4c0"

Thanks in Advance,
Ratheendran

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and proprietary to iGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailadmin at igate.com <mailto:mailadmin at igate.com>. iGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of iGATE. iGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While iGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about iGATE please visit www.igate.com <http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the U-Boot mailing list