MCSDK 3.0: add KS2 IBL build scripts
[keystone-rtos/mcsdk-tools.git] / boot_loader / IBL_buildibl_k2x_linux.sh
1 cd ibl/src/make
3 source setupenvLnx.sh
5 make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
6 cp -f bin/i2crom_0x51_tci6634k2k_le.bin ../../../i2crom_0x51_tci6634k2k_le.bin
7 cp -f bin/i2cparam_0x51_tci6634k2k_le_0x500.out ../../../i2cparam_0x51_tci6634k2k_le_0x500.out
9 cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
10 cp -f ../util/btoccs/b2ccs ../../../b2ccs
11 cp -f ../util/btoccs/b2i2c ../../../b2i2c
12 cp -f ../util/btoccs/ccs2bin ../../../ccs2bin
13 cp -f ../util/bconvert/bconvert64x ../../../bconvert64x
14 cp -f ../util/romparse/romparse ../../../romparse
15 cp -f ../util/iblConfig/build/iblConfig.out ../../../iblConfig.out
16 cp -f ../util/iblConfig/build/input.txt ../../../input.txt
18 make clean
20 make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
21 cp -f bin/i2crom_0x51_tci6634k2k_be.bin ../../../i2crom_0x51_tci6634k2k_be.bin
22 cp -f bin/i2cparam_0x51_tci6634k2k_be_0x500.out ../../../i2cparam_0x51_tci6634k2k_be_0x500.out
23 make clean
25 mv -f ../../../i2crom_0x51_tci6634k2k_le.bin bin/i2crom_0x51_tci6634k2k_le.bin
26 mv -f ../../../i2crom_0x51_tci6634k2k_be.bin bin/i2crom_0x51_tci6634k2k_be.bin
27 mv -f ../../../i2cparam_0x51_tci6634k2k_le_0x500.out bin/i2cparam_0x51_tci6634k2k_le_0x500.out
28 mv -f ../../../i2cparam_0x51_tci6634k2k_be_0x500.out bin/i2cparam_0x51_tci6634k2k_be_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
36 mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
37 mv -f ../../../input.txt ../util/iblConfig/build/input.txt 
39 cd ../../../