问题已解决,方法参见:移植2.6.31到mini2440成功!
好容易把U-boot、kernel2.6.31移植完了,本以为会轻松,结果……
话说u-boot移植成功了,通过tftp方式把内核烧入了nand,然后设置好引导参数,通过NFS启动。
NFS这边,根镜像是直接把mini2440带的板子里的linux/root_qtopia.tgz文件。
引导后,错误如下(从前十行来可以看出,内核成功引导并且挂在上了NFS上的根文件系统的):
复制代码- s3c2410-rtc s3c2410-rtc: setting system clock to 2009-10-02 14:39:26 UTC (1254494366)
- eth0: link down
- IP-Config: Complete:
- device=eth0, addr=192.168.0.111, mask=255.255.255.0, gw=192.168.0.10,
- host=mini2440, domain=, nis-domain=gooth.cn,
- bootserver=192.168.0.10, rootserver=192.168.0.10, rootpath=
- Looking up port of RPC 100003/2 on 192.168.0.10
- eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
- Looking up port of RPC 100005/1 on 192.168.0.10
- VFS: Mounted root (nfs filesystem) on device 0:14.
- Freeing init memory: 128K
- Unable to handle kernel paging request at virtual address 6bd00004
- pgd = c39f0000
- [6bd00004] *pgd=00000000
- Internal error: Oops: 5 [#1]
- Modules linked in:
- CPU: 0 Not tainted (2.6.31 #15)
- PC is at s3c2410_gpio_setpin+0x1c/0x3c
- LR is at s3c24xx_led_set+0x24/0x48
- pc : [<c00319f4>] lr : [<c020d854>] psr: 60000093
- sp : c3825c10 ip : 6bd00000 fp : c03f4348
- r10: c03f4748 r9 : c03f4548 r8 : c03f4948
- r7 : c3824000 r6 : c39c7540 r5 : 00000000 r4 : 60000013
- r3 : 60000093 r2 : 00010000 r1 : 00000001 r0 : e1a00009
- Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
- Control: c000717f Table: 339f0000 DAC: 00000015
- Process init (pid: 1, stack limit = 0xc3824270)
- Stack: (0xc3825c10 to 0xc3826000)
- 5c00: c00246d8 c020d854 0000002e c39df6e0
- 5c20: c39c7540 c020dea4 c03f3b40 00000100 c020ddc0 c0043304 c3825c38 c3825c38
- ……
- 5fc0: 40025050 40025000 bec13c98 400252c8 bec13f10 400255dc 40025000 bec13c74
- 5fe0: 40000000 bec13c58 40000c88 40014bb0 60000010 ffffffff 33cc33cc 33cc33cc
- [<c00319f4>] (s3c2410_gpio_setpin+0x1c/0x3c) from [<c020d854>] (s3c24xx_led_set+0x24/0x48)
- [<c020d854>] (s3c24xx_led_set+0x24/0x48) from [<c020dea4>] (led_heartbeat_function+0xe4/0x104)
- [<c020dea4>] (led_heartbeat_function+0xe4/0x104) from [<c0043304>] (run_timer_softirq+0x154/0x1e8)
- [<c0043304>] (run_timer_softirq+0x154/0x1e8) from [<c003f0d8>] (__do_softirq+0x78/0x104)
- [<c003f0d8>] (__do_softirq+0x78/0x104) from [<c0028068>] (_text+0x68/0x80)
- [<c0028068>] (_text+0x68/0x80) from [<c00289e4>] (__irq_svc+0x24/0xa0)
- Exception stack(0xc3825ca0 to 0xc3825ce8)
- 5ca0: 00000000 c3a49010 00000002 02000000 c39d2a00 c3813a5c c3813a5c c3a41524
- 5cc0: 00001000 c3411638 00000000 c3a41520 3111e76d c3825ce8 c3a49004 c02a388c
- 5ce0: 60000013 ffffffff
- [<c00289e4>] (__irq_svc+0x24/0xa0) from [<c02a388c>] (call_transmit+0x148/0x294)
- [<c02a388c>] (call_transmit+0x148/0x294) from [<c02a9cb8>] (__rpc_execute+0x84/0x28c)
- [<c02a9cb8>] (__rpc_execute+0x84/0x28c) from [<c02a42c0>] (rpc_run_task+0x60/0x68)
- [<c02a42c0>] (rpc_run_task+0x60/0x68) from [<c0103d84>] (nfs_read_rpcsetup+0x1a4/0x1cc)
- [<c0103d84>] (nfs_read_rpcsetup+0x1a4/0x1cc) from [<c0101d3c>] (nfs_pageio_doio+0x44/0x74)
- [<c0101d3c>] (nfs_pageio_doio+0x44/0x74) from [<c0101e60>] (nfs_pageio_add_request+0xf4/0x108)
- [<c0101e60>] (nfs_pageio_add_request+0xf4/0x108) from [<c0103904>] (readpage_async_filler+0xdc/0x154)
- [<c0103904>] (readpage_async_filler+0xdc/0x154) from [<c006aff0>] (read_cache_pages+0x7c/0xf4)
- [<c006aff0>] (read_cache_pages+0x7c/0xf4) from [<c01035f4>] (nfs_readpages+0xfc/0x16c)
- [<c01035f4>] (nfs_readpages+0xfc/0x16c) from [<c006aabc>] (__do_page_cache_readahead+0x12c/0x1dc)
- [<c006aabc>] (__do_page_cache_readahead+0x12c/0x1dc) from [<c006ab90>] (ra_submit+0x24/0x28)
- [<c006ab90>] (ra_submit+0x24/0x28) from [<c0063dbc>] (filemap_fault+0x1ac/0x374)
- [<c0063dbc>] (filemap_fault+0x1ac/0x374) from [<c007481c>] (__do_fault+0x50/0x3b0)
- [<c007481c>] (__do_fault+0x50/0x3b0) from [<c0075a4c>] (handle_mm_fault+0x250/0x590)
- [<c0075a4c>] (handle_mm_fault+0x250/0x590) from [<c002e544>] (do_page_fault+0xe0/0x22c)
- [<c002e544>] (do_page_fault+0xe0/0x22c) from [<c0028d7c>] (ret_from_exception+0x0/0x10)
- Code: e121f003 e3c0c01f e1a0c0ac e28cc4fb (e59c3004)
- Kernel panic - not syncing: Fatal exception in interrupt
- [<c002d6a8>] (unwind_backtrace+0x0/0xdc) from [<c02c1af0>] (panic+0x40/0x118)
- [<c02c1af0>] (panic+0x40/0x118) from [<c002c520>] (die+0x13c/0x168)
- [<c002c520>] (die+0x13c/0x168) from [<c002e454>] (__do_kernel_fault+0x64/0x74)
- [<c002e454>] (__do_kernel_fault+0x64/0x74) from [<c002e670>] (do_page_fault+0x20c/0x22c)
- [<c002e670>] (do_page_fault+0x20c/0x22c) from [<c002822c>] (do_DataAbort+0x30/0x90)
- [<c002822c>] (do_DataAbort+0x30/0x90) from [<c00289a0>] (__dabt_svc+0x40/0x60)
- Exception stack(0xc3825bc8 to 0xc3825c10)
- 5bc0: e1a00009 00000001 00010000 60000093 60000013 00000000
- 5be0: c39c7540 c3824000 c03f4948 c03f4548 c03f4748 c03f4348 6bd00000 c3825c10
- 5c00: c020d854 c00319f4 60000093 ffffffff
- [<c00289a0>] (__dabt_svc+0x40/0x60) from [<c00319f4>] (s3c2410_gpio_setpin+0x1c/0x3c)
- [<c00319f4>] (s3c2410_gpio_setpin+0x1c/0x3c) from [<c020d854>] (s3c24xx_led_set+0x24/0x48)
- [<c020d854>] (s3c24xx_led_set+0x24/0x48) from [<c020dea4>] (led_heartbeat_function+0xe4/0x104)
- [<c020dea4>] (led_heartbeat_function+0xe4/0x104) from [<c0043304>] (run_timer_softirq+0x154/0x1e8)
- [<c0043304>] (run_timer_softirq+0x154/0x1e8) from [<c003f0d8>] (__do_softirq+0x78/0x104)
- [<c003f0d8>] (__do_softirq+0x78/0x104) from [<c0028068>] (_text+0x68/0x80)
- [<c0028068>] (_text+0x68/0x80) from [<c00289e4>] (__irq_svc+0x24/0xa0)
- Exception stack(0xc3825ca0 to 0xc3825ce8)
- 5ca0: 00000000 c3a49010 00000002 02000000 c39d2a00 c3813a5c c3813a5c c3a41524
- 5cc0: 00001000 c3411638 00000000 c3a41520 3111e76d c3825ce8 c3a49004 c02a388c
- 5ce0: 60000013 ffffffff
- [<c00289e4>] (__irq_svc+0x24/0xa0) from [<c02a388c>] (call_transmit+0x148/0x294)
- [<c02a388c>] (call_transmit+0x148/0x294) from [<c02a9cb8>] (__rpc_execute+0x84/0x28c)
- [<c02a9cb8>] (__rpc_execute+0x84/0x28c) from [<c02a42c0>] (rpc_run_task+0x60/0x68)
- [<c02a42c0>] (rpc_run_task+0x60/0x68) from [<c0103d84>] (nfs_read_rpcsetup+0x1a4/0x1cc)
- [<c0103d84>] (nfs_read_rpcsetup+0x1a4/0x1cc) from [<c0101d3c>] (nfs_pageio_doio+0x44/0x74)
- [<c0101d3c>] (nfs_pageio_doio+0x44/0x74) from [<c0101e60>] (nfs_pageio_add_request+0xf4/0x108)
- [<c0101e60>] (nfs_pageio_add_request+0xf4/0x108) from [<c0103904>] (readpage_async_filler+0xdc/0x154)
- [<c0103904>] (readpage_async_filler+0xdc/0x154) from [<c006aff0>] (read_cache_pages+0x7c/0xf4)
- [<c006aff0>] (read_cache_pages+0x7c/0xf4) from [<c01035f4>] (nfs_readpages+0xfc/0x16c)
- [<c01035f4>] (nfs_readpages+0xfc/0x16c) from [<c006aabc>] (__do_page_cache_readahead+0x12c/0x1dc)
- [<c006aabc>] (__do_page_cache_readahead+0x12c/0x1dc) from [<c006ab90>] (ra_submit+0x24/0x28)
- [<c006ab90>] (ra_submit+0x24/0x28) from [<c0063dbc>] (filemap_fault+0x1ac/0x374)
- [<c0063dbc>] (filemap_fault+0x1ac/0x374) from [<c007481c>] (__do_fault+0x50/0x3b0)
- [<c007481c>] (__do_fault+0x50/0x3b0) from [<c0075a4c>] (handle_mm_fault+0x250/0x590)
- [<c0075a4c>] (handle_mm_fault+0x250/0x590) from [<c002e544>] (do_page_fault+0xe0/0x22c)
- [<c002e544>] (do_page_fault+0xe0/0x22c) from [<c0028d7c>] (ret_from_exception+0x0/0x10)
|
[ 此帖被athurg在2009-10-03 13:52重新编辑 ]