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.

[参考译文] PROCESSOR-SDK-AM64X:闪存引导问题

Guru**** 2482225 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1449615/processor-sdk-am64x-boot-problem-from-flash

器件型号:PROCESSOR-SDK-AM64X

工具与软件:

您好!   

遵循以下主题:

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1413982/processor-sdk-am64x-my-hello-world-is-not-able-to-boot-from-fsbl

_start 必须放在0x0、 但为什么在 adacore 汇编中、它没有起始符号、我看到这时使用的是 msram 中的_c_init00。  

    .text
    .global _vectors
    type _vectors、%function
    .section ".vectors "、"ax"、%progbits
    .arm
    .align 2.
向量(_V):
    LDR PC、RESET_addr      //重置
    LDR PC、undefined_addr   //未定义指令
    LDR PC、Svc_addr       //软件中断
    LDR PC、prefetch_abort_addr //中止(预取)
    LDR PC、data_abort_addr  //中止(DATA)
    LDR PC、reserved_addr   // rsvd
    LDR PC、IRQ_addr       // IRQ
    LDR PC、Fiq_addr       // FIQ

reset_addr:.long _c_int00
undefined_addr:.long Hwip_undefined_handler
Svc_addr:.long HwiP_Svc_handler
prefetch_abort_addr:.long Hwip_prefetch_abort_handler
data_abort_addr:.long Hwip_data_abort_handler
reserved_addr:.long Hwip_reserved_handler
irq_addr:.long Hwip_irq_handler




问题:  我需要相同的 adacore 运行时间。  


但是、如果我将_start 放在 0x20或任何其他位置、  它将不会引导。  


我可以做同样的技巧, 放置一个而不是使用 init00例如:  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、此问题已解决

    我们可以采用与 ti assebmly 相同的技巧

    .global 矢量:

    向量:

          b  _start  //跳转到开始。