Error booting Linux in imx8qm

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

Error booting Linux in imx8qm

166 Views
carloscs11
Contributor II

Hello guys!

I am trying to boot a Linux Image in the imx8qm. Unfortunately, I'm getting a panic message in the memory initialization. This is kernel messages:
[22:07:08:735] [ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000000a01fffff]
[22:07:08:735] [ 0.000000] SError Interrupt on CPU0, code 0xbf000002 -- SError
[22:07:08:751] [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.24 #2
[22:07:08:751] [ 0.000000] Hardware name: fsl,imx8qm-mek (DT)
[22:07:08:751] [ 0.000000] pstate: 40000085 (nZcv daIf -PAN -UAO)
[22:07:08:767] [ 0.000000] pc : set_pageblock_migratetype+0x0/0x50
[22:07:08:767] [ 0.000000] lr : memmap_init_zone+0x18c/0x1b0
[22:07:08:767] [ 0.000000] sp : ffff800012883ce0
[22:07:08:767] [ 0.000000] x29: ffff800012883ce0 x28: 0000000000080200
[22:07:08:783] [ 0.000000] x27: ffff8000128ac6c8 x26: ffff800011932000
[22:07:08:783] [ 0.000000] x25: 0ffff00000000000 x24: 0000000000000000
[22:07:08:783] [ 0.000000] x23: 00000000000a0200 x22: 0000000000000000
[22:07:08:799] [ 0.000000] x21: 0ffff00000001000 x20: ffff800012b36560
[22:07:08:799] [ 0.000000] x19: 0000000000080200 x18: ffff800012b0fcda
[22:07:08:799] [ 0.000000] x17: 0000000000000000 x16: 0000000000000000
[22:07:08:815] [ 0.000000] x15: ffff8000128a1b50 x14: 0000000000000000
[22:07:08:815] [ 0.000000] x13: ffff800012b0f000 x12: ffff8000128a1000
[22:07:08:815] [ 0.000000] x11: ffff800012b0f328 x10: 0000000000000000
[22:07:08:831] [ 0.000000] x9 : 0000000000000000 x8 : 0000000020000000
[22:07:08:831] [ 0.000000] x7 : 0000000000000018 x6 : ffff800012b36618
[22:07:08:831] [ 0.000000] x5 : 0000000000000001 x4 : 00000000ffffffff
[22:07:08:847] [ 0.000000] x3 : fffffdffffe08008 x2 : 0000000002008000
[22:07:08:847] [ 0.000000] x1 : 0000000000000001 x0 : fffffdffffe08000
[22:07:08:847] [ 0.000000] Kernel panic - not syncing: Asynchronous SError Interrupt
[22:07:08:863] [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.24 #2
[22:07:08:863] [ 0.000000] Hardware name: fsl,imx8qm-mek (DT)
[22:07:08:863] [ 0.000000] Call trace:
[22:07:08:879] [ 0.000000] dump_backtrace+0x0/0x130
[22:07:08:879] [ 0.000000] show_stack+0x14/0x20
[22:07:08:879] [ 0.000000] dump_stack+0xb4/0x100
[22:07:08:879] [ 0.000000] panic+0x158/0x324
[22:07:08:879] [ 0.000000] nmi_panic+0x84/0x90
[22:07:08:895] [ 0.000000] arm64_serror_panic+0x74/0x80
[22:07:08:895] [ 0.000000] enter_from_user_mode+0x0/0x10
[22:07:08:895] [ 0.000000] el1_error+0x84/0xf8
[22:07:08:895] [ 0.000000] set_pageblock_migratetype+0x0/0x50
[22:07:08:911] [ 0.000000] memmap_init+0x14/0x1c
[22:07:08:911] [ 0.000000] free_area_init_node+0x34c/0x470
[22:07:08:911] [ 0.000000] free_area_init_nodes+0x5c8/0x658
[22:07:08:911] [ 0.000000] bootmem_init+0xa0/0xd8
[22:07:08:927] [ 0.000000] setup_arch+0x264/0x5cc
[22:07:08:927] [ 0.000000] start_kernel+0x84/0x448

I am not an expert in Linux kernel so if somebody could give me a light about why this error is happening, I would be grateful.

Thank you!

0 Kudos
Reply
1 Reply

143 Views
pengyong_zhang
NXP Employee
NXP Employee

hi @carloscs11 

what is your DDR type? what is your BSP version?

0 Kudos
Reply