主题 : yaffs文件系统无法启动 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2791
精华: 0
发帖: 15
金钱: 150 两
威望: 132 点
综合积分: 30 分
注册时间: 2008-12-09
最后登录: 2010-02-27
楼主  发表于: 2009-06-26 18:18

 yaffs文件系统无法启动

我对yaffs文件系统的启动过程不大了解,希望各位朋友能给讲解一下,尤其是编译完内核制作镜像的部分。

我使用的是友善下载的linux2.6.29,
我先是用nfs启动,然后挂载/dev/mtdblock2 到/mnt
然后将nfs上的所有文件考至/mnt
然后umount
重新起动并使用root=/dev/mtdblock2

显示如下信息,请问是怎么回事呀?
lib80211: common routines for IEEE802.11 drivers                                                                    
s3c2410-rtc s3c2410-rtc: setting system clock to 2009-04-21 12:33:15 UTC (1240317195)                              
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!                  
uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock2, sector 0                  
FAT: unable to read boot sector                                                                                    
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)                                                    
Please append a correct "root=" boot option; here are the available partitions:                                    
1f00            1024 mtdblock0 (driver?)                                                                            
1f01            2048 mtdblock1 (driver?)                                                                            
1f02           62464 mtdblock2 (driver?)                                                                            
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)      
级别: 新手上路
UID: 2791
精华: 0
发帖: 15
金钱: 150 两
威望: 132 点
综合积分: 30 分
注册时间: 2008-12-09
最后登录: 2010-02-27
1楼  发表于: 2009-06-28 09:31
我用mkyaffsimage制作镜像,在用uboot 写入就可以了。