00. 目录
文章目录
01. 烧写内核
1.1 在minicom中输入如下命令
DengJin # dnw 40008000
OTG cable Connected!
Now, Waiting for DNW to transmit data
1.2 PC端下载zImage
[root@itcast linux-3.5_analyse]# dnw arch/arm/boot/zImage
load address: 0x57E00000
Writing data...
100% 0x0048FCF2 bytes (4671 K)
speed: 1.175104M/S
[root@itcast linux-3.5_analyse]#
1.3 将内核写到SD卡
DengJin # movi write kernel 0 40008000
writing kernel..device 0 Start 1057, Count 12288
MMC write: dev # 0, block # 1057, count 12288 ... 12288 blocks written: OK
completed
DengJin #
1.4 修改启动参数
DengJin # set bootcmd "movi read kernel 0 40008000;bootm 40008000"
DengJin # save
Saving Environment to SMDK bootable device...
done
DengJin #
02. 设置启动参数
2.1 设置启动参数
# 设置bootargs参数
DengJin # set bootargs root=/dev/nfs nfsroot=172.16.0.53:/qtrootfs ip=172.16.0.251
console=ttySAC0,115200 lcd=S70 ctp=2
DengJin # save
Saving Environment to SMDK bootable device...
done
# 显示环境变量
DengJin # printenv
baudrate=115200
bootargs=root=/dev/nfs nfsroot=172.16.0.53:/qtrootfs ip=172.16.0.251
console=ttySAC0,115200 lcd=S70 ctp=2
bootcmd=movi read kernel 0 40008000;bootm 40008000
bootcmd1=movi read kernel 0 40008000;movi read rootfs 0 41000000 400000;
bootm 40008000 41000000
bootdelay=3
ethaddr=00:40:5c:26:0a:5b
gatewayip=192.168.0.1
ipaddr=192.168.0.20
netmask=255.255.255.0
serverip=192.168.0.10
Environment size: 414/16380 bytes
DengJin #
最小网络文件系统制作请参考附录.
03. 问题讨论
04. 参考
4.1 【Tiny4412】烧写Qt网络文件系统