打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
NFS方式烧写系统
一、烧写厂家提供系统
1、烧写u-boot
nfs 30000000 192.168.183.128:/home/share/jz2440/source/supply/u-boot.bin
nand erase.part u-boot
nand write 30000000 u-boot

2、烧写uImage(使用的是u-boot-1.6.2)
nfs 30000000 192.168.183.128:/home/share/jz2440/source/supply/uImage
nand erase kernel
nand write 30000000 kernel

3、烧写yaffs2文件系统
nfs 30000000 192.168.183.128:/home/share/jz2440/source/supply/fs_mini_mdev.yaffs2
nand erase rootfs
nand write.yaffs 30000000 260000 $(filesize)

4、设置启动参数
set bootargs console=ttySAC0,115200 root=/dev/mtdblock3
boot
ifconfig eth0 192.168.183.127 up
mount -t nfs -o nolock,vers=2 192.168.183.128:/home/share/jz2440/source /mnt
成功

5、以nfs启动
首先将fs_mini_mdev/etc/init.d/rcS里的ip地址改成:192.168.183.127
set bootargs noinitrd console=ttySAC0,115200 root=/dev/nfs nfsroot=192.168.183.128:/home/share/jz2440/source/supply/fs_mini_mdev ip=192.168.183.127:192.168.183.128:192.168.183.225:225.225.225.0::eth0:off init=/linuxrc

boot
成功,如果不成功的话,插拔网线,多试几次!!!

二、烧写自己制作的系统
1、烧写u-boot
nfs 30000000 192.168.183.128:/home/share/jz2440/source/my/u-boot.bin
nand erase.part u-boot
nand write 30000000 u-boot

2、烧写uImage
nfs 30000000 192.168.183.128:/home/share/jz2440/source/my/uImage
nand erase.part kernel
nand write 30000000 kernel

3、烧写yaffs2文件系统
nfs 30000000 192.168.183.128:/home/share/jz2440/source/my/fs_mini_mdev_new.yaffs2
nand erase.part rootfs
nand write.yaffs 30000000 260000 $filesize

4、设置启动参数
set bootargs console=ttySAC0,115200 root=/dev/mtdblock3
boot
mount -t nfs -o nolock,vers=2 192.168.183.128:/home/share/jz2440/source /mnt
成功

5、以nfs启动
首先将fs_mini_mdev/etc/init.d/rcS里的ip地址改成:192.168.183.127
set bootargs console=ttySAC0,115200 root=/dev/nfs nfsroot=192.168.183.128:/home/share/jz2440/source/my/fs_mini_mdev_new ip=192.168.183.127:192.168.183.128:192.168.183.225:225.225.225.0::eth0:off init=/linuxrc
boot
成功!

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
一、u-boot基本常用命令
S3C2440移植uboot之支持烧写yaffs映像及制作补丁
U-Boot参数设置
u-boot2010 添加下载菜单
fastboot 介绍
U-boot中常用参数设定及常用宏的解释和说明
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服