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.

Why it is not right that convert .out(elf) file to .bin file

Dear,

There is a am3359 in my custom board, the IDE is CCS5.5, sysbios and  NDK are used in my project TS2IP_NDK, the post- build steps commmand is:"${IA_SDK_HOME}/tools/post_build/post_build.bat" "${CCS_INSTALL_ROOT}" "${CG_TOOL_ROOT}" "${PWD}" "${ProjName}"   "${IA_SDK_HOME}\tools\isdk_image\" "1" "3" "0x80000000" "0x80000000",after the project is built , the files " ts2ip_ndk.out"  "ts2ip_ndk.bin " " ts2ip_ndk_SPI.bin"  " ts2ip_ndk.map" are generated, the map file tell me "ENTRY POINT SYMBOL: "_c_int00"  address: 8016212c",but the size of  file "ts2ip_ndk.bin " is only 733KB which is less than (0x8016212c-0x80000000)=0x16212c, is there a bug in the postbuild.bat  when convert ts2ip_ndk.out  to  ts2ip_ndk.bin? Another question is:How can I make the entrypoint = "0x80000000"?

When I select the "Create a ROM object (--rom) "  in" arm linker/linker output",and build the project ,I get building message as follow:

 "C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\tools\post_build\post_build.bat "C:/ti/ccsv5" "C:/ti/ccsv5/tools/compiler/arm_5.1.1" "D:\am335x_bios\ts2ip_ndk\Debug" "ts2ip_ndk" "C:/ti/am335x_sysbios_ind_sdk_1.1.0.4/sdk/tools/isdk_image" "1" "3" "0x80000000" "0x80000000"

"COMPILER ARM_5_x"
Load address not computed for file that does not have a segment table at XML_TI_OFD.pm line 1433.
Use of uninitialized value in multiplication (*) at script/mkhex4bin.pl line 285.
Load address not computed for file that does not have a segment table at XML_TI_OFD.pm line 1433.
Use of uninitialized value in multiplication (*) at script/mkhex4bin.pl line 285.
Load address not computed for file that does not have a segment table at XML_TI_OFD.pm line 1433.
Use of uninitialized value in multiplication (*) at script/mkhex4bin.pl line 285.
Load address not computed for file that does not have a segment table at XML_TI_OFD.pm line 1433.
Use of uninitialized value in multiplication (*) at script/mkhex4bin.pl line 285.
Load address not computed for file that does not have a segment table at XML_TI_OFD.pm line 1433.
Use of uninitialized value in multiplication (*) at script/mkhex4bin.pl line 285.
warning: section D:\am335x_bios\ts2ip_ndk\Debug\ts2ip_ndk.out(.text.1) at
0800d3170h falls in unconfigured memory (skipped)
warning: section D:\am335x_bios\ts2ip_ndk\Debug\ts2ip_ndk.out(.text.2) at
08012ac40h falls in unconfigured memory (skipped)
warning: section D:\am335x_bios\ts2ip_ndk\Debug\ts2ip_ndk.out(.const) at
080185e40h falls in unconfigured memory (skipped)
warning: section D:\am335x_bios\ts2ip_ndk\Debug\ts2ip_ndk.out(.vecs) at
080188800h falls in unconfigured memory (skipped)
warning: section D:\am335x_bios\ts2ip_ndk\Debug\ts2ip_ndk.out(.cinit) at
080188840h falls in unconfigured memory (skipped)
已复制 1 个文件。
D:\am335x_bios\ts2ip_ndk\Debug
Input File - ts2ip_ndk.bin 
Output File - ts2ip_ndk_SPI.bin 
Generating TI_Image of [Application] to be stored in [SPI Flash]

 

Best regards,

Rolan