summaryrefslogtreecommitdiffstats
blob: b42eee6885a1bff3890e02e20a540fbfb47fcc37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set C6000_CG_DIR="C:\ti\ccsv5\tools\compiler\c6000_7.4.4"
set TOOL_DIR="..\..\..\..\..\..\"
set TARGET=6657
set ENDIAN=little
set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;


@echo off

echo C6000_CG_DIR set as: %C6000_CG_DIR%
echo TARGET set as: %TARGET%
echo IBL_ROOT_DIR set as : %IBL_ROOT_DIR%

copy ..\..\..\..\..\..\post\evmc%TARGET%l\bin\post_evm%TARGET%l.out

echo Converting .out to HEX ...
if %ENDIAN% == little (
%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
)

..\..\..\..\..\..\bttbl2hfile\Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin
..\..\..\..\..\..\hfile2array\hfile2array pcieboot_post.h post.h post
move post.h ..\..\..\linux_host_loader\post_%TARGET%.h