Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1229503
  • 博文数量: 479
  • 博客积分: 12240
  • 博客等级: 上将
  • 技术积分: 4999
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-24 17:12
文章分类

全部博文(479)

文章存档

2014年(1)

2013年(1)

2012年(1)

2011年(95)

2010年(177)

2009年(167)

2008年(16)

2007年(21)

分类: LINUX

2009-10-14 21:04:08

YAFFS2 rootfs



PXA270的正常情况:

yaffs: dev is 32505857 name is "mtdblock1"
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
block 294 is bad2
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 136K
INIT: version 2.85 booting
Mounting 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 0
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 132K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

后来进入NFS将mtdblock1 mount来看,发现其中的内容是空的,应该是使用nandwrite没有写进去。
直接使用解压的方式写入后,可以正常启动了。
看来的找nandwrite的问题。
阅读(1198) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~