主题 : cramfs文件系统linux启动的问题 复制链接 | 浏览器收藏 | 打印
用过的Linux发行版:Arch,Gentoo,Debian,Fedora,RHEL,CentOS,Ubuntu,OpenSUSE,RedFlag,Ylmf,De ..
级别: 骑士
UID: 12662
精华: 0
发帖: 181
金钱: 955 两
威望: 191 点
贡献值: 0 点
综合积分: 362 分
注册时间: 2010-01-11
最后登录: 2014-02-14
楼主  发表于: 2010-02-09 20:22

 cramfs文件系统linux启动的问题

用u-boot作bootloader 内核启动到中途报错:

s3c2410-rtc s3c2410-rtc: setting system clock to 2006-02-24 19:21:26 UTC (11408)
List of all partitions:
1f00             192 mtdblock0 (driver?)
1f01              64 mtdblock1 (driver?)
1f02            2048 mtdblock2 (driver?)
1f03           16384 mtdblock3 (driver?)
1f04           46848 mtdblock4 (driver?)
No filesystem could mount root, tried:  cramfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)


错误好像很典型  请问是什么原因?
[ 此帖被curay在2010-02-09 23:11重新编辑 ]
业余Linux爱好者。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-02-09 22:09
你确定你把cramfs的文件系统镜像放到mtdblock3对应的NAND Flash区域中去了?
[ 此帖被kasim在2010-02-10 09:50重新编辑 ]
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
用过的Linux发行版:Arch,Gentoo,Debian,Fedora,RHEL,CentOS,Ubuntu,OpenSUSE,RedFlag,Ylmf,De ..
级别: 骑士
UID: 12662
精华: 0
发帖: 181
金钱: 955 两
威望: 191 点
贡献值: 0 点
综合积分: 362 分
注册时间: 2010-01-11
最后登录: 2014-02-14
2楼  发表于: 2010-02-09 23:28

 回 1楼(kasim) 的帖子

谢谢前辈指点

我还有一个问题 在vivi中烧写内核以前要有一个bon命令分区的过程
而在u-boot中烧写内核前没有此过程 而是在内核中修改结构体数组mtd_partition_friendly_arm_default_nand_part中的内容

这两者有什么区别和联系么?
业余Linux爱好者。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-02-10 09:49
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."