首页 > 其他 > 详细

yaffs2文件系统

时间:2015-09-20 19:11:12      阅读:251      评论:0      收藏:0      [点我收藏+]

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;

yaffs2文件系统

原文:http://www.cnblogs.com/embedded-linux/p/4823897.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!