This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6548: AM6548 SR2.0 Unhandled Exception from EL1

Part Number: AM6548


Hello,

Recently I purchased some AM65x_IDK_EVMs that have AM6548 SR2.0 SoCs on them. 

Previously I have developed a Linux-like application on an AM65x_GP_EVM (SR1.0), with a slightly modified U-boot from the Linux SDK, and my application / kernel was working. 

But now, on the AM65x_IDK_EVMs, my application / kernel is not working. What is peculiar is that U-boot works completely fine, unchanged from when I used it on SR1.0, but when I boot into my kernel I get the following error:

Starting kernel ...

ERROR:   Unhandled External Abort received on 0x80000000 from S-EL1
ERROR:   exception reason=0 syndrome=0xbf000002
Unhandled Exception from EL1
x0             = 0xffff800000031580
x1             = 0x0000000000000001
x2             = 0x0000000000000001
x3             = 0xffffffff801bf9e0
x4             = 0x0000000000000000
x5             = 0xffffffff809e0dc8
x6             = 0x00000000819a3000
x7             = 0x00000000000000c0
x8             = 0x0000000000000080
x9             = 0x0000000000000000
x10            = 0x0000000002028000
x11            = 0x0000000000000002
x12            = 0x0000000000000202
x13            = 0x0000000002028000
x14            = 0x00000000000000f8
x15            = 0x0000000081d16000
x16            = 0x0000000000000010
x17            = 0x0000000081d16000
x18            = 0xffffffff80781800
x19            = 0xffff800000031440
x20            = 0x0000000000000001
x21            = 0xffff800000031580
x22            = 0xffff800000031440
x23            = 0x0000000000000001
x24            = 0x0000000000000001
x25            = 0xffff8000024b8888
x26            = 0x0000060000000600
x27            = 0xffffffff80780ce0
x28            = 0xffff800002009548
x29            = 0xffffffff809e0dc0
x30            = 0xffffffff80491cec
scr_el3        = 0x000000000000073d
sctlr_el3      = 0x0000000030cd183f
cptr_el3       = 0x0000000000000000
tcr_el3        = 0x0000000080803520
daif           = 0x00000000000002c0
mair_el3       = 0x00000000004404ff
spsr_el3       = 0x00000000600000c4
elr_el3        = 0xffffffff803bc860
ttbr0_el3      = 0x0000000083010c00
esr_el3        = 0x00000000bf000002
far_el3        = 0xfd4ad2636c1180ef
spsr_el1       = 0x00000000000000c4
elr_el1        = 0xffffffff8039ec1c
spsr_abt       = 0x0000000000000000
spsr_und       = 0x0000000000000000
spsr_irq       = 0x0000000000000000
spsr_fiq       = 0x0000000000000000
sctlr_el1      = 0x0000000030d01805
actlr_el1      = 0x0000000000000000
cpacr_el1      = 0x0000000000300000
csselr_el1     = 0x0000000000000000
sp_el1         = 0xffffffff809af000
esr_el1        = 0x0000000000000000
ttbr0_el1      = 0x00000000819a4000
ttbr1_el1      = 0x00000000819a3000
mair_el1       = 0x00ffeebbaa440400
amair_el1      = 0x0000000000000000
tcr_el1        = 0x00000077b5903590
tpidr_el1      = 0xffffffff80781800
tpidr_el0      = 0xffffffff809dcf60
tpidrro_el0    = 0x0000000000000000
par_el1        = 0x0000000000000000
mpidr_el1      = 0x0000000080000000
afsr0_el1      = 0x0000000000000000
afsr1_el1      = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1       = 0xffffffff801c5800
cntp_ctl_el0   = 0x0000000000000000
cntp_cval_el0  = 0x0000000000000000
cntv_ctl_el0   = 0x0000000000000002
cntv_cval_el0  = 0x0000000000000000
cntkctl_el1    = 0x0000000000000000
sp_el0         = 0x000000008300a3d0
isr_el1        = 0x0000000000000000
dacr32_el2     = 0x0000000000000000
ifsr32_el2     = 0x0000000000000000
cpuectlr_el1   = 0x0000000000000040
cpumerrsr_el1  = 0x000000001a080572
l2merrsr_el1   = 0x0000000012002e78
cpuactlr_el1   = 0x00001000090ca000

How do I go about debugging this? Could this be caused by a discrepancy in device trees? Or is there some other issue possibly at play here?

Thanks,

Ben