最近在板上mount jffs2时老是出错,困扰了好像。主要是提示如下错误:
Child dir "upf" (ino #26) of dir ino #3 appears to be a hard link
Child dir "param" (ino #21) of dir ino #3 appears to be a hard link
.........................
Child dir "app" (ino #62) of dir ino #6 appears to be a hard link
一堆的这样问题。搞的头大。
想不出为什么!!
没办法G之。偶然找到一个blog说是flash没有擦除。fuck。 earse 之,再tftp下载,果然正常。
该文主要内容如下:
1.判断是不是jffs2文件。用UE打开,在前面应该是0x85,0x19 ,如果不是,则是大小端的问题。请在mkfs.jffs2命令上加入-l或者-b
2.如果出现以下错误,则是文件系统被覆盖了。
3.出现以下错误。是因为flash不够干静。erase 之
Child dir "upf" (ino #26) of dir ino #3 appears to be a hard link
Child dir "param" (ino #21) of dir ino #3 appears to be a hard link
4.出现以下错误。是Flash空间不够
jffs2_read_dnode() asked for 4096 bytes at 114688 from 3241-byte node
jffs2_read_dnode() asked for 4096 bytes at 118784 from 3241-byte node
顺便带上jffs2的命令格式:
/mkfs.jffs2 -d ./jffs2 -l -e 0x20000 -o jffs2.img
原文地地址:http://blog.csdn.net/plaris060504/article/details/6031576