updated the scripts for both bin and dat files
[keystone-rtos/mcsdk-tools.git] / boot_loader / IBL_buildibl_linux.sh
1 cd ibl/src/make
3 source setupenvLnx.sh
4 make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
5 cp -f ibl_c66x/i2crom.dat ../../../i2crom_0x51_c6678_le.dat
6 cp -f ibl_c66x/i2crom.bin ../../../i2crom_0x51_c6678_le.bin
7 cp -f ../util/i2cConfig/i2cparam_c66x_le.out ../../../i2cparam_0x51_c6678_le_0x500.out
8 cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
9 cp -f ../util/btoccs/b2ccs ../../../b2ccs
10 cp -f ../util/btoccs/b2i2c ../../../b2i2c
11 cp -f ../util/btoccs/ccs2bin ../../../ccs2bin
12 cp -f ../util/bconvert/bconvert64x ../../../bconvert64x
13 cp -f ../util/romparse/romparse ../../../romparse
15 make clean
17 make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
18 cp -f ibl_c66x/i2crom.dat ../../../i2crom_0x51_c6670_le.dat
19 cp -f ibl_c66x/i2crom.bin ../../../i2crom_0x51_c6670_le.bin
20 cp -f ../util/i2cConfig/i2cparam_c66x_le.out ../../../i2cparam_0x51_c6670_le_0x500.out
21 make clean
23 mv -f ../../../i2crom_0x51_c6678_le.dat bin/i2crom_0x51_c6678_le.dat
24 mv -f ../../../i2crom_0x51_c6670_le.dat bin/i2crom_0x51_c6670_le.dat
25 mv -f ../../../i2crom_0x51_c6678_le.bin bin/i2crom_0x51_c6678_le.bin
26 mv -f ../../../i2crom_0x51_c6670_le.bin bin/i2crom_0x51_c6670_le.bin
27 mv -f ../../../i2cparam_0x51_c6678_le_0x500.out bin/i2cparam_0x51_c6678_le_0x500.out
28 mv -f ../../../i2cparam_0x51_c6670_le_0x500.out bin/i2cparam_0x51_c6670_le_0x500.out
30 mv -f ../../../i2cConfig.gel bin/i2cConfig.gel 
31 mv -f ../../../b2ccs ../util/btoccs/b2ccs 
32 mv -f ../../../b2i2c ../util/btoccs/b2i2c 
33 mv -f ../../../ccs2bin ../util/btoccs/ccs2bin
34 mv -f ../../../bconvert64x ../util/bconvert/bconvert64x
35 mv -f ../../../romparse ../util/romparse/romparse
37 cd ../../../