Linux 6.3.0 Kernel panic

I try the resulting image of gaisler-buildroot-2023.02-1.0.tar.bz2, get an error:

Linux version 6.3.0 (riscv64-gaisler-linux-gnu-gcc.br_real (Buildroot 2023.02.4-gaisler1.0) 12.3.0, GNU ld (GNU Binutils) 2.38) #2 SMP Wed Jan 17 18:24:14 CST 2024
Machine model: s2c-xlx-vpdev
SBI specification v1.0 detected
SBI implementation ID=0x1 Version=0x10002
SBI TIME extension detected
SBI IPI extension detected
SBI RFENCE extension detected
earlycon: sbi0 at I/O port 0x0 (options '')
printk: bootconsole [sbi0] enabled
efi: UEFI not found.
OF: reserved mem: 0x0000000080000000..0x000000008003ffff (256 KiB) map non-reusable mmode_resv0@80000000
Oops - load access fault [#1]
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 6.3.0 #2
Hardware name: s2c-xlx-vpdev (DT)
epc : create_pmd_mapping+0x28/0xf6
 ra : create_pgd_mapping+0x180/0x198
epc : ffffffff80a04922 ra : ffffffff80a0507c sp : ffffffff82e03da0
 gp : ffffffff82f00400 tp : ffffffff82e0dac0 t0 : ffffffc6febff000
 t1 : 0000000000000000 t2 : 7265736572203a46 s0 : ffffffff82e03df0
 s1 : ffffffff80000000 a0 : ffffffc6febfe000 a1 : ffffffff80000000
 a2 : 0000000080200000 a3 : 0000000000200000 a4 : 00000000000000eb
 a5 : 0000000000200000 a6 : 0000000000402000 a7 : 0000000000000018
 s2 : ffffffc6febfe000 s3 : 0000000000200000 s4 : 00000000000000eb
 s5 : ffffffff82effc38 s6 : 0000000000000000 s7 : ffffffff82f0dff0
 s8 : ffffffff80c01000 s9 : 0000000000000001 s10: 0080000000000000
 s11: ffffffff82effc39 t3 : 0000000080000000 t4 : ffffffff80c0d1b8
 t5 : ffffffff82f143d8 t6 : ffffffff82e03b58
status: 0000000200000100 badaddr: ffffffc6febfe000 cause: 0000000000000005
[<ffffffff80a04922>] create_pmd_mapping+0x28/0xf6
[<ffffffff80a0507c>] create_pgd_mapping+0x180/0x198
[<ffffffff80a052da>] create_kernel_page_table+0x62/0x7e
[<ffffffff80a060f2>] paging_init+0x452/0x56e
[<ffffffff80a036bc>] setup_arch+0xd8/0x59c
[<ffffffff80a00742>] start_kernel+0x8e/0x7e4
Code: fc26 ec56 e85a e45e 078e 0880 0933 00f5 07b7 0020 (3503) 0009
---[ end trace 0000000000000000 ]---
Kernel panic - not syncing: Attempted to kill the idle task!
---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---

The same issue appears in Linux 5.17 and later versions, 5.9.10 can successfully boot.

Does anyone know how to fix it?

Due to DTS description error, Now it’s working !

Hi WEI, thanks for reporting that you solved the issue!

Regards,
Joaquin