i.MX8QXP boot Android9.0 , Kernel panic

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8QXP boot Android9.0 , Kernel panic

Jump to solution
3,013 Views
yangbaojian
Contributor III

我使用的是imx8qxp板子,3G内存,32GEMMC;烧录Android9.0板子系统以后,内核启动崩溃,请帮忙分析下问题原因在哪里?

U-Boot 2018.03-dirty (Apr 22 2019 - 17:43:45 +0800)
省略。。。
Starting kernel ...
省略。。。
[ 5.135740] registered taskstats version 1
[ 5.159934] imx8_cpufreq_init: cluster 0 running at freq 1200 MHz, suspend freq 1200 MHz
[ 5.184203] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 5.190862] [drm] No driver support for vblank timestamp query.
[ 5.196944] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.2 (ops dpu_bliteng_ops)
[ 5.205200] imx-drm display-subsystem: bound imx-dpu-crtc.0 (ops dpu_crtc_ops)
[ 5.212562] imx-drm display-subsystem: bound imx-dpu-crtc.1 (ops dpu_crtc_ops)
[ 5.219921] imx-drm display-subsystem: failed to bind ldb@562210e0 (ops imx_ldb_ops): -517
[ 5.228353] imx-drm display-subsystem: master bind failed: -517
[ 5.246173] mxc_bt_rfkill: gpio not ready, need defer
[ 5.252515] Unable to handle kernel paging request at virtual address fffffffffffffff8
[ 5.260442] Mem abort info:
[ 5.263240] Exception class = DABT (current EL), IL = 32 bits
[ 5.269164] SET = 0, FnV = 0
[ 5.272219] EA = 0, S1PTW = 0
[ 5.275357] Data abort info:
[ 5.278233] ISV = 0, ISS = 0x00000004
[ 5.282073] CM = 0, WnR = 0
[ 5.285039] swapper pgtable: 4k pages, 48-bit VAs, pgd = ffff000009f19000
[ 5.291830] [fffffffffffffff8] *pgd=0000000000000000
[ 5.296802] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 5.302378] Modules linked in:
[ 5.305439] CPU: 2 PID: 50 Comm: kworker/2:1 Not tainted 4.14.62-dirty #1
[ 5.312227] Hardware name: Freescale i.MX8QXP MEK (DT)
[ 5.317378] Workqueue: events deferred_probe_work_func
[ 5.322522] task: ffff80083aaa0e00 task.stack: ffff00000a7a0000
[ 5.328454] PC is at plist_add+0x60/0xf0
[ 5.332378] LR is at pm_qos_update_target+0xe8/0x2d0
[ 5.337345] pc : [<ffff000008fc4478>] lr : [<ffff00000813be90>] pstate: 200000c5
[ 5.344742] sp : ffff00000a7a3a90
[ 5.348053] x29: ffff00000a7a3a90 x28: 0000000000000000
[ 5.353369] x27: 0000000fffffffe0 x26: ffff0000080f9d10
[ 5.358686] x25: 0000000000000040 x24: 0000000000000000
[ 5.364003] x23: ffff000009e93000 x22: 0000000000000000
[ 5.369320] x21: ffff80083bf54e88 x20: 0000000000000000
[ 5.374636] x19: ffff000009c62c80 x18: 00000000145c7180
[ 5.379953] x17: 0000000046170568 x16: 0000000097006be0
[ 5.385270] x15: 000000000000007f x14: 00000000000c8000
[ 5.390587] x13: 0000000000001ac7 x12: 0000000000000030
[ 5.395903] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 5.401220] x9 : 716e6573606b6f2e x8 : ffff80083bf54e90
[ 5.406537] x7 : ffff000009c62c80 x6 : ffff80083bf54ea0
[ 5.411854] x5 : ffff80083bcd8e88 x4 : 0000000000000000
[ 5.417170] x3 : ffff80083bcd8e88 x2 : fffffffffffffff8
[ 5.422487] x1 : fffffffffffffff8 x0 : ffff80083bf54e88
[ 5.427808]
[ 5.427808] X0: 0xffff80083bf54e08:
[ 6.493545] Process kworker/2:1 (pid: 50, stack limit = 0xffff00000a7a0000)
[ 6.500513] Call trace:
[ 6.502965] Exception stack(0xffff00000a7a3950 to 0xffff00000a7a3a90)
[ 6.509411] 3940: ffff80083bf54e88 fffffffffffffff8
[ 6.517246] 3960: fffffffffffffff8 ffff80083bcd8e88 0000000000000000 ffff80083bcd8e88
[ 6.525082] 3980: ffff80083bf54ea0 ffff000009c62c80 ffff80083bf54e90 716e6573606b6f2e
[ 6.532918] 39a0: 7f7f7f7f7f7f7f7f 0101010101010101 0000000000000030 0000000000001ac7
[ 6.540754] 39c0: 00000000000c8000 000000000000007f 0000000097006be0 0000000046170568
[ 6.548593] 39e0: 00000000145c7180 ffff000009c62c80 0000000000000000 ffff80083bf54e88
[ 6.556426] 3a00: 0000000000000000 ffff000009e93000 0000000000000000 0000000000000040
[ 6.564265] 3a20: ffff0000080f9d10 0000000fffffffe0 0000000000000000 ffff00000a7a3a90
[ 6.572099] 3a40: ffff00000813be90 ffff00000a7a3a90 ffff000008fc4478 00000000200000c5
[ 6.579935] 3a60: ffff00000a7a3a90 ffff0000082bd42c ffffffffffffffff ffff800838926540
[ 6.587770] 3a80: ffff00000a7a3a90 ffff000008fc4478
[ 6.592647] [<ffff000008fc4478>] plist_add+0x60/0xf0
[ 6.597615] [<ffff00000813c110>] pm_qos_add_request+0x98/0x150
[ 6.603455] [<ffff000008c508f4>] tcpm_register_port+0x4f4/0x5b0
[ 6.609380] [<ffff000008c53524>] tcpci_probe+0x208/0x568
[ 6.614698] [<ffff000008a4b340>] i2c_device_probe+0x1c0/0x294
[ 6.620448] [<ffff00000876edfc>] driver_probe_device+0x258/0x30c
[ 6.626457] [<ffff00000876eff8>] __device_attach_driver+0x98/0xe8
[ 6.632557] [<ffff00000876cba0>] bus_for_each_drv+0x60/0xb0
[ 6.638133] [<ffff00000876eaa0>] __device_attach+0x100/0x154
[ 6.643797] [<ffff00000876f29c>] device_initial_probe+0x10/0x18
[ 6.649722] [<ffff00000876df54>] bus_probe_device+0x90/0x98
[ 6.655299] [<ffff00000876e3e4>] deferred_probe_work_func+0xb0/0x150
[ 6.661662] [<ffff0000080f91a4>] process_one_work+0x140/0x3fc
[ 6.667410] [<ffff0000080f96d8>] worker_thread+0x278/0x3e4
[ 6.672902] [<ffff000008100a00>] kthread+0x104/0x130
[ 6.677873] [<ffff000008085064>] ret_from_fork+0x10/0x18
[ 6.683189] Code: d1002021 eb03003f 54000100 aa0103e2 (b9400041)
[ 6.689286] ---[ end trace 1826c88d1fba0a06 ]---
[ 6.693969] note: kworker/2:1[50] exited with preempt_count 1

0 Kudos
1 Solution
2,121 Views
yangbaojian
Contributor III

在boot目录中找下imx8qxp_mek.c,按这个修改试试。

image003.jpg

View solution in original post

0 Kudos
5 Replies
2,121 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello yangbaojian,

Look like you need to reprogram again the SD, because the error it said is not fully programmed.

Regards

0 Kudos
2,121 Views
yangbaojian
Contributor III

Hello Bio_TICFSL:

Thank you very much for receiving your reply. Can you elaborate on SD? Is this required to be configured in the kernel? Still something else?

0 Kudos
2,121 Views
shi_huarong
Contributor I

yangbaojian I have the same problem as you. Could you please share the fix method for us?

0 Kudos
2,122 Views
yangbaojian
Contributor III

在boot目录中找下imx8qxp_mek.c,按这个修改试试。

image003.jpg

0 Kudos
2,121 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

You can download the demo image and program your SD.

i.MX 8QuadXPlus Multisensory Enablement Kit | NXP 

0 Kudos