summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xboot_loader/IBL_buildibl_k2x40
-rwxr-xr-xboot_loader/IBL_buildibl_k2x_linux.sh40
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 @@
1cd ibl/src/make
2
3source setupenvMsys.sh
4
5make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51
6cp -f bin/i2crom_0x51_tci6634k2k_le.bin ../../../i2crom_0x51_tci6634k2k_le.bin
7cp -f bin/i2cparam_0x51_tci6634k2k_le_0x500.out ../../../i2cparam_0x51_tci6634k2k_le_0x500.out
8
9cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
10cp -f ../util/btoccs/b2ccs.exe ../../../b2ccs.exe
11cp -f ../util/btoccs/b2i2c.exe ../../../b2i2c.exe
12cp -f ../util/btoccs/ccs2bin.exe ../../../ccs2bin.exe
13cp -f ../util/bconvert/bconvert64x.exe ../../../bconvert64x.exe
14cp -f ../util/romparse/romparse.exe ../../../romparse.exe
15cp -f ../util/iblConfig/build/iblConfig.out ../../../iblConfig.out
16cp -f ../util/iblConfig/build/input.txt ../../../input.txt
17
18make clean
19
20make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51
21cp -f bin/i2crom_0x51_tci6634k2k_be.bin ../../../i2crom_0x51_tci6634k2k_be.bin
22cp -f bin/i2cparam_0x51_tci6634k2k_be_0x500.out ../../../i2cparam_0x51_tci6634k2k_be_0x500.out
23make clean
24
25mv -f ../../../i2crom_0x51_tci6634k2k_le.bin bin/i2crom_0x51_tci6634k2k_le.bin
26mv -f ../../../i2crom_0x51_tci6634k2k_be.bin bin/i2crom_0x51_tci6634k2k_be.bin
27mv -f ../../../i2cparam_0x51_tci6634k2k_le_0x500.out bin/i2cparam_0x51_tci6634k2k_le_0x500.out
28mv -f ../../../i2cparam_0x51_tci6634k2k_be_0x500.out bin/i2cparam_0x51_tci6634k2k_be_0x500.out
29
30mv -f ../../../i2cConfig.gel bin/i2cConfig.gel
31mv -f ../../../b2ccs.exe ../util/btoccs/b2ccs.exe
32mv -f ../../../b2i2c.exe ../util/btoccs/b2i2c.exe
33mv -f ../../../ccs2bin.exe ../util/btoccs/ccs2bin.exe
34mv -f ../../../bconvert64x.exe ../util/bconvert/bconvert64x.exe
35mv -f ../../../romparse.exe ../util/romparse/romparse.exe
36mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
37mv -f ../../../input.txt ../util/iblConfig/build/input.txt
38
39cd ../../../
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 @@
1cd ibl/src/make
2
3source setupenvLnx.sh
4
5make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51
6cp -f bin/i2crom_0x51_tci6634k2k_le.bin ../../../i2crom_0x51_tci6634k2k_le.bin
7cp -f bin/i2cparam_0x51_tci6634k2k_le_0x500.out ../../../i2cparam_0x51_tci6634k2k_le_0x500.out
8
9cp -f ../util/i2cConfig/i2cConfig.gel ../../../i2cConfig.gel
10cp -f ../util/btoccs/b2ccs ../../../b2ccs
11cp -f ../util/btoccs/b2i2c ../../../b2i2c
12cp -f ../util/btoccs/ccs2bin ../../../ccs2bin
13cp -f ../util/bconvert/bconvert64x ../../../bconvert64x
14cp -f ../util/romparse/romparse ../../../romparse
15cp -f ../util/iblConfig/build/iblConfig.out ../../../iblConfig.out
16cp -f ../util/iblConfig/build/input.txt ../../../input.txt
17
18make clean
19
20make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51
21cp -f bin/i2crom_0x51_tci6634k2k_be.bin ../../../i2crom_0x51_tci6634k2k_be.bin
22cp -f bin/i2cparam_0x51_tci6634k2k_be_0x500.out ../../../i2cparam_0x51_tci6634k2k_be_0x500.out
23make clean
24
25mv -f ../../../i2crom_0x51_tci6634k2k_le.bin bin/i2crom_0x51_tci6634k2k_le.bin
26mv -f ../../../i2crom_0x51_tci6634k2k_be.bin bin/i2crom_0x51_tci6634k2k_be.bin
27mv -f ../../../i2cparam_0x51_tci6634k2k_le_0x500.out bin/i2cparam_0x51_tci6634k2k_le_0x500.out
28mv -f ../../../i2cparam_0x51_tci6634k2k_be_0x500.out bin/i2cparam_0x51_tci6634k2k_be_0x500.out
29
30mv -f ../../../i2cConfig.gel bin/i2cConfig.gel
31mv -f ../../../b2ccs ../util/btoccs/b2ccs
32mv -f ../../../b2i2c ../util/btoccs/b2i2c
33mv -f ../../../ccs2bin ../util/btoccs/ccs2bin
34mv -f ../../../bconvert64x ../util/bconvert/bconvert64x
35mv -f ../../../romparse ../util/romparse/romparse
36mv -f ../../../iblConfig.out ../util/iblConfig/build/iblConfig.out
37mv -f ../../../input.txt ../util/iblConfig/build/input.txt
38
39cd ../../../
40