1.window下使用TFTP下载烧录
烧录内核kernel:
tftp 30000000 uImage
nand erase kernel
nand write.jffs2 30000000 kernel
烧录文件系统fs:
tftp 30000000 fs_qtopia.yaffs2
nand erase root
mtdpart //查询分区地址
nand write.yaffs 30000000 260000 2f76b40 //260000为root分区的所在地址offset,2f76b40为size烧录大小
2.window下使用NFS下载烧录
烧录内核kernel:
cat /etc/exports //读取目录下的内容
cp arch/arm/boot/uImage /work/nfs_root //复制uImage到/work/nfs_root目录下
nfs 30000000 192.168.31.202:/work/nfs_root/uImage //192.168.31.202为PC的IP
nand erase kernel
nand write.jffs2 30000000 kernel
烧录文件系统fs:
cat /etc/exports //读取目录下的内容
cp arch/arm/boot/fs_qtopia.yaffs2 /work/nfs_root //复制fs_qtopia.yaffs2到/work/nfs_root目录下
nfs 30000000 192.168.31.202:/work/nfs_root/fs_qtopia.yaffs2 //192.168.31.202为PC的IP
nand erase root
mtdpart //查询分区地址
nand write.yaffs 30000000 260000 2f76b40 //260000为root分区的所在地址offset,2f76b40为size烧录大小