]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blob - boot_loader/examples/pcie/pcieboot_post/evmc6670l/bin/pcieboot_post_elf2HBin.sh
a2cfbbd86c4de092141f67839b7c0e5a2f19b70e
[keystone-rtos/mcsdk-tools.git] / boot_loader / examples / pcie / pcieboot_post / evmc6670l / bin / pcieboot_post_elf2HBin.sh
1 export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0\r
2 export TOOL_DIR="../../../../../../"\r
3 export TARGET=6670\r
4 export ENDIAN=little\r
5 \r
6 echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}\r
7 echo TARGET set as: ${TARGET}\r
8 echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}\r
9 \r
10 cp ../../../../../../post/evmc${TARGET}l/bin/post_evm${TARGET}l.out .\r
11 \r
12 echo Converting .out to HEX ...\r
13 if [ ${ENDIAN} == little ]\r
14 then\r
15 ${CGT_INSTALL_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out\r
16 else\r
17 ${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out\r
18 fi\r
19 \r
20 ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin\r
21 ../../../../../../hfile2array/hfile2array pcieboot_post.h post.h post\r
22 mv post.h ../../../linux_host_loader/post_${TARGET}.h\r