公司自己做的板,用TI提供的软件包,移植内核时,在 defconfig后menuconfig,去掉了一些不必要的驱动,镜像烧录后启动,提示 Attempted to kill init 然后就不动了,请问会是什么问题呢!!!
[ 0.184968] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.204592] omap_hwmod: tptc0 using broken dt data from edma
[ 0.210662] omap_hwmod: tptc1 using broken dt data from edma
[ 0.216753] omap_hwmod: tptc2 using broken dt data from edma
[ 0.227802] omap_hwmod: debugss: _wait_target_disable failed
[ 0.234330] Unhandled fault: external abort on non-linefetch (0x1028) at 0xf9 e3e078
[ 0.242310] pgd = c0004000
[ 0.245185] [f9e3e078] *pgd=44e11452(bad)
[ 0.249418] Internal error: : 1028 [#1] PREEMPT ARM
[ 0.254531] Modules linked in:
[ 0.257776] CPU: 0 PID: 1 Comm: swapper Not tainted 4.1.13-g8dc6617 #1
[ 0.264585] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 0.270949] task: cd84c000 ti: cd846000 task.ti: cd846000
[ 0.276619] PC is at _update_sysc_cache+0x34/0xa4
[ 0.281557] LR is at _enable+0x2a4/0x31c
[ 0.285683] pc : [<c00271d4>] lr : [<c00277e4>] psr: 40000013
[ 0.285683] sp : cd847e50 ip : cd847e60 fp : cd847e5c
[ 0.297687] r10: 00000000 r9 : c07c75e8 r8 : c0849000
[ 0.303155] r7 : c08495f0 r6 : 00000000 r5 : 00000000 r4 : c08120a0
[ 0.309967] r3 : f9e3e078 r2 : f9e3e000 r1 : 00000800 r0 : c08120a0
[ 0.316780] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kern elN
[ 0.324394] Control: 10c5387d Table: 80004019 DAC: 00000015
[ 0.330400] Process swapper (pid: 1, stack limit = 0xcd846210)
[ 0.336496] Stack: (0xcd847e50 to 0xcd848000)
[ 0.341072] 7e40: cd847e84 cd847e60 c0027 7e4 c00271ac
[ 0.349586] 7e60: cd847e84 cd847e70 c08120a0 00000001 c08120ec cd8b1bc0 cd847 eb4 cd847e88
[ 0.358099] 7e80: c07d34b8 c002754c 00000000 ce5aca5c c08129e8 c080ea98 c080c 6a8 c08120a0
[ 0.366615] 7ea0: c080ea98 c080c6a8 cd847ecc cd847eb8 c07d3d78 c07d33fc c080c 6a8 c07d3d00
[ 0.375129] 7ec0: cd847f4c cd847ed0 c0009718 c07d3d0c cd847efc cd847ee0 c0172 f88 c0172c0c
[ 0.383644] 7ee0: cd847f00 cd847ef0 c0051be4 c02d7dcc ce7ff455 c05fc80c cd847 f4c cd847f08
[ 0.392158] 7f00: c0051ea8 c07c75f4 cd847f34 00000001 00000001 c0784918 00000 000 00000000
[ 0.400670] 7f20: c0814c3c 00000001 0000008a c07fa99c c0849000 c0849000 c07c7 5e8 c07fa9b8
[ 0.409185] 7f40: cd847f94 cd847f50 c07c7ea0 c000969c 00000001 00000001 c07c7 5e8 0000ffbe
[ 0.417699] 7f60: 0000ffff c0805f3c 0000ffff 00000000 c05d0b30 00000000 00000 000 00000000
[ 0.426213] 7f80: 00000000 00000000 cd847fac cd847f98 c05d0b40 c07c7d34 00000 000 c05d0b30
[ 0.434729] 7fa0: 00000000 cd847fb0 c000fa08 c05d0b3c 00000000 00000000 00000 000 00000000
[ 0.443248] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000
[ 0.451765] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00007 fff 0000dfff
[ 0.460276] Backtrace:
[ 0.462893] [<c00271a0>] (_update_sysc_cache) from [<c00277e4>] (_enable+0x2a 4/0x31c)
[ 0.471057] [<c0027540>] (_enable) from [<c07d34b8>] (_setup.part.14+0xc8/0x4 04)
[ 0.478761] r7:cd8b1bc0 r6:c08120ec r5:00000001 r4:c08120a0
[ 0.484690] [<c07d33f0>] (_setup.part.14) from [<c07d3d78>] (__omap_hwmod_set up_all+0x78/0x98)
[ 0.493649] r6:c080c6a8 r5:c080ea98 r4:c08120a0
[ 0.498503] [<c07d3d00>] (__omap_hwmod_setup_all) from [<c0009718>] (do_one_i nitcall+0x88/0x1e0)
[ 0.507640] r5:c07d3d00 r4:c080c6a8
[ 0.511420] [<c0009690>] (do_one_initcall) from [<c07c7ea0>] (kernel_init_fre eable+0x178/0x244)
[ 0.520468] r10:c07fa9b8 r9:c07c75e8 r8:c0849000 r7:c0849000 r6:c07fa99c r5: 0000008a
[ 0.528629] r4:00000001
[ 0.531333] [<c07c7d28>] (kernel_init_freeable) from [<c05d0b40>] (kernel_ini t+0x10/0xf4)
[ 0.539843] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5: c05d0b30
[ 0.548005] r4:00000000
[ 0.550712] [<c05d0b30>] (kernel_init) from [<c000fa08>] (ret_from_fork+0x14/ 0x2c)
[ 0.558595] r5:c05d0b30 r4:00000000
[ 0.562371] Code: e3120c01 e590205c e6f23073 1a00000e (e5932000)
[ 0.568792] —[ end trace 8f248518d00cd033 ]—
[ 0.573754] Kernel panic – not syncing: Attempted to kill init! exitcode=0x00 00000b
[ 0.573754]
[ 0.583350] —[ end Kernel panic – not syncing: Attempted to kill init! exit code=0x0000000b
[ 0.583350]
查看了一下,发现是启动时死在了 omap_hwmod.c 的 _update_sysc_cache() 函数里,请问我是否可以把相关函数注释掉???
先多谢了!!!!!
乱码:
没人呢啦啦啦啦啦啦啦!!!!!!!!!!!!!!!!!!!!!!!!!
Jian Zhou:
回复 乱码:
先仔细检查下把哪些驱动去掉了?