MCSDK 3.0: add KS2 IBL build scripts DEV.MCSDK-03.00.00.05
authorHao Zhang <hzhang@ti.com>
Mon, 26 Nov 2012 16:06:22 +0000 (11:06 -0500)
committerHao Zhang <hzhang@ti.com>
Mon, 26 Nov 2012 16:06:22 +0000 (11:06 -0500)
boot_loader/IBL_buildibl_k2x [new file with mode: 0755]
boot_loader/IBL_buildibl_k2x_linux.sh [new file with mode: 0755]

diff --git a/boot_loader/IBL_buildibl_k2x b/boot_loader/IBL_buildibl_k2x
new file mode 100755 (executable)
index 0000000..d10bb00
--- /dev/null
@@ -0,0 +1,40 @@
+cd ibl/src/make
+
+source setupenvMsys.sh
+
+make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
+cp -f bin/i2crom_0x51_tci6634k2k_le.bin ../../../i2crom_0x51_tci6634k2k_le.bin
+cp -f bin/i2cparam_0x51_tci6634k2k_le_0x500.out ../../../i2cparam_0x51_tci6634k2k_le_0x500.out
+
+cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
+cp -f ../util/btoccs/b2ccs.exe ../../../b2ccs.exe
+cp -f ../util/btoccs/b2i2c.exe ../../../b2i2c.exe
+cp -f ../util/btoccs/ccs2bin.exe ../../../ccs2bin.exe
+cp -f ../util/bconvert/bconvert64x.exe ../../../bconvert64x.exe
+cp -f ../util/romparse/romparse.exe ../../../romparse.exe
+cp -f ../util/iblConfig/build/iblConfig.out ../../../iblConfig.out
+cp -f ../util/iblConfig/build/input.txt ../../../input.txt
+
+make clean
+
+make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
+cp -f bin/i2crom_0x51_tci6634k2k_be.bin ../../../i2crom_0x51_tci6634k2k_be.bin
+cp -f bin/i2cparam_0x51_tci6634k2k_be_0x500.out ../../../i2cparam_0x51_tci6634k2k_be_0x500.out
+make clean
+
+mv -f ../../../i2crom_0x51_tci6634k2k_le.bin bin/i2crom_0x51_tci6634k2k_le.bin
+mv -f ../../../i2crom_0x51_tci6634k2k_be.bin bin/i2crom_0x51_tci6634k2k_be.bin
+mv -f ../../../i2cparam_0x51_tci6634k2k_le_0x500.out bin/i2cparam_0x51_tci6634k2k_le_0x500.out
+mv -f ../../../i2cparam_0x51_tci6634k2k_be_0x500.out bin/i2cparam_0x51_tci6634k2k_be_0x500.out
+
+mv -f ../../../i2cConfig.gel bin/i2cConfig.gel 
+mv -f ../../../b2ccs.exe ../util/btoccs/b2ccs.exe 
+mv -f ../../../b2i2c.exe ../util/btoccs/b2i2c.exe 
+mv -f ../../../ccs2bin.exe ../util/btoccs/ccs2bin.exe 
+mv -f ../../../bconvert64x.exe ../util/bconvert/bconvert64x.exe 
+mv -f ../../../romparse.exe ../util/romparse/romparse.exe 
+mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
+mv -f ../../../input.txt ../util/iblConfig/build/input.txt 
+
+cd ../../../
+
diff --git a/boot_loader/IBL_buildibl_k2x_linux.sh b/boot_loader/IBL_buildibl_k2x_linux.sh
new file mode 100755 (executable)
index 0000000..32bd5e1
--- /dev/null
@@ -0,0 +1,40 @@
+cd ibl/src/make
+
+source setupenvLnx.sh
+
+make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
+cp -f bin/i2crom_0x51_tci6634k2k_le.bin ../../../i2crom_0x51_tci6634k2k_le.bin
+cp -f bin/i2cparam_0x51_tci6634k2k_le_0x500.out ../../../i2cparam_0x51_tci6634k2k_le_0x500.out
+
+cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
+cp -f ../util/btoccs/b2ccs ../../../b2ccs
+cp -f ../util/btoccs/b2i2c ../../../b2i2c
+cp -f ../util/btoccs/ccs2bin ../../../ccs2bin
+cp -f ../util/bconvert/bconvert64x ../../../bconvert64x
+cp -f ../util/romparse/romparse ../../../romparse
+cp -f ../util/iblConfig/build/iblConfig.out ../../../iblConfig.out
+cp -f ../util/iblConfig/build/input.txt ../../../input.txt
+
+make clean
+
+make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
+cp -f bin/i2crom_0x51_tci6634k2k_be.bin ../../../i2crom_0x51_tci6634k2k_be.bin
+cp -f bin/i2cparam_0x51_tci6634k2k_be_0x500.out ../../../i2cparam_0x51_tci6634k2k_be_0x500.out
+make clean
+
+mv -f ../../../i2crom_0x51_tci6634k2k_le.bin bin/i2crom_0x51_tci6634k2k_le.bin
+mv -f ../../../i2crom_0x51_tci6634k2k_be.bin bin/i2crom_0x51_tci6634k2k_be.bin
+mv -f ../../../i2cparam_0x51_tci6634k2k_le_0x500.out bin/i2cparam_0x51_tci6634k2k_le_0x500.out
+mv -f ../../../i2cparam_0x51_tci6634k2k_be_0x500.out bin/i2cparam_0x51_tci6634k2k_be_0x500.out
+
+mv -f ../../../i2cConfig.gel bin/i2cConfig.gel 
+mv -f ../../../b2ccs ../util/btoccs/b2ccs 
+mv -f ../../../b2i2c ../util/btoccs/b2i2c 
+mv -f ../../../ccs2bin ../util/btoccs/ccs2bin
+mv -f ../../../bconvert64x ../util/bconvert/bconvert64x
+mv -f ../../../romparse ../util/romparse/romparse
+mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
+mv -f ../../../input.txt ../util/iblConfig/build/input.txt 
+
+cd ../../../
+