Chinaunix

标题: YAFFS2 rootfs [打印本页]

作者: chenxibing008    时间: 2009-10-14 21:04
标题: YAFFS2 rootfs
YAFFS2 rootfs
PXA270的正常情况:yaffs: dev is 32505857 name is "mtdblock1"yaffs: Attempting MTD mount on 31.1, "mtdblock1"block 294 is bad2VFS: Mounted root (yaffs2 filesystem).Freeing init memory: 136KINIT: version 2.85 bootingMounting a tmpfs over /dev...done.
2440上的非正常情况:yaffs: dev is 32505857 name is "mtdblock1"yaffs: passed flags ""yaffs: Attempting MTD mount on 31.1, "mtdblock1"yaffs_read_super: isCheckpointed 0VFS: Mounted root (yaffs2 filesystem).Freeing init memory: 132KWarning: unable to open an initial console.Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
后来进入NFS将mtdblock1 mount来看,发现其中的内容是空的,应该是使用nandwrite没有写进去。直接使用解压的方式写入后,可以正常启动了。看来的找nandwrite的问题。
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51797/showart_2070522.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2