[U-Boot-Users] ignoring bootdelay
Peter Poulsen
peter at pgpnet.dk
Fri Nov 16 11:18:04 CET 2007
I'm trying to get my board to boot within 5 seconds. Unfortunately uboot seems to be
ignoring bootdelay, and simply sits there and wait for me to type run jffs2boot.
Here are my env variables. What am I missing? Thanks in advance.
=> print
ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate
$othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr
$fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath
ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off
console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr
$fdtfile;bootm $loadaddr - $fdtaddr
baudrate=115200
loads_echo=1
ethaddr=00:e0:5e:00:e5:14
ipaddr=192.168.160.77
serverip=192.168.1.1
preboot=echo;echo Type "run nfsboot" to mount root filesystem over NFS;echo
rootpath=/tftpboot/rootfs
gatewayip=192.168.1.1
netmask=255.255.0.0
hostname=mpc5121ads
bootfile=uImage
loadaddr=1000000
netdev=eth0
consoledev=ttyPSC0
hostname=mpc5121ads
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $bootargs
ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off panic=1
addtty=setenv bootargs $bootargs console=$consoledev,$baudrate
flash_self=run ramargs addip addtty;bootm $kernel_addr $ramdiskaddr $fdtaddr
load=tftp 100000 /tftpboot/ads5121/u-boot.bin
update=protect off fff00000 fff3ffff; era fff00000 fff3ffff; cp.b 100000 fff00000
$filesize
upd=run load;run update
ramdiskaddr=2000000
ramdiskfile=rootfs.ext2.gz.uboot
fdtaddr=3000000
fdtfile=mpc5121ads.dtb
ethact=FEC ETHERNET
fdtflashaddr=ffec0000
kernelflashaddr=0xffc40000
jffs2boot=setenv bootargs console=$consoledev,$baudrate root=/dev/mtdblock1 rw
rootfstype=jffs2 $otherbootargs; bootm $kernelflashaddr - $fdtflashaddr
bootcmd=run jffs2boot
bootdelay=5
stdin=serial
stdout=serial
stderr=serial
More information about the U-Boot
mailing list