]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blob - boot_loader/examples/pcie/pcieboot_post/evmk2h/bin/pcieboot_post_elf2HBin.bat
MCSDK 3.0: update CGT version in srio/pcie boot examples
[keystone-rtos/mcsdk-tools.git] / boot_loader / examples / pcie / pcieboot_post / evmk2h / bin / pcieboot_post_elf2HBin.bat
1 set C6000_CG_DIR="C:\ti\ccsv5\tools\compiler\c6000_7.4.1"
2 set TOOL_DIR="..\..\..\..\..\..\"
3 set TARGET=k2h
4 set ENDIAN=little
5 set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;
8 @echo off
10 echo C6000_CG_DIR set as: %C6000_CG_DIR%
11 echo TARGET set as: %TARGET%
12 echo IBL_ROOT_DIR set as : %IBL_ROOT_DIR%
14 copy ..\..\..\..\..\..\post\evm%TARGET%\bin\post_evm%TARGET%.out
16 echo Converting .out to HEX ...
17 if %ENDIAN% == little (
18 %C6000_CG_DIR%\bin\hex6x -order L post.rmd post_evm%TARGET%.out
19 ) else (
20 %C6000_CG_DIR%\bin\hex6x -order M post.rmd post_evm%TARGET%.out
21 )
23 ..\..\..\..\..\..\bttbl2hfile\Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin
24 ..\..\..\..\..\..\hfile2array\hfile2array pcieboot_post.h post.h post
25 move post.h ..\..\..\linux_host_loader\post_%TARGET%.h