打印
[嵌入式Linux]

配置为initramfs的内核为什么下载进去启动不起来

[复制链接]
1450|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
xyyujn|  楼主 | 2014-3-9 09:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    我用的tiny6410开发板,我制作了一个initramfs根文件系统并编译进uImage,但是当我使用uboot将内核下载到0xc0008000地址处,并使用bootm命令运行时,内核会启动,但是最后显示这么一大段乱码,完了就卡在这里了。这是为什么呢?求高手指点。。。我已经只做了好几遍了,就是不行。我用的内核版本是2.6.39,配置文件是国嵌提供的,我只改了LCD的参数。
错误:
Kernel panic - not syncing: Fatal exception in interrupt
[<c0177c44>] (unwind_backtrace+0x0/0xe4) from [<c05142c4>] (panic+0x58/0x174)
[<c05142c4>] (panic+0x58/0x174) from [<c0176270>] (die+0x17c/0x1c0)
[<c0176270>] (die+0x17c/0x1c0) from [<c0178bc8>] (__do_kernel_fault+0x64/0x84)
[<c0178bc8>] (__do_kernel_fault+0x64/0x84) from [<c0178dc0>] (do_page_fault+0x1d8/0x1f4)
[<c0178dc0>] (do_page_fault+0x1d8/0x1f4) from [<c0168218>] (do_DataAbort+0x30/0x98)
[<c0168218>] (do_DataAbort+0x30/0x98) from [<c01721cc>] (__dabt_svc+0x4c/0x60)
Exception stack(0xcd42dd90 to 0xcd42ddd8)
dd80:                                     cd4d7800 00000000 80000000 00000000
dda0: cd4d7800 00000000 00003810 00000009 00000200 cd42c000 60000013 cd4d7848
ddc0: 00003f00 cd42ddd8 c03a3164 c03a22d4 60000193 ffffffff
[<c01721cc>] (__dabt_svc+0x4c/0x60) from [<c03a22d4>] (s3c_hsotg_enqueue_setup+0xc/0x7c)
[<c03a22d4>] (s3c_hsotg_enqueue_setup+0xc/0x7c) from [<c03a3164>] (s3c_hsotg_irq+0x1b4/0x5bc)
[<c03a3164>] (s3c_hsotg_irq+0x1b4/0x5bc) from [<c01b50e0>] (handle_IRQ_event+0x24/0xe0)
[<c01b50e0>] (handle_IRQ_event+0x24/0xe0) from [<c01b6a18>] (handle_level_irq+0xbc/0x13c)
[<c01b6a18>] (handle_level_irq+0xbc/0x13c) from [<c0168070>] (asm_do_IRQ+0x70/0x94)
[<c0168070>] (asm_do_IRQ+0x70/0x94) from [<c0172228>] (__irq_svc+0x48/0xa0)
Exception stack(0xcd42de50 to 0xcd42de98)
de40:                                     c0729684 60000013 cd42a000 00000001
de60: 60000013 cc9d7840 0000005a c0729684 c0729668 00000000 60000013 00000000
de80: 00000000 cd42de98 c0516ed0 c0516ed4 60000013 ffffffff
[<c0172228>] (__irq_svc+0x48/0xa0) from [<c0516ed4>] (_raw_spin_unlock_irqrestore+0x10/0x38)
[<c0516ed4>] (_raw_spin_unlock_irqrestore+0x10/0x38) from [<c01b5ccc>] (__setup_irq+0x23c/0x308)
[<c01b5ccc>] (__setup_irq+0x23c/0x308) from [<c01b5e64>] (request_threaded_irq+0xcc/0x11c)
[<c01b5e64>] (request_threaded_irq+0xcc/0x11c) from [<c051252c>] (s3c_hsotg_probe+0x190/0x5b0)
[<c051252c>] (s3c_hsotg_probe+0x190/0x5b0) from [<c03142b4>] (platform_drv_probe+0x14/0x18)
[<c03142b4>] (platform_drv_probe+0x14/0x18) from [<c03134a8>] (driver_probe_device+0xa8/0x158)
[<c03134a8>] (driver_probe_device+0xa8/0x158) from [<c03135b8>] (__driver_attach+0x60/0x84)
[<c03135b8>] (__driver_attach+0x60/0x84) from [<c0312790>] (bus_for_each_dev+0x4c/0x78)
[<c0312790>] (bus_for_each_dev+0x4c/0x78) from [<c0312e2c>] (bus_add_driver+0xa8/0x224)
[<c0312e2c>] (bus_add_driver+0xa8/0x224) from [<c0313804>] (driver_register+0xa8/0x12c)
[<c0313804>] (driver_register+0xa8/0x12c) from [<c01684d8>] (do_one_initcall+0xbc/0x190)
[<c01684d8>] (do_one_initcall+0xbc/0x190) from [<c0008adc>] (kernel_init+0x98/0x148)
[<c0008adc>] (kernel_init+0x98/0x148) from [<c0173668>] (kernel_thread_exit+0x0/0x8)

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

9

主题

13

帖子

0

粉丝