]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blob - boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.sh
updated the sample shell scripts for using the cgt 7.2.4 for boot loader examples
[keystone-rtos/mcsdk-tools.git] / boot_loader / examples / srio / srioboot_helloworld / evmc6670l / bin / helloworld_elf2HBin.sh
1 export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.2.4
2 export TOOL_DIR="../../../../../../"
3 export TARGET=6670
4 export ENDIAN=little
6 echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}
7 echo TARGET set as: ${TARGET}
8 echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}
10 echo Converting .out to HEX ...
11 if [ ${ENDIAN} == little ]
12 then
13 ${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out
14 else
15 ${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out
16 fi
18 ../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_helloworld.btbl srioboot_helloworld.h srioboot_helloworld.bin
20 ../../../../../../hfile2array/hfile2array srioboot_helloworld.h srioBootCode.h bootCode
22 mv srioBootCode.h ../../../srioboot_example/src/