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.

TMS320C6455: SYS/BIOS 如何修改 链接文件,目的能让 HPI 加载,并运行;

Part Number: TMS320C6455

SECTIONS
{
    .text: load >> IRAM
    .stack: load > IRAM
    .bss: load > IRAM
    .cinit: load > IRAM
    .pinit: load > IRAM
    .const: load >> IRAM
    .data: load >> IRAM
    .switch: load >> IRAM
    .sysmem: load > IRAM
    .far: load >> IRAM
    .args: load > IRAM align = 0x4, fill = 0 {_argsize = 0x0; }
    .cio: load >> IRAM
    .vecs: load > IRAM
    xdc.meta: load > IRAM, type = COPY

}

RTSC 自动生成的 linker.cmd , 把 “.text” 段放在了首位,我需要 把  .cinit 放在首位,但是 linker.cmd 是自动生成不可修改,请问我该如何操作那?

我的最终目的是生成的COFF文件 经过  下面指令 转换到 BIN 文件后,使用 HPI 加载的方式, DSPINT 置1 后,能运行

"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd6x" "${CG_TOOL_ROOT}/bin/hex6x" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"