• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : 求助:内核启动出现问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
楼主  发表于: 2009-04-13 14:35

 求助:内核启动出现问题

我使用友善自带的yaffs文件系统,自己用linux-2.6.29源文件重新做了个zimage,总是出现下面的问题,停在Kernel panic - not syncing: Attempted to kill init!
,可能是什么原因呢?文件系统到底加载上没有?


ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 144K
Kernel panic - not syncing: Attempted to kill init!

级别: 新手上路
UID: 3870
精华: 2
发帖: 20
金钱: 240 两
威望: 240 点
综合积分: 80 分
注册时间: 2009-02-13
最后登录: 2009-07-31
1楼  发表于: 2009-04-13 16:18
自己做个文件系统 别用友善自带的yaffs文件系统
我就是这样解决的
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2009-04-13 18:29
如果是构建文件系统,用最新的4.3.2 EABI的交叉编译器,以免和内核所用的EABI不兼容
"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: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
3楼  发表于: 2009-04-13 18:55
明天我也试试
4.3.2 EABI是arm linux gcc4.3.2吗?
级别: 新手上路
UID: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
4楼  发表于: 2009-04-14 19:05
我自己做了一个yaffs文件系统,用友善的kernel可以加载,但是我自己编译的内核却不行,还是提示上面的问题,怎么回事啊?

USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 132K
Kernel panic - not syncing: Attempted to kill init!
级别: 新手上路
UID: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
5楼  发表于: 2009-04-15 10:27
到底是内核问题还是文件系统问题啊?

友善的内核加什么东西了吗?我基本上都按照网上的步骤移植的,看别人也没出这个问题啊,求助高

手啊!!
级别: 新手上路
UID: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
6楼  发表于: 2009-04-15 10:28
引用第2楼kasim于2009-04-13 18:29发表的  :
如果是构建文件系统,用最新的4.3.2 EABI的交叉编译器,以免和内核所用的EABI不兼容


EABI做什么用的?我的内核和文件系统都是用4.3.2编译的
这个阶段正是我事业的上升期,我怎么能走得开呢?
级别: 精灵王
UID: 3197
精华: 3
发帖: 770
金钱: 6995 两
威望: 5398 点
综合积分: 1600 分
注册时间: 2008-12-30
最后登录: 2010-12-31
7楼  发表于: 2009-04-15 11:53
符合EABI标准交叉编译器: arm-linux-gcc-4.3.2 with EABI  
·说明
交叉编译器在编译的时候,对于浮点运行会预设硬浮点运算FPA(Float Point Architecture),而没有FPA的CPU,比如SAMSUNG S3C2410/S3C2440,会使用FPE(Float Point Emulation 即软浮点),这样在速度上就会遇到极大的限制,使用EABI(Embedded Application Binary
Interface)则可以对此改善处理,ARM EABI有许多革新之处,其中最突出的改进就是Float Point Performance,它使用Vector Float Point(矢量浮点),因此可以极大提高涉及到浮点运算的程序
下面一篇文章对此做了详细的描述。
·为你带来的好处
最新linux软件系统即采用了统一的符合EABI标准的交叉编译器,并使用了新的glibc库2.8,使用同一个编译器,你可以编译
- linux内核(linux-2.6.29)
- qtopia-2.2.0图形系统
- busybox
- vivi(开源的bootloader)
- u-boot(开源的bootloader)
- 其他很多linux应用程序(如web server, boa, madplay等程序)  
首先这可以提高程序的浮点运算性能,其次你可以不必把时间花费在切换不同的编译器上。
  
级别: 新手上路
UID: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
8楼  发表于: 2009-04-15 13:44
终于搞定了,我把移植过程放在我的博客上了
http://lsw0136.blog.163.com/blog/static/12225013200931514145650
《移植linux2.6.29内核+yaffs2文件系统过程》
这个阶段正是我事业的上升期,我怎么能走得开呢?
级别: 精灵王
UID: 3197
精华: 3
发帖: 770
金钱: 6995 两
威望: 5398 点
综合积分: 1600 分
注册时间: 2008-12-30
最后登录: 2010-12-31
9楼  发表于: 2009-04-15 14:09
看了博客,还不错,不过友善之臂并没有提供supervivi源代码吧?
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go