added the ibl build script from Hao DEV.BIOS.MCSDK.02.00.02.13
authorAravind Batni <aravindbr@ti.com>
Tue, 23 Aug 2011 16:53:51 +0000 (12:53 -0400)
committerAravind Batni <aravindbr@ti.com>
Tue, 23 Aug 2011 16:53:51 +0000 (12:53 -0400)
boot_loader/IBL_buildibl_linux.sh [new file with mode: 0644]

diff --git a/boot_loader/IBL_buildibl_linux.sh b/boot_loader/IBL_buildibl_linux.sh
new file mode 100644 (file)
index 0000000..88154e5
--- /dev/null
@@ -0,0 +1,32 @@
+cd ibl/src/make
+
+source setupenvLnx.sh
+make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
+cp -f ibl_c66x/i2crom.dat ../../../i2crom_0x51_c6678_le.dat
+cp -f ../util/i2cConfig/i2cparam_c66x_le.out ../../../i2cparam_0x51_c6678_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/bconvert/bconvert64x ../../../bconvert64x
+cp -f ../util/romparse/romparse ../../../romparse
+
+make clean
+
+make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
+cp -f ibl_c66x/i2crom.dat ../../../i2crom_0x51_c6670_le.dat
+cp -f ../util/i2cConfig/i2cparam_c66x_le.out ../../../i2cparam_0x51_c6670_le_0x500.out
+make clean
+
+mv -f ../../../i2crom_0x51_c6678_le.dat bin/i2crom_0x51_c6678_le.dat
+mv -f ../../../i2crom_0x51_c6670_le.dat bin/i2crom_0x51_c6670_le.dat
+mv -f ../../../i2cparam_0x51_c6678_le_0x500.out bin/i2cparam_0x51_c6678_le_0x500.out
+mv -f ../../../i2cparam_0x51_c6670_le_0x500.out bin/i2cparam_0x51_c6670_le_0x500.out
+
+mv -f ../../../i2cConfig.gel bin/i2cConfig.gel 
+mv -f ../../../b2ccs ../util/btoccs/b2ccs 
+mv -f ../../../b2i2c ../util/btoccs/b2i2c 
+mv -f ../../../bconvert64x ../util/bconvert/bconvert64x
+mv -f ../../../romparse ../util/romparse/romparse
+
+cd ../../../
+