本文主要是介绍uboot bootargs bootcmd nfs nand,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
调试使用tftp和nfs方式,以下是配置参数
bootdelay=3
baudrate=115200
ethaddr=00:40:5c:26:0a:5b
lcdtype=X800Y480
mtdids=nand0=s5pv210-nand
mtdparts=mtdparts=s5pv210-nand:1m@0(bios),1m(params),3m(logo),5m(kernel),-(root)
filesize=B69EC0
fileaddr=50008000
netmask=255.255.255.0
ipaddr=192.168.1.6
serverip=192.168.1.8
bootcmd=tftp 50008000 zImage; bootm 50008000
bootargs=noinitrd root=/dev/nfs console=ttySAC0,115200 init=/linuxrc nfsroot=192.168.1.8:/opt/rootfs ip=192.168.1.6:192.168.1.8:192.168.1.1:255.255.255.0::eth0:on
stdin=serial
stdout=serial
stderr=serial
partition=nand0,0
mtddevnum=0
mtddevname=bios
gatewayip=192.168.1.0
Environment size: 591/16380 bytes
烧写采用nand方式,以下是参数配置
bootcmd=nand read.jffs2 0xc0008000 kernel;bootm 0xc0008000
bootdelay=3
baudrate=115200
ethaddr=00:40:5c:26:0a:5b
lcdtype=X800Y480
mtdids=nand0=s5pv210-nand
mtdparts=mtdparts=s5pv210-nand:1m@0(bios),1m(params),3m(logo),5m(kernel),-(root)
filesize=6FA38C0
fileaddr=40008000
gatewayip=192.168.1.2
netmask=255.255.255.0
ipaddr=192.168.1.6
serverip=192.168.1.8
bootargs=noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 init=/init console=ttySAC0
stdin=serial
stdout=serial
stderr=serial
partition=nand0,0
mtddevnum=0
mtddevname=bios
Environment size: 526/16380 bytes
这篇关于uboot bootargs bootcmd nfs nand的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!