I download android 5.1.1_2.1.0 core images from this link. Then , I use MFG tool(For android5.1.1) to program i.MX6Q image to my imx6q sabresd evk. When I reboot the device, android cannot boot successfully and show the following message.
Android OS for i.MX Applications Processors|NXP
I want to know whether someone also have this issue.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = d51e0000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 2 PID: 247 Comm: DispSync Not tainted 3.14.52-08716-g279192c-dirty #1
task: d451b3c0 ti: d53c6000 task.ti: d53c6000
PC is at rb_erase+0x1f8/0x34c
LR is at rb_erase+0x128/0x34c
pc : [<c03358ac>] lr : [<c03357dc>] psr: 600b0193
sp : d53c7da0 ip : 00000000 fp : ffffdd54
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
r10: ee711370 r9 : 00000000 r8 : d53c7e60
r7 : ee711370 r6 : ee711338 r5 : ee71137c r4 : d53c7e60
r3 : d5803e60 r2 : 00000000 r1 : ee71137c r0 : 00000000
Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 251e004a DAC: 00000015
PC: 0xc033582c:
582c 05812000 01a0200c 0a000004 e5940008 e1530000 05842008 15842004 e1a0200c
584c e5920004 e3500000 0a000002 e590c000 e31c0001 0a00004d e592c008 e35c0000
586c 0a000002 e59c0000 e3100001 0a00003d e5823000 e5932000 e3120001 0a000059
588c e3d22003 0affffb2 e1a00003 e1a03002 e5932004 e1520000 1affffd4 e5932008
58ac e5920000 e3100001 1a000010 e592c004 e3830001 e583c008 e5823004 e58c0000
58cc e5930000 e3d04003 e5820000 e5832000 05812000 01a0200c 0a000004 e5940008
58ec e1530000 05842008 15842004 e1a0200c e5920008 e3500000 0a000002 e590c000
590c e31c0001 0a00000f e592c004 e35c0000 0affffd6 e59c0000 e3100001 1affffd3
LR: 0xc033575c:
575c 0a00001e e8bd0070 e12fff1e e5902000 e3d23003 05814000 0a000003 e593c008
577c e150000c 05834008 15834004 e3540000 15842000 1afffff2 e3120001 1a000013
579c eaffffef e5903000 e3d32003 e58c3000 0581c000 0affffea e5923008 e1500003
57bc 0582c008 1582c004 eaffffe5 e1a06004 e5945004 e1a02004 e1a03004 eaffffce
57dc e5920000 e582c000 e3100001 0affffdc e3530000 13a00000 1a000028 eaffffd8
57fc e5920000 e3100001 1a000010 e592c008 e3830001 e583c004 e5823008 e58c0000
581c e5930000 e3d04003 e5820000 e5832000 05812000 01a0200c 0a000004 e5940008
583c e1530000 05842008 15842004 e1a0200c e5920004 e3500000 0a000002 e590c000
SP: 0xd53c7d20:
7d20 000000f7 d53c7e60 ee711370 d53c7e60 d53c6000 c0c4ec40 30fcf428 00000018
7d40 000061a8 c03358ac 600b0193 ffffffff d53c7d8c c0012498 00000000 ee71137c
7d60 00000000 d5803e60 d53c7e60 ee71137c ee711338 ee711370 d53c7e60 00000000
7d80 ee711370 ffffdd54 00000000 d53c7da0 c03357dc c03358ac 600b0193 ffffffff
7da0 00000001 ee711a88 ee711338 c004fbc8 d53c7e60 00000001 ee711338 ee711370
7dc0 d53c7e24 b6471228 00000000 c004ffe0 ffffffff a00b0113 d53c7e28 d53c7e60
7de0 d53c7e28 d53c6000 00000000 c0050000 d53c7e60 c0087394 d53c7e24 00000000
7e00 d53c7e24 b6471228 00001ca4 08ca6c00 00001def d53c7f78 0000dff4 08ca6c00
FP: 0xffffdcd4:
dcd4 ******** ******** ******** ******** ******** ******** ******** ********
dcf4 ******** ******** ******** ******** ******** ******** ******** ********
dd14 ******** ******** ******** ******** ******** ******** ******** ********
dd34 ******** ******** ******** ******** ******** ******** ******** ********
dd54 ******** ******** ******** ******** ******** ******** ******** ********
dd74 ******** ******** ******** ******** ******** ******** ******** ********
dd94 ******** ******** ******** ******** ******** ******** ******** ********
ddb4 ******** ******** ******** ******** ******** ******** ******** ********
R1: 0xee7112fc:
12fc 00000000 00000000 00000400 00000303 00000000 000002e3 00000000 ffffffe2
131c d4076780 00000000 ee711320 00000000 ee711328 d4034000 00000000 b4a0b49f
133c 00000001 00000000 00000000 347fb600 00000018 00000001 00000000 00002205
135c 00000002 00000000 00000000 00000000 00000000 ee711338 00000000 00000001
137c d53a9b38 ee711a88 00000000 00000001 00000000 c007c250 00000000 00000000
139c 00000000 00000000 00000000 ee711338 00000001 00000000 00000000 00000000
13bc 00000000 00000001 00000000 c007c428 00000000 00000000 00000000 63e35ed8
13dc 00000009 ee711338 00000002 00000007 00000000 00000000 00000000 00000001
R3: 0xd5803de0:
3de0 00000000 d5803e24 b5873a28 00000000 00000000 c0087370 d5803e24 00000000
3e00 d5803e24 b5873a28 7821f95d 08ca6c03 d5803e58 d5803f78 7822bcad 08ca6c03
3e20 d5803ef0 d42f4180 00000064 d5803e2c d5803e2c d42f4188 d42f4188 d56085c0
3e40 d42f4184 b5873000 d4accc40 00000a28 00000000 00000000 00000000 ffffffff
3e60 d53a9b39 00000000 00000000 00000000 7822bcad 08ca6c03 7821f95d 08ca6c03
3e80 c004fe10 ee711370 00000001 000001dc c00507c4 546d7041 00656e6f 00726576
3ea0 00000000 00000000 d56085c0 d5803ee0 d5198f80 00000000 b5873a28 00000000
3ec0 00000000 b5873a28 d5802000 b5873a24 08ca6bff c0088b6c ffffffff 00000000
R4: 0xd53c7de0:
7de0 d53c7e28 d53c6000 00000000 c0050000 d53c7e60 c0087394 d53c7e24 00000000
7e00 d53c7e24 b6471228 00001ca4 08ca6c00 00001def d53c7f78 0000dff4 08ca6c00
7e20 00000001 d42f5840 00000064 d53c7e2c d53c7e2c d53c7e34 d53c7e34 d451b3c0
7e40 00000000 b6471000 d43f5c00 00000228 00000000 00000000 00000000 ffffffff
7e60 00000001 d5803e60 d53a9b38 00000000 0000dff4 08ca6c00 00001ca4 08ca6c00
7e80 c004fe10 ee711370 00000001 000000f7 00000000 70736944 636e7953 676e6900
7ea0 00007265 00000000 d451b3c0 b6484000 d43f5c00 00000000 b6471228 ffffdd54
7ec0 00000000 b6471228 d53c6000 b6471224 08ca6be7 c0088b6c ffffffff d4840608
R5: 0xee7112fc:
12fc 00000000 00000000 00000400 00000303 00000000 000002e3 00000000 ffffffe2
131c d4076780 00000000 ee711320 00000000 ee711328 d4034000 00000000 b4a0b49f
133c 00000001 00000000 00000000 347fb600 00000018 00000001 00000000 00002205
135c 00000002 00000000 00000000 00000000 00000000 ee711338 00000000 00000001
137c d53a9b38 ee711a88 00000000 00000001 00000000 c007c250 00000000 00000000
139c 00000000 00000000 00000000 ee711338 00000001 00000000 00000000 00000000
13bc 00000000 00000001 00000000 c007c428 00000000 00000000 00000000 63e35ed8
13dc 00000009 ee711338 00000002 00000007 00000000 00000000 00000000 00000001
R6: 0xee7112b8:
12b8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
12d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
12f8 00000000 00000000 00000000 00000400 00000303 00000000 000002e3 00000000
1318 ffffffe2 d4076780 00000000 ee711320 00000000 ee711328 d4034000 00000000
1338 b4a0b49f 00000001 00000000 00000000 347fb600 00000018 00000001 00000000
1358 00002205 00000002 00000000 00000000 00000000 00000000 ee711338 00000000
1378 00000001 d53a9b38 ee711a88 00000000 00000001 00000000 c007c250 00000000
1398 00000000 00000000 00000000 00000000 ee711338 00000001 00000000 00000000
R7: 0xee7112f0:
12f0 00000000 00000000 00000000 00000000 00000000 00000400 00000303 00000000
1310 000002e3 00000000 ffffffe2 d4076780 00000000 ee711320 00000000 ee711328
1330 d4034000 00000000 b4a0b49f 00000001 00000000 00000000 347fb600 00000018
1350 00000001 00000000 00002205 00000002 00000000 00000000 00000000 00000000
1370 ee711338 00000000 00000001 d53a9b38 ee711a88 00000000 00000001 00000000
1390 c007c250 00000000 00000000 00000000 00000000 00000000 ee711338 00000001
13b0 00000000 00000000 00000000 00000000 00000001 00000000 c007c428 00000000
13d0 00000000 00000000 63e35ed8 00000009 ee711338 00000002 00000007 00000000
R8: 0xd53c7de0:
7de0 d53c7e28 d53c6000 00000000 c0050000 d53c7e60 c0087394 d53c7e24 00000000
7e00 d53c7e24 b6471228 00001ca4 08ca6c00 00001def d53c7f78 0000dff4 08ca6c00
7e20 00000001 d42f5840 00000064 d53c7e2c d53c7e2c d53c7e34 d53c7e34 d451b3c0
7e40 00000000 b6471000 d43f5c00 00000228 00000000 00000000 00000000 ffffffff
7e60 00000001 d5803e60 d53a9b38 00000000 0000dff4 08ca6c00 00001ca4 08ca6c00
7e80 c004fe10 ee711370 00000001 000000f7 00000000 70736944 636e7953 676e6900
7ea0 00007265 00000000 d451b3c0 b6484000 d43f5c00 00000000 b6471228 ffffdd54
7ec0 00000000 b6471228 d53c6000 b6471224 08ca6be7 c0088b6c ffffffff d4840608
R10: 0xee7112f0:
12f0 00000000 00000000 00000000 00000000 00000000 00000400 00000303 00000000
1310 000002e3 00000000 ffffffe2 d4076780 00000000 ee711320 00000000 ee711328
1330 d4034000 00000000 b4a0b49f 00000001 00000000 00000000 347fb600 00000018
1350 00000001 00000000 00002205 00000002 00000000 00000000 00000000 00000000
1370 ee711338 00000000 00000001 d53a9b38 ee711a88 00000000 00000001 00000000
1390 c007c250 00000000 00000000 00000000 00000000 00000000 ee711338 00000001
13b0 00000000 00000000 00000000 00000000 00000001 00000000 c007c428 00000000
13d0 00000000 00000000 63e35ed8 00000009 ee711338 00000002 00000007 00000000
Process DispSync (pid: 247, stack limit = 0xd53c6238)
Stack: (0xd53c7da0 to 0xd53c8000)
7da0: 00000001 ee711a88 ee711338 c004fbc8 d53c7e60 00000001 ee711338 ee711370
7dc0: d53c7e24 b6471228 00000000 c004ffe0 ffffffff a00b0113 d53c7e28 d53c7e60
7de0: d53c7e28 d53c6000 00000000 c0050000 d53c7e60 c0087394 d53c7e24 00000000
7e00: d53c7e24 b6471228 00001ca4 08ca6c00 00001def d53c7f78 0000dff4 08ca6c00
7e20: 00000001 d42f5840 00000064 d53c7e2c d53c7e2c d53c7e34 d53c7e34 d451b3c0
7e40: 00000000 b6471000 d43f5c00 00000228 00000000 00000000 00000000 ffffffff
7e60: 00000001 d5803e60 d53a9b38 00000000 0000dff4 08ca6c00 00001ca4 08ca6c00
7e80: c004fe10 ee711370 00000001 000000f7 00000000 70736944 636e7953 676e6900
7ea0: 00007265 00000000 d451b3c0 b6484000 d43f5c00 00000000 b6471228 ffffdd54
7ec0: 00000000 b6471228 d53c6000 b6471224 08ca6be7 c0088b6c ffffffff d4840608
7ee0: d451b3c0 ee712c40 ee712c88 d4840608 d451b3c0 c005e2d0 d451b3c0 ee712c40
7f00: c0c4ec40 d53c6000 d53c7fb0 00000080 b6203d2c c005620c ee712c40 d48405c0
7f20: 0d88ba18 00000000 00000067 00000000 ffffffff 00000000 c0c4ec40 00000000
7f40: 00000080 00000000 ffffdd54 b6471228 d53c6000 cf492164 08ca6be7 c00895d8
7f60: b6471224 00000000 ffffffff 00000001 00001ca4 08ca6c00 00001ca4 08ca6c00
7f80: 25c17c9c 391e0964 b6471224 3b9aca00 b64711d0 000000f0 c000e564 00000000
7fa0: b6ed76b8 c000e3e0 b6471224 3b9aca00 b6471228 00000080 ffffdd54 b6203d2c
7fc0: b6471224 3b9aca00 b64711d0 000000f0 ffffdd54 00000080 b6203d2c b6ed76b8
7fe0: b6203cb0 b6203ca0 b6f24d85 b6f213c0 000f0010 b6471228 4f7fe79f 717cf98d
[<c03358ac>] (rb_erase) from [<c004fbc8>] (__remove_hrtimer+0x38/0xb8)
[<c004fbc8>] (__remove_hrtimer) from [<c004ffe0>] (hrtimer_try_to_cancel+0x8c/0x
98)
[<c004ffe0>] (hrtimer_try_to_cancel) from [<c0050000>] (hrtimer_cancel+0x14/0x20
)
[<c0050000>] (hrtimer_cancel) from [<c0087394>] (futex_wait+0x1c0/0x25c)
[<c0087394>] (futex_wait) from [<c0088b6c>] (do_futex+0xd4/0xab4)
[<c0088b6c>] (do_futex) from [<c00895d8>] (SyS_futex+0x8c/0x168)
[<c00895d8>] (SyS_futex) from [<c000e3e0>] (ret_fast_syscall+0x0/0x38)
Code: e5932004 e1520000 1affffd4 e5932008 (e5920000)
---[ end trace df11da99826d28c5 ]---
Internal error: Oops: 805 [#2] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 3.14.52-08716-g279192c-dirt
y #1
task: d4073980 ti: d4098000 task.ti: d4098000
PC is at rb_erase+0x214/0x34c
LR is at rb_erase+0x128/0x34c
pc : [<c03358c8>] lr : [<c03357dc>] psr: 60070093
sp : d4099f68 ip : 00000000 fp : 00000000
r10: ee709370 r9 : 00000000 r8 : ee709a88
r7 : ee709370 r6 : ee709338 r5 : ee70937c r4 : ee709a88
r3 : d51f7f28 r2 : c0cfc480 r1 : ee70937c r0 : d51f7f29
Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 25bb004a DAC: 00000015
PC: 0xc0335848:
5848 e1a0200c e5920004 e3500000 0a000002 e590c000 e31c0001 0a00004d e592c008
5868 e35c0000 0a000002 e59c0000 e3100001 0a00003d e5823000 e5932000 e3120001
5888 0a000059 e3d22003 0affffb2 e1a00003 e1a03002 e5932004 e1520000 1affffd4
58a8 e5932008 e5920000 e3100001 1a000010 e592c004 e3830001 e583c008 e5823004
58c8 e58c0000 e5930000 e3d04003 e5820000 e5832000 05812000 01a0200c 0a000004
58e8 e5940008 e1530000 05842008 15842004 e1a0200c e5920008 e3500000 0a000002
5908 e590c000 e31c0001 0a00000f e592c004 e35c0000 0affffd6 e59c0000 e3100001
5928 1affffd3 e59c4008 e3540000 e5824004 13825001 e58c2008 11a00002 01a00002
LR: 0xc033575c:
575c 0a00001e e8bd0070 e12fff1e e5902000 e3d23003 05814000 0a000003 e593c008
577c e150000c 05834008 15834004 e3540000 15842000 1afffff2 e3120001 1a000013
579c eaffffef e5903000 e3d32003 e58c3000 0581c000 0affffea e5923008 e1500003
57bc 0582c008 1582c004 eaffffe5 e1a06004 e5945004 e1a02004 e1a03004 eaffffce
57dc e5920000 e582c000 e3100001 0affffdc e3530000 13a00000 1a000028 eaffffd8
57fc e5920000 e3100001 1a000010 e592c008 e3830001 e583c004 e5823008 e58c0000
581c e5930000 e3d04003 e5820000 e5832000 05812000 01a0200c 0a000004 e5940008
583c e1530000 05842008 15842004 e1a0200c e5920004 e3500000 0a000002 e590c000
SP: 0xd4099ee8:
9ee8 ee70a120 a0070093 ee70a120 d490a580 ee70a188 60070013 00000000 c088f308
9f08 00000000 c03358c8 60070093 ffffffff d4099f54 c0012498 d51f7f29 ee70937c
9f28 c0cfc480 d51f7f28 ee709a88 ee70937c ee709338 ee709370 ee709a88 00000000
9f48 ee709370 00000000 00000000 d4099f68 c03357dc c03358c8 60070093 ffffffff
9f68 00000001 c0cfc480 ee709338 c004fbc8 ee709a88 00000001 ee709338 ee709370
9f88 ee709a88 412fc09a c0d3e488 c004ffe0 00000018 a0070093 ee709a88 ee709a88
9fa8 00000018 00000018 c0cf707d c0050000 365bec33 c0085584 00000000 2dabc000
9fc8 365bec33 00000018 c0c585b4 d4098000 c0c585b4 c0892a8c c0cf707d c0cf707d
R0: 0xd51f7ea9:
7ea8 d51f7ec4 0000c350 00000000 fc23ac00 00000006 d51f6000 00000001 0000c350
7ec8 00000000 fc23ac00 00000006 d51f6000 00000001 d51f7f28 c0d3e184 c088b990
7ee8 0000c350 00000001 00000001 fc23ac00 00000006 00000001 0000c350 d51f6000
7f08 be86f908 00000000 be86f96c c00510c0 0000c350 00000000 fc246f50 00000006
7f28 d5a79e61 00000000 00000000 00000000 94845256 0000001e 94838f06 0000001e
7f48 c004fe10 ee709370 00000001 000000d2 c00507c4 6474656e 2f726500 00000030
7f68 00000000 00000000 d48061c0 00000000 be86f908 00000000 ffffb235 000000a2
7f88 c000e564 d51f6000 00000000 c00511d8 0000001e 00000000 0000001e c000e3e0
7fa8 0000001e 00000000 be86f900 be86f908 db33aad6 00000000 0000001e 00000000
R1: 0xee7092fc:
92fc 00000000 00000000 00000400 00000355 00000000 00000273 00000000 fffffff3
931c d4075080 00000000 ee709320 00000000 ee709328 d4032000 00000000 8fec8feb
933c 00000001 00000000 00000000 36e21000 00000018 00000001 00000000 00002510
935c 00000002 00000000 00000000 00000000 00000000 ee709338 00000000 00000001
937c d5a79e60 c0cfc480 00000000 00000001 00000000 c007c250 00000000 0e4e1c00
939c 00000000 00000000 00000000 ee709338 00000001 00000000 00000000 00000000
93bc 00000000 00000001 00000000 c007c428 00000000 0e4e1c00 00000000 63e35ed8
93dc 00000009 ee709338 00000002 00000007 00000000 00000000 00000000 00000001
R2: 0xc0cfc400:
c400 00000000 00000000 d4a4e010 c0c69f7c 00000000 00000000 00000000 00000000
c420 00000000 00000000 00000000 00000003 00000000 00000000 00000000 00000000
c440 00000000 00000000 d40027c0 d40027d0 00000400 00000035 000005ee d40027e0
c460 d40027f0 00000000 005e005e 00000000 3b9aca00 00000000 2faf0800 00000000
c480 d51f7f28 d51f7f28 00000000 00000000 36e21000 00000018 36e21000 00000018
c4a0 c0064c88 ee709370 00000001 00000037 c0055808 31757069 7361745f 0000006b
c4c0 00000000 00000000 00000000 00000000 c0c69f44 d47ee6c8 00000000 c0cfc4dc
c4e0 c0cfc4dc d47ee6d4 d47ee6d4 00000000 00000000 0000000f 00000000 00000001
R3: 0xd51f7ea8:
7ea8 d51f7ec4 0000c350 00000000 fc23ac00 00000006 d51f6000 00000001 0000c350
7ec8 00000000 fc23ac00 00000006 d51f6000 00000001 d51f7f28 c0d3e184 c088b990
7ee8 0000c350 00000001 00000001 fc23ac00 00000006 00000001 0000c350 d51f6000
7f08 be86f908 00000000 be86f96c c00510c0 0000c350 00000000 fc246f50 00000006
7f28 d5a79e61 00000000 00000000 00000000 94845256 0000001e 94838f06 0000001e
7f48 c004fe10 ee709370 00000001 000000d2 c00507c4 6474656e 2f726500 00000030
7f68 00000000 00000000 d48061c0 00000000 be86f908 00000000 ffffb235 000000a2
7f88 c000e564 d51f6000 00000000 c00511d8 0000001e 00000000 0000001e c000e3e0
Solved! Go to Solution.
Hi,
I burned & tested the version of android BSP on iMX6Q-SabreSDP board for 2 times, System can normally boot.
Regards,
Weidong
Hi, Weidong,
I test android4.4.3 and android5.0.0 core image, system can normally boot. But when I use MFG tool program image to emmc or SD card, it cannot boot, and show error message: NULL Pointer.
The Android in my SABRESD EVK is 4.4.3. Then I use MFG tool to program 5.1.1 image to emmc. Could u help to check whether it has something to do with this?
Hi Klauswang
Have you verified your fstab settings is correct for SDCard or eMMC boot?
Thanks
Saurabh
Hi, Saurabh,
The Image Package is provided by NXP i.MX android website. And I could see mmcblk3 is use form kernel message(I use emmc boot, and remove SD card for slot 3). So I think the fstab settings is correct.
The version of evk is "MCIMX6Q-SDB version: SCH-27516 Rev B5" . Could u help me to check whether this EVK (version: SCH-27516) can support android5.1.1?
This might not be the same since I tested with i.MX7 but if before the crash, you got error messages with "init: cannot find '/system/bin...." the provided system.img is not in the new raw format now required by Android 5.1. If that's your case, you need a linux machine, install simg2img : sudo simg2img system.img system_raw.img.
My 2 cents, Philippe.
Thanks, Philippe. I have checked i use the right ramdisk. The problem you meet is not the same with me. My problem is that when Android boot , system show "NULL pointer."