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

 busybox的启动问题

以前用busybox构建过一个简单的root文件系统,用过去的kernel-2.6.13可以启动。
最近用友善的linux-2.6.29(用我自己的工具链)就无法启动了:
eth0: link down                                                                
IP-Config: Complete:                                                            
     device=eth0, addr=222.26.193.5, mask=255.255.255.0, gw=222.26.193.254,    
     host=mini2440, domain=, nis-domain=(none),                                
     bootserver=222.26.193.4, rootserver=222.26.193.4, rootpath=                
Looking up port of RPC 100003/2 on 222.26.193.4                                
eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1                                
Looking up port of RPC 100005/1 on 222.26.193.4                                
VFS: Mounted root (nfs filesystem) on device 0:11.                              
Freeing init memory: 128K                                                      
Kernel panic - not syncing: Attempted to kill init!                            


我下了友善提供的root image 可以正常启动,我用把busybox 重新编译覆盖友善的那个,就又不行了。

请问是内核和busybox的配置问题,还是我的工具链不行啊。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-06-27 15:27
2.6.29.4是EABI的,对应的文件系统也需要用EABI的工具链来编译,比如友善之臂光盘上提供的4.3.2的那个
"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: 2791
精华: 0
发帖: 15
金钱: 150 两
威望: 132 点
综合积分: 30 分
注册时间: 2008-12-09
最后登录: 2010-02-27
2楼  发表于: 2009-06-28 09:26

 回 1楼(kasim) 的帖子

如果2.6.29.4 和busybox都用非eabi的工具链编译可以吗?
还是说EABI是内核的某种配置,必须用EABI工具链编译?

十分感谢!
这个阶段正是我事业的上升期,我怎么能走得开呢?
级别: 精灵王
UID: 3197
精华: 3
发帖: 770
金钱: 6995 两
威望: 5398 点
综合积分: 1600 分
注册时间: 2008-12-30
最后登录: 2010-12-31
3楼  发表于: 2009-06-28 10:56
内核中有EABI支持选项,如果使用非EABI编译器,或许要去掉那个选项才行。