Hi, I am using 3.14.28 kernel in i.Mx6 solo platform. When I enabled the GPU, I am getting the below crash during booting.
Can someone please suggest the solution?
crash log
------------
PU: Power-on latency exceeded, new value 4178667 ns
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = 9cee0000
[00000004] *pgd=2cfb7831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] SMP ARM
Modules linked in: ci_hdrc_imx usbmisc_imx ci_hdrc udc_core evbug
CPU: 0 PID: 167 Comm: Xorg Not tainted 3.14.28-1.0.0_ga+g91cf351 #5
task: 9c2189c0 ti: 9cf58000 task.ti: 9cf58000
PC is at do_raw_spin_lock+0x10/0x19c
LR is at _raw_spin_lock+0x40/0x48
pc : [<80071b5c>] lr : [<8068d778>] psr: 600f0013
sp : 9cf59998 ip : 9cf599c8 fp : 9cf599c4
r10: 9c735598 r9 : 00000166 r8 : 00000000
r7 : a0d66000 r6 : 9cf59a40 r5 : 00000000 r4 : 00000000
r3 : dead4ead r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 2cee0059 DAC: 00000015
Process Xorg (pid: 167, stack limit = 0x9cf58238)
Stack: (0x9cf59998 to 0x9cf5a000)
9980: 9c2189c0 00000000
99a0: 00000000 9cf59a40 a0d66000 00000000 00000166 9c735598 9cf599ec 9cf599c8
99c0: 8068d778 80071b58 00000002 00000000 8048f1f4 8006c934 9cf59a3c 9c735000
99e0: 9cf59a1c 9cf599f0 8048f1f4 8068d744 00000000 9cf59a40 a0d66000 9c50f800
9a00: 9c50f800 9c542000 00000000 00000000 9cf59a3c 9cf59a20 804905a8 8048f16c
9a20: 00000000 00000000 9c513c00 00000300 9cf59a64 9cf59a40 804a89b8 8049058c
9a40: 00000000 9c513c00 00000000 9c513c00 00000000 00000300 9cf59a94 9cf59a68
9a60: 804abbc0 804a8988 00000000 00005007 00070900 00140021 00008000 00000300
9a80: 9c513c00 00000000 9cf59afc 9cf59a98 804acd3c 804ab948 00000300 00000000
9aa0: 00000000 00000000 00000039 00000001 8049c174 80492e14 00000000 00000000
9ac0: 000000a7 000000a7 c7aadfb2 00000001 8068c5b8 9c513c00 9c513c00 00000000
9ae0: 00000001 020d2b8c 00000000 00000000 9cf59b1c 9cf59b00 804927c8 804ac384
9b00: 00000000 00000000 9c513c00 9c542000 9cf59b3c 9cf59b20 8049a55c 80492700
9b20: 00000000 9c542000 9c542000 9c1d0b00 9cf59d44 9cf59b40 8049aa48 8049a528
9b40: 9c1f2110 9c1f2110 9cf59b64 9cf58000 00000000 600c0013 00000001 9cf58000
9b60: 00000000 600c0013 00000001 9cf58000 9cf58008 0205aa14 00000000 00000000
9b80: 00000000 00000000 00000000 00000000 00000000 00000000 9cf58030 00000000
9ba0: 00000000 00000000 00000000 9cf58000 9cf58008 9cf58000 9cf58010 00000000
9bc0: 00000000 9cf58018 9cf58020 00000000 9cf58028 00000000 00000000 600c0013
9be0: 00000001 9cf58038 9cf58000 00000000 00000000 9cf59c00 9cf58010 00000000
9c00: 00000000 9cf58000 9cf58020 9cf58000 00000000 600c0093 00000001 28198000
9c20: 808f88c0 00000000 9cf59c6c 9cf59c38 8006f448 9cf58000 00000000 600c0093
9c40: 00000001 73de7000 808f88c0 00000000 9cf59c94 9cf59c60 8006f448 8006ce68
9c60: 00000002 00000080 9c2189c0 808fe464 a00c0013 8001f47c 9cf58010 00000002
9c80: 00000000 808fe464 00000000 28198000 9cf59cac 9cf59ca0 8006cb10 8006c934
9ca0: 9cf59cc4 9cf59cb0 9cf58000 00000002 00000000 9cf58000 00000000 600d0113
9cc0: 00000001 9ceac000 800ce8b4 600d0113 9cf59d14 9cf59ce0 9cf58030 00000000
9ce0: 00000000 9cf58000 00000000 600d0193 00000001 9a2eea24 800ce8b4 00000002
9d00: 9cf59d44 9cf59d10 8006f448 8006ce68 00000002 9cf58000 00000000 9cf59dc8
9d20: 9c542000 9c1d0b00 00000001 9cf59db0 9cf58000 00000000 9cf59d9c 9cf59d48
9d40: 80499690 8049a9e8 02171870 000000a7 9cf58028 00000000 00000000 00000000
9d60: 00000200 00000000 00000000 00000000 000000a7 ffffffff 800ae784 9c4b8f40
9d80: 9c50f600 9c4b8f40 9cf58020 00007530 9cf59efc 9cf59da0 804959e4 80498d4c
9da0: 9c2189c0 9cd07a54 7ec48930 00000000 00000108 00000000 7ec48930 00000000
9dc0: 00000108 00000000 00000013 00000002 00000022 76f3cce0 00000000 00000000
9de0: 766c5c58 02050b88 00000000 00000000 020d2b8c 00000000 0205aa14 00000000
9e00: 02171870 00000000 7ec489c0 76f3dab4 0000001a 00000000 00000001 00000000
9e20: 00000001 020509d0 00000000 02051f38 00000000 7662e2be 7ec48a08 7ec48a74
9e40: 00000000 02050b88 7ec489b8 76f1f22c ffffffff 76f3dab4 766c3e28 020509d0
9e60: 00000001 00000000 00000001 02051d80 7ec489f4 00000010 02059b8c 02051bc0
9e80: 000000f0 020577ac 00000000 000ceba8 766c1000 769d34c0 00000000 00000001
9ea0: 00000000 02168f74 ffffffff 76f244a8 00000000 00000001 00000001 00000000
9ec0: 7ec48a60 766c3e28 02057b8c 7679a970 9a2c5958 9c50b460 7ec488e8 9cea23c0
9ee0: 800fef30 0000000b 9cf58000 00000000 9cf59f7c 9cf59f00 800fec9c 804958d4
9f00: 9cf59f4c 9cf59f10 800eeab4 8010bedc 00000020 00000000 9cf59f4c 9ccb7dc8
9f20: 80082594 9c218d60 8094dd40 00000000 9c2189c0 00000000 9cf58000 00000000
9f40: 9cf59f5c 9cf59f50 800eec18 800ee9b0 9cf59f84 9cea23c0 7ec488e8 9cea23c0
9f60: 00007530 0000000b 9cf58000 00000000 9cf59fa4 9cf59f80 800fef30 800fe8a0
9f80: 02057568 00002710 7679a884 00007530 00000036 8000eb84 00000000 9cf59fa8
9fa0: 8000e9c0 800fef00 00002710 7679a884 0000000b 00007530 7ec488e8 02057568
9fc0: 00002710 7679a884 00007530 00000036 00000001 0205aa14 7678f890 00000001
9fe0: 7678fa94 7ec488d4 76781768 76b84cbc 200d0010 0000000b 00000000 00000000
Backtrace:
[<80071b4c>] (do_raw_spin_lock) from [<8068d778>] (_raw_spin_lock+0x40/0x48)
r10:9c735598 r9:00000166 r8:00000000 r7:a0d66000 r6:9cf59a40 r5:00000000
r4:00000000 r3:9c2189c0
[<8068d738>] (_raw_spin_lock) from [<8048f1f4>] (_QueryProcessPageTable+0x94/0xe4)
r4:9c735000
[<8048f160>] (_QueryProcessPageTable) from [<804905a8>] (gckOS_GetPhysicalAddress+0x28/0xac)
r10:00000000 r9:00000000 r8:9c542000 r7:9c50f800 r6:9c50f800 r5:a0d66000
r4:9cf59a40 r3:00000000
[<80490580>] (gckOS_GetPhysicalAddress) from [<804a89b8>] (gckHARDWARE_SetMMU+0x3c/0x184)
r6:00000300 r5:9c513c00 r4:00000000 r3:00000000
[<804a897c>] (gckHARDWARE_SetMMU) from [<804abbc0>] (gckHARDWARE_InitializeHardware+0x284/0x780)
r6:00000300 r5:00000000 r4:9c513c00
[<804ab93c>] (gckHARDWARE_InitializeHardware) from [<804acd3c>] (gckHARDWARE_SetPowerManagementState+0x9c4/0xb54)
r5:00000000 r4:9c513c00
[<804ac378>] (gckHARDWARE_SetPowerManagementState) from [<804927c8>] (gckOS_Broadcast+0xd4/0x128)
r10:00000000 r9:00000000 r8:020d2b8c r7:00000001 r6:00000000 r5:9c513c00
r4:9c513c00
[<804926f4>] (gckOS_Broadcast) from [<8049a55c>] (gckCOMMAND_EnterCommit+0x40/0xb4)
r4:9c542000
[<8049a51c>] (gckCOMMAND_EnterCommit) from [<8049aa48>] (gckCOMMAND_Commit+0x6c/0xcdc)
r6:9c1d0b00 r5:9c542000 r4:9c542000 r3:00000000
[<8049a9dc>] (gckCOMMAND_Commit) from [<80499690>] (gckKERNEL_Dispatch+0x950/0xf7c)
r10:00000000 r9:9cf58000 r8:9cf59db0 r7:00000001 r6:9c1d0b00 r5:9c542000
r4:9cf59dc8
[<80498d40>] (gckKERNEL_Dispatch) from [<804959e4>] (drv_ioctl+0x11c/0x2bc)
r7:00007530 r6:9cf58020 r5:9c4b8f40 r4:9c50f600
[<804958c8>] (drv_ioctl) from [<800fec9c>] (do_vfs_ioctl+0x408/0x660)
r10:00000000 r9:9cf58000 r8:0000000b r7:800fef30 r6:9cea23c0 r5:7ec488e8
r4:9c50b460
[<800fe894>] (do_vfs_ioctl) from [<800fef30>] (SyS_ioctl+0x3c/0x64)
r10:00000000 r9:9cf58000 r8:0000000b r7:00007530 r6:9cea23c0 r5:7ec488e8
r4:9cea23c0
[<800feef4>] (SyS_ioctl) from [<8000e9c0>] (ret_fast_syscall+0x0/0x48)
r8:8000eb84 r7:00000036 r6:00007530 r5:7679a884 r4:00002710 r3:02057568
Code: e1a0c00d e92ddff8 e24cb004 e59f316c (e5902004)
---[ end trace 896fc1edf9e9b413 ]---
I think you need check your power on VDDPU, if there is no VDDPU, when GPU starts to work, it will crash.
Hi, can anyone please give some clue, why the above crash is happening?
Hello,
In addition to Qiang LI - it makes sense to verify Your design,
using the Design Checklist.
http://cache.freescale.com/files/32bit/doc/user_guide/IMX6DQ6SDLHDG.pdf
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------