summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Zhang2012-11-26 10:06:22 -0600
committerHao Zhang2012-11-26 10:06:22 -0600
commit72f74146b648a3a5408ba0b3ae37764468c910d7 (patch)
tree7a55b58ea4265d15c94d0328c2b0803f5dc162a5 /boot_loader/IBL_buildibl_k2x
parent555ddcb0361583b47a3c988e50082a5012d756a3 (diff)
downloadmcsdk-tools-72f74146b648a3a5408ba0b3ae37764468c910d7.tar.gz
mcsdk-tools-72f74146b648a3a5408ba0b3ae37764468c910d7.tar.xz
mcsdk-tools-72f74146b648a3a5408ba0b3ae37764468c910d7.zip
MCSDK 3.0: add KS2 IBL build scriptsDEV.MCSDK-03.00.00.05
Diffstat (limited to 'boot_loader/IBL_buildibl_k2x')
-rwxr-xr-xboot_loader/IBL_buildibl_k2x40
1 files changed, 40 insertions, 0 deletions
diff --git a/boot_loader/IBL_buildibl_k2x b/boot_loader/IBL_buildibl_k2x
new file mode 100755
index 0000000..d10bb00
--- /dev/null
+++ b/boot_loader/IBL_buildibl_k2x
@@ -0,0 +1,40 @@
1cd ibl/src/make
2
3source setupenvMsys.sh
4
5make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51
6cp -f bin/i2crom_0x51_tci6634k2k_le.bin ../../../i2crom_0x51_tci6634k2k_le.bin
7cp -f bin/i2cparam_0x51_tci6634k2k_le_0x500.out ../../../i2cparam_0x51_tci6634k2k_le_0x500.out
8
9cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
10cp -f ../util/btoccs/b2ccs.exe ../../../b2ccs.exe
11cp -f ../util/btoccs/b2i2c.exe ../../../b2i2c.exe
12cp -f ../util/btoccs/ccs2bin.exe ../../../ccs2bin.exe
13cp -f ../util/bconvert/bconvert64x.exe ../../../bconvert64x.exe
14cp -f ../util/romparse/romparse.exe ../../../romparse.exe
15cp -f ../util/iblConfig/build/iblConfig.out ../../../iblConfig.out
16cp -f ../util/iblConfig/build/input.txt ../../../input.txt
17
18make clean
19
20make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51
21cp -f bin/i2crom_0x51_tci6634k2k_be.bin ../../../i2crom_0x51_tci6634k2k_be.bin
22cp -f bin/i2cparam_0x51_tci6634k2k_be_0x500.out ../../../i2cparam_0x51_tci6634k2k_be_0x500.out
23make clean
24
25mv -f ../../../i2crom_0x51_tci6634k2k_le.bin bin/i2crom_0x51_tci6634k2k_le.bin
26mv -f ../../../i2crom_0x51_tci6634k2k_be.bin bin/i2crom_0x51_tci6634k2k_be.bin
27mv -f ../../../i2cparam_0x51_tci6634k2k_le_0x500.out bin/i2cparam_0x51_tci6634k2k_le_0x500.out
28mv -f ../../../i2cparam_0x51_tci6634k2k_be_0x500.out bin/i2cparam_0x51_tci6634k2k_be_0x500.out
29
30mv -f ../../../i2cConfig.gel bin/i2cConfig.gel
31mv -f ../../../b2ccs.exe ../util/btoccs/b2ccs.exe
32mv -f ../../../b2i2c.exe ../util/btoccs/b2i2c.exe
33mv -f ../../../ccs2bin.exe ../util/btoccs/ccs2bin.exe
34mv -f ../../../bconvert64x.exe ../util/bconvert/bconvert64x.exe
35mv -f ../../../romparse.exe ../util/romparse/romparse.exe
36mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
37mv -f ../../../input.txt ../util/iblConfig/build/input.txt
38
39cd ../../../
40