]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blob - boot_loader/examples/pcie/pcieboot_post/evmc6678l/bin/pcieboot_post_elf2HBin.bat
Updated cgt version for pcie and srio scripts
[keystone-rtos/mcsdk-tools.git] / boot_loader / examples / pcie / pcieboot_post / evmc6678l / bin / pcieboot_post_elf2HBin.bat
1 set C6000_CG_DIR="C:\Program Files\Texas Instruments\C6000 Code Generation Tools 7.4.0B2"
2 set TOOL_DIR="..\..\..\..\..\..\"
3 set TARGET=6657
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\evmc%TARGET%l\bin\post_evm%TARGET%l.out
16 echo Converting .out to HEX ...
17 if %ENDIAN% == little (
18 %C6000_CG_DIR%\bin\hex6x -order L post.rmd post_evm%TARGET%l.out
19 ) else (
20 %C6000_CG_DIR%\bin\hex6x -order M post.rmd post_evm%TARGET%l.out
21 )
23 ..\..\..\..\..\..\bttbl2hfile\Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin
24 ..\..\..\..\..\..\hfile2array\hfile2array pcieboot_post.h post.h post
26 if %ENDIAN% == little (
27 move post.h ..\..\..\linux_host_loader\LE\post_%TARGET%.h
28 ) else (
29 move post.h ..\..\..\linux_host_loader\BE\post_%TARGET%.h
30 )