Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2628496
  • 博文数量: 333
  • 博客积分: 4817
  • 博客等级: 上校
  • 技术积分: 4413
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-28 10:51
文章分类

全部博文(333)

文章存档

2017年(20)

2016年(57)

2015年(27)

2014年(20)

2013年(21)

2012年(164)

2011年(24)

分类: LINUX

2012-05-30 17:02:27

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) |
给主人留下些什么吧!~~