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 }
The linker.cmd generated automatically by RTSC places the ". text" section first. I need to put. init first, but linker.cmd is automatically generated and cannot be modified. How can I operate it?
My ultimate goal is to convert the generated COFF file into a BIN file using the following instructions, and then load it using HPI. After setting DSPINT to 1, it can run
"${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"
Regards
Gary