主题 : 移植了kernel就一定得换文件系统? 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 5071
精华: 0
发帖: 50
金钱: 390 两
威望: 297 点
贡献值: 0 点
综合积分: 100 分
注册时间: 2009-04-09
最后登录: 2013-12-20
楼主  发表于: 2009-04-10 16:41

 移植了kernel就一定得换文件系统?

管理提醒: 本帖被 arm9home 从 Linux技术交流专区 移动到本区(2010-02-08)
如题,自己移植了kernel,使用友善的root_default.img总不行,提示
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...   //自己在uboot中给传了init=/linuxrc
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-04-10 18:35
那可能是因为root_default.img所用的yaffs格式配置和你的内核不匹配造成的,换cramfs格式的试试吧
"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."
级别: 新手上路
UID: 3743
精华: 0
发帖: 28
金钱: 240 两
威望: 208 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2009-02-05
最后登录: 2017-09-13
2楼  发表于: 2009-04-10 21:16
我一起也是遇到了这个问题,我在网上下载了一个文件系统就可以了,还的谢谢这个论坛里面的热心人