您的位置:首页 > 编程语言 > PHP开发

yaffs2文件系统

2015-09-20 18:28 681 查看
yaffs2文件系统是针对nandflash的文件系统。
其制作工具为mkyaffs2image.
1.
mkyaffs2image编译完成后,复制到/usr/bin下即可。

验证是否成功可直接在终端下输入:
mkyaffs2image
输出:
mkyaffs2image: image building tool for YAFFS2 built Jul 9 2009
usage: mkyaffs2image dir image_file [convert]
dir the directory tree to be converted
image_file the output file to hold the image
'convert' produce a big-endian image from a little-endian machine
注意核对convert的大小端。

2.
mkyaffs2image dir image_file

通过uboot的nand write.yaffs命令烧写yaffs2到nand中。
nand erase;
tftp 20008000 app_install.yaffs2;nand write.yaffs 20008000 0 253080;
tftp 20008000 rmu.yaffs2;nand write.yaffs 20008000 4600000 307800;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: