erase 2 10 1
load term raw 0x83fc0000
nsave
aboot flash raw 0x83fc0000set
setenv bootargs "root=/dev/nfs rw console=ttyS0,115200 nfsroot=192.168.7.110:/nfs_rootfs ip=192.168.7.236:192.168.7.110:192.168.7.1:255.255.255.0:yuntong:eth0:off"
setenv bootcmd "tftp 0x80008000 uImage\; bootm 0x81000000
从nand flash启动时的环境变量:
bootargs=root=/dev/mtdblock4 console=ttyS0,115200 mem=64M rootfstype=yaffs2
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:00:01
bootfile=uImage
upkernel=tftp 80008000 uImage;nand erase clean 0x00200000 $(filesize);nand write
.jffs2 0x80008000 0x00200000 $(filesize);setenv kernelsize $(filesize); saveenv
upsafefs=tftp 80008000 safefs.cramfs;nand erase clean 0x00600000 $(filesize);nan
d write.jffs2 0x80008000 0x00600000 $(filesize)
yboot=nand read.jffs2 0x81000000 0x00200000 $(filesize);bootm 81000000
safemode=setenv bootargs root=/dev/mtdblock3 console=ttyS0,115200 mem=64M rootfs
type=cramfs; run yboot
zhiyuan=run upsafefs; run upkernel
gatewayip=192.168.7.1
ipaddr=192.168.7.236
kernelsize=1A44C4
filesize=1A44C4
fileaddr=80008000
gatewayip=192.168.7.1
netmask=255.255.255.0
ipaddr=192.168.7.236
serverip=192.168.7.110
bootcmd=run yboot
stdin=serial
stdout=serial
stderr=serial
Environment size: 885/262140 bytes
U-Boot$
从nfs启动时的环境变量:
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:00:01
bootfile=uImage
upkernel=tftp 80008000 uImage;nand erase clean 0x00200000 $(filesize);nand write
.jffs2 0x80008000 0x00200000 $(filesize);setenv kernelsize $(filesize); saveenv
upsafefs=tftp 80008000 safefs.cramfs;nand erase clean 0x00600000 $(filesize);nan
d write.jffs2 0x80008000 0x00600000 $(filesize)
yboot=nand read.jffs2 0x81000000 0x00200000 $(filesize);bootm 81000000
safemode=setenv bootargs root=/dev/mtdblock3 console=ttyS0,115200 mem=64M rootfs
type=cramfs; run yboot
zhiyuan=run upsafefs; run upkernel
kernelsize=1A44C4
gatewayip=192.168.7.1
ipaddr=192.168.7.236
filesize=197748
fileaddr=83000000
gatewayip=192.168.7.1
netmask=255.255.255.0
ipaddr=192.168.7.236
serverip=192.168.7.110
bootargs=root=/dev/nfs rw console=ttyS0,115200 nfsroot=192.168.7.110:/nfs_rootfs
ip=192.168.7.236:192.168.7.1:192.168.7.1:255.255.255.0:epc.zlgmcu.com:eth0:off
bootcmd=tftp 81000000 uImage; bootm 81000000
stdin=serial
stdout=serial
stderr=serial
Environment size: 996/262140 bytes
U-Boot$
阅读(2448) | 评论(0) | 转发(0) |