Merge pull request #2 in PROCESSOR-SDK/mcsdk-tools from PRSDK-2194 to master
[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.bin ../../../i2crom_0x51_c6678_le.bin
6 cp -f ../util/i2cConfig/i2cparam_c66x_le.out ../../../i2cparam_0x51_c6678_le_0x500.out
7 cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
8 cp -f ../util/btoccs/b2ccs ../../../b2ccs
9 cp -f ../util/btoccs/b2i2c ../../../b2i2c
10 cp -f ../util/btoccs/ccs2bin ../../../ccs2bin
11 cp -f ../util/bconvert/bconvert64x ../../../bconvert64x
12 cp -f ../util/romparse/romparse ../../../romparse
13 cp -f ../util/iblConfig/build/iblConfig.out ../../../iblConfig.out
14 cp -f ../util/iblConfig/build/input.txt ../../../input.txt
16 make clean
18 make evm_c6678_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
19 cp -f ibl_c66x/i2crom.bin ../../../i2crom_0x51_c6678_be.bin
20 cp -f ../util/i2cConfig/i2cparam_c66x_be.out ../../../i2cparam_0x51_c6678_be_0x500.out
21 make clean
23 make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
24 cp -f ibl_c66x/i2crom.bin ../../../i2crom_0x51_c6670_le.bin
25 cp -f ../util/i2cConfig/i2cparam_c66x_le.out ../../../i2cparam_0x51_c6670_le_0x500.out
26 make clean
28 make evm_c6670_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
29 cp -f ibl_c66x/i2crom.bin ../../../i2crom_0x51_c6670_be.bin
30 cp -f ../util/i2cConfig/i2cparam_c66x_be.out ../../../i2cparam_0x51_c6670_be_0x500.out
31 make clean
33 make evm_c6657_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
34 cp -f bin/i2crom_0x51_c6657_le.bin ../../../i2crom_0x51_c6657_le.bin
35 cp -f bin/i2cparam_0x51_c6657_le_0x500.out ../../../i2cparam_0x51_c6657_le_0x500.out
36 make clean
38 make evm_c6657_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
39 cp -f bin/i2crom_0x51_c6657_be.bin ../../../i2crom_0x51_c6657_be.bin
40 cp -f bin/i2cparam_0x51_c6657_be_0x500.out ../../../i2cparam_0x51_c6657_be_0x500.out
41 make clean
43 make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
44 cp -f bin/i2crom_0x51_tci6634k2k_le.bin ../../../i2crom_0x51_tci6634k2k_le.bin
45 cp -f bin/i2cparam_0x51_tci6634k2k_le_0x500.out ../../../i2cparam_0x51_tci6634k2k_le_0x500.out
46 make clean
48 make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
49 cp -f bin/i2crom_0x51_tci6634k2k_be.bin ../../../i2crom_0x51_tci6634k2k_be.bin
50 cp -f bin/i2cparam_0x51_tci6634k2k_be_0x500.out ../../../i2cparam_0x51_tci6634k2k_be_0x500.out
51 make clean
53 mv -f ../../../i2crom_0x51_c6657_le.bin bin/i2crom_0x51_c6657_le.bin
54 mv -f ../../../i2crom_0x51_c6657_be.bin bin/i2crom_0x51_c6657_be.bin
55 mv -f ../../../i2crom_0x51_c6678_le.bin bin/i2crom_0x51_c6678_le.bin
56 mv -f ../../../i2crom_0x51_c6678_be.bin bin/i2crom_0x51_c6678_be.bin
57 mv -f ../../../i2crom_0x51_c6670_le.bin bin/i2crom_0x51_c6670_le.bin
58 mv -f ../../../i2crom_0x51_c6678_be.bin bin/i2crom_0x51_c6678_be.bin
59 mv -f ../../../i2crom_0x51_tci6634k2k_le.bin bin/i2crom_0x51_tci6634k2k_le.bin
60 mv -f ../../../i2crom_0x51_tci6634k2k_be.bin bin/i2crom_0x51_tci6634k2k_be.bin
61 mv -f ../../../i2cparam_0x51_c6657_le_0x500.out bin/i2cparam_0x51_c6657_le_0x500.out
62 mv -f ../../../i2cparam_0x51_c6657_be_0x500.out bin/i2cparam_0x51_c6657_be_0x500.out
63 mv -f ../../../i2cparam_0x51_c6678_le_0x500.out bin/i2cparam_0x51_c6678_le_0x500.out
64 mv -f ../../../i2cparam_0x51_c6678_be_0x500.out bin/i2cparam_0x51_c6678_be_0x500.out
65 mv -f ../../../i2cparam_0x51_c6670_le_0x500.out bin/i2cparam_0x51_c6670_le_0x500.out
66 mv -f ../../../i2cparam_0x51_c6670_be_0x500.out bin/i2cparam_0x51_c6670_be_0x500.out
67 mv -f ../../../i2cparam_0x51_tci6634k2k_le_0x500.out bin/i2cparam_0x51_tci6634k2k_le_0x500.out
68 mv -f ../../../i2cparam_0x51_tci6634k2k_be_0x500.out bin/i2cparam_0x51_tci6634k2k_be_0x500.out
70 mv -f ../../../i2cConfig.gel bin/i2cConfig.gel 
71 mv -f ../../../b2ccs ../util/btoccs/b2ccs 
72 mv -f ../../../b2i2c ../util/btoccs/b2i2c 
73 mv -f ../../../ccs2bin ../util/btoccs/ccs2bin
74 mv -f ../../../bconvert64x ../util/bconvert/bconvert64x
75 mv -f ../../../romparse ../util/romparse/romparse
76 mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
77 mv -f ../../../input.txt ../util/iblConfig/build/input.txt 
79 cd ../../../