Part Number: AM6442
Hi
I am trying to load Linux Kernel on TI AM64 evaluation board. When I am loading the prebuilt images provided in the Software Development Kit(SDK), I am getting the following error.
Terminal Log:
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 000000008fff4000, end 000000008ffffa1c ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.106-g023faefa70 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Fri May 28 14:38:23 UTC 2021
[ 0.000000] Machine model: Texas Instruments AM642 EVM
[ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] kernel BUG at arch/arm64/kernel/traps.c:405!
[ 0.000000] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.106-g023faefa70 #1
[ 0.000000] Hardware name: Texas Instruments AM642 EVM (DT)
[ 0.000000] pstate: 00000085 (nzcv daIf -PAN -UAO)
[ 0.000000] pc : do_undefinstr+0x2e4/0x308
[ 0.000000] lr : do_undefinstr+0x2f0/0x308
[ 0.000000] sp : ffff800010fcfc40
[ 0.000000] x29: ffff800010fcfc40 x28: ffff800010ffb700
[ 0.000000] x27: ffff800010c5a748 x26: ffff800010c788c0
[ 0.000000] x25: 0000000000000140 x24: 0000000000000000
[ 0.000000] x23: 0000000080000085 x22: ffff800010095994
[ 0.000000] x21: ffff800010fcfde0 x20: ffff800010ffb700
[ 0.000000] x19: ffff800010fcfca0 x18: 0000000000000010
[ 0.000000] x17: 0000000000001400 x16: 0000000000001c00
[ 0.000000] x15: ffff800010ffbc28 x14: ffffffffffffffff
[ 0.000000] x13: 0000000000000038 x12: 0101010101010101
[ 0.000000] x11: 0000000000000004 x10: 0101010101010101
[ 0.000000] x9 : 0000000000000004 x8 : 0000000000000004
[ 0.000000] x7 : 0000000000000000 x6 : ffff800010fcfc98
[ 0.000000] x5 : ffff800010fcfc98 x4 : ffff800010ffdb88
[ 0.000000] x3 : ffff8000110c0108 x2 : 0000000000000000
[ 0.000000] x1 : ffff800010ffb700 x0 : 0000000080000085
[ 0.000000] Call trace:
[ 0.000000] do_undefinstr+0x2e4/0x308
[ 0.000000] el1_undef+0x10/0x84
[ 0.000000] __arm_smccc_smc+0x0/0x2c
[ 0.000000] psci_0_2_init+0x44/0x2cc
[ 0.000000] psci_1_0_init+0x10/0x40
[ 0.000000] psci_dt_init+0x64/0x9c
[ 0.000000] setup_arch+0x464/0x5f8
[ 0.000000] start_kernel+0x88/0x42c
[ 0.000000] Code: f9401bf7 17ffff7d a9025bf5 f9001bf7 (d4210000)
[ 0.000000] random: get_random_bytes called from print_oops_end_marker+0x28/0x50 with crng_init=0
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
Do Suggest to me what shall I do to solve this?
Thanks
Himansu