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.

AM64X-ADVANCE-SW: A53 flash image build zero out the pointer array area.

Part Number: AM64X-ADVANCE-SW
Other Parts Discussed in Thread: SYSCONFIG

Hi, 

I am running TSM64DEV without OS. 

I am using below too to build my flash image. 

    C:/ti/sysconfig_1.20.0/nodejs/node C:\ti\mcu_plus_sdk_am64x_09_01_00_41\tools/boot/out2rprc/elf2rprc.js obj/gpsmain >> temp_stdout_debug.txt    C:/ti/ccs1270/ccs/utils/cygwin/cp gpsmain.rprc obj/gpsmain.rprc_tmp
    "C:\ti\mcu_plus_sdk_am64x_09_01_00_41\tools/boot/xipGen/xipGen.exe" -i obj/gpsmain.rprc_tmp -o obj/gpsmain.rprc -x gpsmain.rprc_xip --flash-start-addr 0x60000000 -v > temp_stdout_debug.txt
    C:/ti/sysconfig_1.20.0/nodejs/node C:\ti\mcu_plus_sdk_am64x_09_01_00_41\tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out obj/gpsmain.appimage obj/gpsmain.rprc@0  >> temp_stdout_debug.txt

Question after build my application, 

I found my .init_array  and .fini_array area is gone in the flash,

  .init_array (ALIGN(8)) : {
     PROVIDE_HIDDEN (__init_array_start = .);
     KEEP (*(SORT(.init_array.*)))
     KEEP (*(.init_array))
     PROVIDE_HIDDEN (__init_array_end = .);
  } > REGION_CODE

  .fini_array (ALIGN(8)) : {
     PROVIDE_HIDDEN (__fini_array_start = .);
     KEEP (*(SORT(.fini_array.*)))
     KEEP (*(.fini_array))
     PROVIDE_HIDDEN (__fini_array_end = .);
  } > REGION_CODE


these are important area, both of them including a pointer. that pointer value become 0, which is not correct. the flash tool   elf2rprc.js make them 0.

How to force my tool taken these value into the flash.  

Thanks.