diff options
-rwxr-xr-x | boot_loader/IBL_buildibl_k2x | 40 | ||||
-rwxr-xr-x | boot_loader/IBL_buildibl_k2x_linux.sh | 40 |
2 files changed, 80 insertions, 0 deletions
diff --git a/boot_loader/IBL_buildibl_k2x b/boot_loader/IBL_buildibl_k2x new file mode 100755 index 0000000..d10bb00 --- /dev/null +++ b/boot_loader/IBL_buildibl_k2x | |||
@@ -0,0 +1,40 @@ | |||
1 | cd ibl/src/make | ||
2 | |||
3 | source setupenvMsys.sh | ||
4 | |||
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 | ||
8 | |||
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 | ||
17 | |||
18 | make clean | ||
19 | |||
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 | ||
24 | |||
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 | ||
29 | |||
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 | ||
38 | |||
39 | cd ../../../ | ||
40 | |||
diff --git a/boot_loader/IBL_buildibl_k2x_linux.sh b/boot_loader/IBL_buildibl_k2x_linux.sh new file mode 100755 index 0000000..32bd5e1 --- /dev/null +++ b/boot_loader/IBL_buildibl_k2x_linux.sh | |||
@@ -0,0 +1,40 @@ | |||
1 | cd ibl/src/make | ||
2 | |||
3 | source setupenvLnx.sh | ||
4 | |||
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 | ||
8 | |||
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 | ||
17 | |||
18 | make clean | ||
19 | |||
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 | ||
24 | |||
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 | ||
29 | |||
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 | ||
38 | |||
39 | cd ../../../ | ||
40 | |||