AnsweredAssumed Answered

iMX7D Sabre based board sometimes failed to boot

Question asked by Vishnu Pratap singh on Feb 3, 2018
Latest reply on Feb 5, 2018 by igorpadykov

Hi,

 

I am using the custom board which is based on iMX7D Sabre board.

Sometime this board fails to bootup, this issue i am observing only after i moved to  latest linux kernel version  4.1.46

Earlier kernel version 4.1.38, i didn't faced this issue on the same board.

 

Below is the Kernel logs

1.


Starting kernel ...

Uncompressing Linux... done, booting the kernel.
6Booting Linux on physical CPU 0x0
5Linux version 4.1.46-gdcd9f0a-dirty (ee209967@buildjup01) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #31 SMP PREEMPT Sat Feb 3 17:35:22 IST 2018
6CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
6CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
6Machine model: Freescale i.MX7D SabreSD Board
6Reserved memory: created CMA memory pool at 0xac000000, size 320 MiB
6Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
6Memory policy: Data cache writealloc
7On node 0 totalpages: 262144
7free_area_init_node: node 0, pgdat 80bfa180, node_mem_map ab758000
7 Normal zone: 2048 pages used for memmap
7 Normal zone: 0 pages reserved
7 Normal zone: 262144 pages, LIFO batch:31
6PERCPU: Embedded 12 pages/cpu @ab71b000 s16780 r8192 d24180 u49152
7pcpu-alloc: s16780 r8192 d24180 u49152 alloc=12*4096
7pcpu-alloc: [0] 0 [0] 1
6Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
5Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk2p5 rootwait rw
6PID hash table entries: 4096 (order: 2, 16384 bytes)
6Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
6Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
6Memory: 698248K/1048576K available (8418K kernel code, 436K rwdata, 2944K rodata, 436K init, 450K bss, 22648K reserved, 327680K cma-reserved, 0K highmem)
5Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80b20d1c (11364 kB)
.init : 0x80b21000 - 0x80b8e000 ( 436 kB)
.data : 0x80b8e000 - 0x80bfb360 ( 437 kB)
.bss : 0x80bfe000 - 0x80c6e9c0 ( 451 kB)
6SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
6Preemptible hierarchical RCU implementation.
6 Additional per-CPU info printed with stalls.
6 RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
6RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
6NR_IRQS:16 nr_irqs:16 16
6Architected cp15 timer(s) running at 8.00MHz (phys).
6clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
6sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
6Switching to timer-based delay loop, resolution 125ns
6mxc_clocksource_init 3000000
6Ignoring duplicate/late registration of read_current_timer delay
6clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
6Console: colour dummy device 80x30
6Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
6pid_max: default: 32768 minimum: 301
6Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
6Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
6CPU: Testing write buffer coherency: ok
3/cpus/cpu@0 missing clock-frequency property
3/cpus/cpu@1 missing clock-frequency property
6CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
6Setting up static identity map for 0x800082c0 - 0x80008318
1Unable to handle kernel NULL pointer dereference at virtual address 00000000
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 00000037
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1Unable to handle kernel NULL pointer dereference at virtual address 0000001f
1pgd = 80004000
1[0000001f] *pgd=00000000
0Internal error: Oops: 5 [#1] PREEMPT SMP ARM
dModules linked in:
dCPU: 0 PID: -1 Comm: ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Not tainted 4.1.46-gdcd9f0a-dirty #31
dHardware name: Freescale i.MX7 Dual (Device Tree)
dtask: a807d300 ti: a8094000 task.ti: ffffffff
PC is at show_pte+0x24/0x10c
LR is at __do_kernel_fault.part.0+0x50/0x74
pc : [<8001c1e4>] lr : [<80801418>] psr: a0000193
sp : a8096068 ip : 000000e6 fp : 00000014
r10: 00000037 r9 : a80a1fc8 r8 : a807d7c0
r7 : ffffffff r6 : 00000000 r5 : 0000001f r4 : ffffffff
r3 : 80b9f080 r2 : 00000002 r1 : 0000001f r0 : 00001c44
Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 8000406a DAC: 00000015
0Process ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ (pid: -1, stack limit = 0x0000020f)
0Stack: (0xa8096068 to 0x00001fff)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096170 to 0xa80961b8)
6160: 00001c44 0000001f 00000002 80b9f080
6180: ffffffff 0000001f 00000000 ffffffff a807d7c0 a80a1fc8 00000037 00000014
61a0: 000000c6 a80961b8 80801418 8001c1e4 a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa80962c0 to 0xa8096308)
62c0: 00001c44 0000001f 00000002 80b9f080 ffffffff 0000001f 00000000 ffffffff
62e0: a807d7c0 a80a1fc8 00000037 00000014 000000c6 a8096308 80801418 8001c1e4
6300: a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096410 to 0xa8096458)
6400: 00001c44 0000001f 00000002 80b9f080
6420: ffffffff 0000001f 00000000 ffffffff a807d7c0 a80a1fc8 00000037 00000014
6440: 000000c6 a8096458 80801418 8001c1e4 a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096560 to 0xa80965a8)
6560: 00001c44 0000001f 00000002 80b9f080 ffffffff 0000001f 00000000 ffffffff
6580: a807d7c0 a80a1fc8 00000037 00000014 000000c6 a80965a8 80801418 8001c1e4
65a0: a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa80966b0 to 0xa80966f8)
66a0: 00001c44 0000001f 00000002 80b9f080
66c0: ffffffff 0000001f 00000000 ffffffff a807d7c0 a80a1fc8 00000037 00000014
66e0: 000000c6 a80966f8 80801418 8001c1e4 a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096800 to 0xa8096848)
6800: 00001c44 0000001f 00000002 80b9f080 ffffffff 0000001f 00000000 ffffffff
6820: a807d7c0 a80a1fc8 00000037 00000014 000000c6 a8096848 80801418 8001c1e4
6840: a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096950 to 0xa8096998)
6940: 00001c44 0000001f 00000002 80b9f080
6960: ffffffff 0000001f 00000000 ffffffff a807d7c0 a80a1fc8 00000037 00000014
6980: 000000a6 a8096998 80801418 8001c1e4 a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096aa0 to 0xa8096ae8)
CP6Ua1a0:: 00f0a0i1cl44e d 0t0o0 c0o0m0e 1ofn 0l0in0e0
060B2 r80obu9gf0h8t 0up f1ff fCfPUfsf 0
060S00M00P1:f T ot0a0l00 0o0f00 1 fprfofcffefsfsofr
a6caticva0t:e ad8 (0167.d07c00 Boag80oaM1IPfSc)8 .00
00603C7PU 00A0l0l01 4CP U(0s0)0 s0t0a0cr6 tae8d 0i9n6a e8S V8C 0mo8d0e1.
18 8001c16e4d 4
vtm6pafse:0 : ian0i0t0i0al1i93z efd
fff1fUnfaf f
le [t<o8 00h13a2nd1l8>e] k e(_r_ndela bNtUL_Lsv c)p oifnrtoemr de[r<8e0f0e1cr1ee4n>c] e( sath voiw_rpttuael+ 0xa2d4dr/es0sx 100c)0
0[0<01840 0
1c11pged 4=> ]80 00(4sh0o0w0
pte1)[0 0f0r0o00m1 4[] <*80p80g1d4=010080>]0 0(00_
do_kernel_fault.part.0+0x50/0x74) _
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096bf0 to 0xa8096c38)
6be0: 00001c44 0000001f 00000002 80b9f080
6c00: ffffffff 0000001f 00000000 ffffffff a807d7c0 a80a1fc8 00000037 00000014
6c20: 000000a6 a8096c38 80801418 8001c1e4 a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096d40 to 0xa8096d88)
6d40: 00001c44 0000001f 00000002 80b9f080 ffffffff 0000001f 00000000 ffffffff
6d60: a807d7c0 a80a1fc8 00000037 00000014 000000c6 a8096d88 80801418 8001c1e4
6d80: a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096e90 to 0xa8096ed8)
6e80: 00001c44 0000001f 00000002 80b9f080
6ea0: ffffffff 0000001f 00000000 ffffffff a807d7c0 a80a1fc8 00000037 00000014
6ec0: 000000c6 a8096ed8 80801418 8001c1e4 a0000193 ffffffff
[<80013218>] (__dabt_svc) from [<8001c1e4>] (show_pte+0x24/0x10c)
[<8001c1e4>] (show_pte) from [<80801418>] (__do_kernel_fault.part.0+0x50/0x74)
[<80801418>] (__do_kernel_fault.part.0) from [<8001c63c>] (do_page_fault+0x370/0x384)
[<8001c63c>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x3c/0xbc)
[<800092a8>] (do_DataAbort) from [<80013218>] (__dabt_svc+0x38/0x60)
Exception stack(0xa8096fe0 to 0xa8097028)
6fe0: 00001c44 0000001f 00000002 80b9f080 ffffffff 0000001f 00000000 ffffffff
7000: a807d7c0 a80a1fc8 00000037 00000014 000000c6 a8097028 80801418 8001c1e4
7020: a0000193 ffffffff

 

 

Is someone else seen such issue with iMXD with latest kernel ?

Any pointer to solve this will help to fix it.

Outcomes