MCSDK 3.0: add KS2 IBL build scripts
[keystone-rtos/mcsdk-tools.git] / boot_loader / IBL_buildibl_k2x
1 cd ibl/src/make
3 source setupenvMsys.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.exe ../../../b2ccs.exe
11 cp -f ../util/btoccs/b2i2c.exe ../../../b2i2c.exe
12 cp -f ../util/btoccs/ccs2bin.exe ../../../ccs2bin.exe
13 cp -f ../util/bconvert/bconvert64x.exe ../../../bconvert64x.exe
14 cp -f ../util/romparse/romparse.exe ../../../romparse.exe
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.exe ../util/btoccs/b2ccs.exe 
32 mv -f ../../../b2i2c.exe ../util/btoccs/b2i2c.exe 
33 mv -f ../../../ccs2bin.exe ../util/btoccs/ccs2bin.exe 
34 mv -f ../../../bconvert64x.exe ../util/bconvert/bconvert64x.exe 
35 mv -f ../../../romparse.exe ../util/romparse/romparse.exe 
36 mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
37 mv -f ../../../input.txt ../util/iblConfig/build/input.txt 
39 cd ../../../