This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i.MX8M Mini Cortex a53 After Exception Return Synchronous exception occurred

Before exception returns cpsr value is fine,

(gdb) info registers
x0             0x30390008    809041928
x1             0x3    3
x2             0x910100    9502976
x3             0xf    15
x4             0xffffffffffffffff    -1
x5             0x1c    28
x6             0xffffffffffffffff    -1
x7             0x0    0
x8             0x0    0
x9             0x2    2
x10            0xa200023    169869347
x11            0x2    2
x12            0x2    2
x13            0x16    22
x14            0x90e558    9495896
x15            0x13da4    81316
x16            0x0    0
x17            0xff    255
x18            0x20    32
x19            0x0    0
x20            0xc9daa625    3386549797
x21            0x90ce68    9490024
x22            0x90c000    9486336
x23            0x30350480    808780928
x24            0x2    2
x25            0x910000    9502720
x26            0x30390070    809042032
x27            0x72000000    1912602624
x28            0x0    0
x29            0x901ff0    9445360
x30            0x7e1034    8261684
sp             0x910100    0x910100
pc             0x7e1000    0x7e1000 <start64>
cpsr           0x600003cd    [ SP EL #3 F I A D C Z ]

after exception returns EL3 to EL1 cpsr register collapse,

(gdb) info registers
x0             0x7e1174    8262004
x1             0x92ffff    9633791
x2             0x0    0
x3             0x4    4
x4             0x0    0
x5             0x0    0
x6             0x0    0
x7             0x0    0
x8             0x0    0
x9             0x0    0
x10            0x0    0
x11            0x0    0
x12            0x0    0
x13            0x0    0
x14            0x0    0
x15            0x0    0
x16            0x0    0
x17            0x0    0
x18            0x0    0
x19            0x0    0
x20            0x0    0
x21            0x0    0
x22            0x0    0
x23            0x0    0
x24            0x0    0
x25            0x0    0
x26            0x0    0
x27            0x0    0
x28            0x0    0
x29            0x0    0
x30            0x7e1184    8262020
sp             0xffd149a18804090b    0xffd149a18804090b
pc             0x7e3efc    0x7e3efc <main+4>
cpsr           0xaaaaaaaa    [ #1 #3 #5 I D #11 #13 #15 #17 #19 SS UAO TCO #27 C N ]

anything i have missed in exception returns high level to low level. kindly share your thoughts..

Thanks.

  • Can you explain your test scenario and test device?  I saw you captured the log via gdb, what's the EL level that gdb is running on?

    How can gdb run in EL3 so that it jumps to EL1 later?