summaryrefslogtreecommitdiffstats
blob: 2a0fe1eca9f0ed26c63443b7e204a025f0913990 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export C6000_CG_DIR=~/ti/TI_CGT_C6000_7.4.4
export TOOL_DIR="../../../../../../"
export TARGET=6678
export ENDIAN=little

echo C6000_CG_DIR set as: ${C6000_CG_DIR}
echo TARGET set as: ${TARGET}
echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}

cp ../../../../../../post/evmc${TARGET}l/bin/post_evm${TARGET}l.out .

echo Converting .out to HEX ...
if [ ${ENDIAN} == little ]
then
${C6000_CG_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out
else
${C6000_CG_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out
fi

../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin
../../../../../../hfile2array/hfile2array pcieboot_post.h post.h post
mv post.h ../../../linux_host_loader/post_${TARGET}.h