完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
最近移植4.14的内核,烧到开发板中出现如下错误:
---[ end trace 1c64f040d891693a ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b 换回原来的内核一切正常,升级到4.14就出现这个错误。cross compiler和uboot与rootfs的保持一致。 有高手解决过类似问题吗? |
|
相关推荐
7个回答
|
|
移植linux4.14.3+busybox1.20.0这是我的帖子,楼主可以参考一下
|
|
|
|
|
|
|
|
我的还是楼主的,怎么讲
|
|
|
|
以下是具体的错误信息,使用的是imx6ul的核心板
8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered u*** 1-1: new high-speed USB device number 2 using ci_hdrc Unable to handle kernel NULL pointer dereference at virtual address 00000008 pgd = 80004000 [00000008] *pgd=00000000 Internal error: Oops: 5 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.4 #1 Hardware name: Freescale i.MX6 Ultralite (Device Tree) task: 8c044000 task.stack: 8c048000 PC is at imx_gpc_mask_all+0x1c/0x38 LR is at imx6_enable_rbc+0x14/0x78 pc : [<80119ca0>] lr : [<8011b284>] psr: 20000013 sp : 8c049ec0 ip : ffffffff fp : 00000000 r10: 80c5583c r9 : 0000010f r8 : 80d50000 r7 : 80d50000 r6 : 00000000 r5 : 80d50588 r4 : 00000000 r3 : 00000008 r2 : 80d50560 r1 : 80d50570 r0 : 00000000 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 10c5387d Table: 8000406a DAC: 00000051 Process swapper/0 (pid: 1, stack limit = 0x8c048210) Stack: (0x8c049ec0 to 0x8c04a000) 9ec0: 80c6475c 80c0362c 00000000 80c09c3c 80c6475c 80c0a7dc 8c78ba00 80c49f04 9ee0: 8c78ba80 80d50000 80d50000 0000010f 80c5583c 80c49f70 1f030000 00000002 9f00: 00000000 00000000 80c64758 80c0364c 80c6475c 80101a30 00000000 8fde3a14 9f20: 8fde3a15 80c00600 0000010f 80b88b60 0000010f 80139738 80aa7278 00000000 9f40: 00000007 00000007 8fde39f7 8fde3a15 00000000 8fde3940 00000007 80c55834 9f60: 80c6475c 00000007 80c55838 80d50000 0000010f 80c00dc4 00000007 00000007 9f80: 00000000 80c005a0 00000000 808787b8 00000000 00000000 00000000 00000000 9fa0: 00000000 808787c0 00000000 80107b30 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff [<80119ca0>] (imx_gpc_mask_all) from [<8011b284>] (imx6_enable_rbc+0x14/0x78) [<8011b284>] (imx6_enable_rbc) from [<80c09c3c>] (imx6sx_cpuidle_init+0x14/0x40) [<80c09c3c>] (imx6sx_cpuidle_init) from [<80c0a7dc>] (imx6ul_init_late+0xc/0x40) [<80c0a7dc>] (imx6ul_init_late) from [<80c0364c>] (init_machine_late+0x20/0x98) [<80c0364c>] (init_machine_late) from [<80101a30>] (do_one_initcall+0x40/0x16c) [<80101a30>] (do_one_initcall) from [<80c00dc4>] (kernel_init_freeable+0x144/0x1e0) [<80c00dc4>] (kernel_init_freeable) from [<808787c0>] (kernel_init+0x8/0x110) [<808787c0>] (kernel_init) from [<80107b30>] (ret_from_fork+0x14/0x24) Code: e5913010 e2812014 e2811024 e2833008 (e5930000) ---[ end trace 3efe19e5aaff8df8 ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected |
|
|
|
以下是具体的错误信息,使用的是imx6ul的核心板
8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered u*** 1-1: new high-speed USB device number 2 using ci_hdrc Unable to handle kernel NULL pointer dereference at virtual address 00000008 pgd = 80004000 [00000008] *pgd=00000000 Internal error: Oops: 5 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.4 #1 Hardware name: Freescale i.MX6 Ultralite (Device Tree) task: 8c044000 task.stack: 8c048000 PC is at imx_gpc_mask_all+0x1c/0x38 LR is at imx6_enable_rbc+0x14/0x78 pc : [<80119ca0>] lr : [<8011b284>] psr: 20000013 sp : 8c049ec0 ip : ffffffff fp : 00000000 r10: 80c5583c r9 : 0000010f r8 : 80d50000 r7 : 80d50000 r6 : 00000000 r5 : 80d50588 r4 : 00000000 r3 : 00000008 r2 : 80d50560 r1 : 80d50570 r0 : 00000000 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 10c5387d Table: 8000406a DAC: 00000051 Process swapper/0 (pid: 1, stack limit = 0x8c048210) Stack: (0x8c049ec0 to 0x8c04a000) 9ec0: 80c6475c 80c0362c 00000000 80c09c3c 80c6475c 80c0a7dc 8c78ba00 80c49f04 9ee0: 8c78ba80 80d50000 80d50000 0000010f 80c5583c 80c49f70 1f030000 00000002 9f00: 00000000 00000000 80c64758 80c0364c 80c6475c 80101a30 00000000 8fde3a14 9f20: 8fde3a15 80c00600 0000010f 80b88b60 0000010f 80139738 80aa7278 00000000 9f40: 00000007 00000007 8fde39f7 8fde3a15 00000000 8fde3940 00000007 80c55834 9f60: 80c6475c 00000007 80c55838 80d50000 0000010f 80c00dc4 00000007 00000007 9f80: 00000000 80c005a0 00000000 808787b8 00000000 00000000 00000000 00000000 9fa0: 00000000 808787c0 00000000 80107b30 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff [<80119ca0>] (imx_gpc_mask_all) from [<8011b284>] (imx6_enable_rbc+0x14/0x78) [<8011b284>] (imx6_enable_rbc) from [<80c09c3c>] (imx6sx_cpuidle_init+0x14/0x40) [<80c09c3c>] (imx6sx_cpuidle_init) from [<80c0a7dc>] (imx6ul_init_late+0xc/0x40) [<80c0a7dc>] (imx6ul_init_late) from [<80c0364c>] (init_machine_late+0x20/0x98) [<80c0364c>] (init_machine_late) from [<80101a30>] (do_one_initcall+0x40/0x16c) [<80101a30>] (do_one_initcall) from [<80c00dc4>] (kernel_init_freeable+0x144/0x1e0) [<80c00dc4>] (kernel_init_freeable) from [<808787c0>] (kernel_init+0x8/0x110) [<808787c0>] (kernel_init) from [<80107b30>] (ret_from_fork+0x14/0x24) Code: e5913010 e2812014 e2811024 e2833008 (e5930000) ---[ end trace 3efe19e5aaff8df8 ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected |
|
|
|
不太清楚,imx6ul 官方已经有了4.1.15的支持
|
|
|
|
是的,yocto确实可以直接移植官方的,但是对应的版本就是那么几个,而且对应的Qt也就是官方一对一的版本,移植的灵活性不如以往的好。还是传统的移植方式自由度大些。
|
|
|
|
只有小组成员才能发言,加入小组>>
197个成员聚集在这个小组
加入小组为什么点亮LED的例子放在NORFlash上跑会出现奇怪的现象?
2156 浏览 6 评论
1962 浏览 5 评论
韦东山老师推出的《玩转ARM裸机实战》课程将帮你以上问题一扫而光!
4520 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-21 20:04 , Processed in 0.737624 second(s), Total 89, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号