This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
IMX8MM: Running fail a zephyr sample in the imx8mm #46277
Labels
You can continue the conversation there. Go to discussion →
Describe the bug
Running fail a zephyr hello_world sample in the imx8mm
I tried to rebuild u-boot without declaring the uart4 node in the DTS file but it still not working.
To Reproduce
Steps to reproduce the behavior:
Impact
The system can't run
Logs and console output
After I set the u-boot environment, I run the command
go 0x7e0000
```
u-boot=> go 0x7e0000
Starting application at 0x007E0000 ...
"Synchronous Abort" handler, esr 0x8600000f
elr: ffffffff82ad2000 lr : 0000000040206578 (reloc)
elr: 00000000007e0000 lr : 00000000bdf14578
x0 : 0000000000000001 x1 : 00000000bc913458
x2 : 00000000bc913458 x3 : 00000000007e0000
x4 : 00000000ffffffff x5 : 00000000bc903cf8
x6 : 0000000000000030 x7 : 000000000000000f
x8 : 00000000bc9046e8 x9 : 0000000000000008
x10: 00000000ffffffd0 x11: 0000000000000010
x12: 0000000000000006 x13: 000000000001869f
x14: 00000000bc9049c8 x15: 0000000000000001
x16: 00000000007e0000 x17: 0000000000000000
x18: 00000000bc90dd88 x19: 00000000bc913458
x20: 00000000007e0000 x21: 0000000000000002
x22: 00000000bc913450 x23: 00000000bdfce5f0
x24: 0000000000000002 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000bc913060 x29: 00000000bc904720
Resetting CPU ...
```
If I set u-boot environment and I run
boot
```
[ 0.000000] SError Interrupt on CPU0, code 0xbf000002 -- SError
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.3-2.0.0+gc05efad #1
[ 0.000000] Hardware name: NXP i.MX8M Mini EVK board (DT)
[ 0.000000] pstate: 80000085 (Nzcv daIf -PAN -UAO)
[ 0.000000] pc : new_slab+0x198/0x360
[ 0.000000] lr : new_slab+0x1a0/0x360
[ 0.000000] sp : ffff800011fd3dd0
[ 0.000000] x29: ffff800011fd3dd0 x28: 0000000041e00018
[ 0.000000] x27: 0000000000000000 x26: ffff80001176a738
[ 0.000000] x25: ffff000020180280 x24: 0000000000000000
[ 0.000000] x23: ffff000020180300 x22: ffff800011fe27c0
[ 0.000000] x21: 0000000000000005 x20: ffff800011ae7a58
[ 0.000000] x19: fffffe0000606000 x18: 0000000000000020
[ 0.000000] x17: 0000000000018000 x16: 0000000000000000
[ 0.000000] x15: 0000000000000100 x14: 0000000000000001
[ 0.000000] x13: 0000000000000000 x12: 0000000000000000
[ 0.000000] x11: 0000000000000000 x10: 0000000000000000
[ 0.000000] x9 : ffff800098040000 x8 : 0000000000000000
[ 0.000000] x7 : ffff800098040000 x6 : 0000000000000001
[ 0.000000] x5 : 000000000000fffd x4 : ffff0000a9be0c17
[ 0.000000] x3 : 0000000040002000 x2 : 0000000080010400
[ 0.000000] x1 : 0000000000000080 x0 : ffff800011ae7a58
[ 0.000000] Kernel panic - not syncing: Asynchronous SError Interrupt
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.3-2.0.0+gc05efad #1
[ 0.000000] Hardware name: NXP i.MX8M Mini EVK board (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb4/0xf8
[ 0.000000] panic+0x158/0x324
[ 0.000000] nmi_panic+0x84/0x88
[ 0.000000] arm64_serror_panic+0x74/0x80
[ 0.000000] do_serror+0x80/0x138
[ 0.000000] el1_error+0x84/0xf8
[ 0.000000] new_slab+0x198/0x360
[ 0.000000] __kmem_cache_create+0x1b4/0x568
[ 0.000000] create_boot_cache+0xb8/0xf4
[ 0.000000] kmem_cache_init+0x58/0x118
[ 0.000000] start_kernel+0x224/0x44c
```
Environment
Additional context
https://github.com/MYiR-Dev/myir-imx-uboot/blob/develop/arch/arm/dts/myir-imx8mm.dtsi
https://github.com/MYiR-Dev/myir-imx-linux/blob/develop/arch/arm64/boot/dts/myir/mys-imx8mm-evk.dts
https://github.com/MYiR-Dev/myir-imx-linux/blob/develop/arch/arm64/boot/dts/myir/mys-imx8mm-evk-rpmsg.dts
The text was updated successfully, but these errors were encountered: