您好!
最近、我购买了一些 AM65x_IDK_EVM、其中包含 AM6548 SR2.0 SoC。
之前、我已经在 AM65x_GP_EVM (SR1.0)上开发了类似 Linux 的应用、使用从 Linux SDK 中稍作修改的 U-boot、我的应用程序/内核正常工作。
但现在、在 AM65x_IDK_EVM 上、我的应用/内核无法正常工作。 独特的是 U-boot 工作非常好,从我在 SR1.0上使用它的时候没有变化,但当我启动到我的内核时,我得到了以下错误:
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
我该如何进行调试呢? 这是否是由设备树中存在差异导致的? 或者这里是否还有其他问题?
谢谢。
本