[U-Boot] changing bootcmd environment

Ratheendran R ratheendran.s at gmail.com
Tue Feb 5 05:54:52 CET 2013


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


More information about the U-Boot mailing list