diff options
author | AravindBatni | 2011-08-22 10:06:49 -0500 |
---|---|---|
committer | AravindBatni | 2011-08-22 10:06:49 -0500 |
commit | 158b08902f0d3ac8117c44fce2e30d5cdb26609d (patch) | |
tree | febad3512b0627f4c284596ba8dd72bd53803dd1 | |
parent | 6e060535e975c4e0e39acc0fbda272a1f954d464 (diff) | |
download | mcsdk-tools-158b08902f0d3ac8117c44fce2e30d5cdb26609d.tar.gz mcsdk-tools-158b08902f0d3ac8117c44fce2e30d5cdb26609d.tar.xz mcsdk-tools-158b08902f0d3ac8117c44fce2e30d5cdb26609d.zip |
added the linux shell scripts for boot loader examples
13 files changed, 302 insertions, 0 deletions
diff --git a/boot_loader/examples/ethernet/simple/simple.sh b/boot_loader/examples/ethernet/simple/simple.sh new file mode 100755 index 0000000..6c5a34a --- /dev/null +++ b/boot_loader/examples/ethernet/simple/simple.sh | |||
@@ -0,0 +1 @@ | |||
make simple.eth | |||
diff --git a/boot_loader/examples/pcie/pcieboot_ddrinit/evmc6670l/bin/pcieboot_ddrinit_elf2HBin.sh b/boot_loader/examples/pcie/pcieboot_ddrinit/evmc6670l/bin/pcieboot_ddrinit_elf2HBin.sh new file mode 100755 index 0000000..af73029 --- /dev/null +++ b/boot_loader/examples/pcie/pcieboot_ddrinit/evmc6670l/bin/pcieboot_ddrinit_elf2HBin.sh | |||
@@ -0,0 +1,20 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TARGET=6670 | ||
3 | export ENDIAN=little | ||
4 | |||
5 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
6 | echo TARGET set as: ${TARGET} | ||
7 | |||
8 | echo Converting .out to HEX ... | ||
9 | if [ ${ENDIAN} == little ] | ||
10 | then | ||
11 | ${CGT_INSTALL_DIR}/bin/hex6x -order L pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out | ||
12 | else | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order M pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out | ||
14 | fi | ||
15 | |||
16 | ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_ddrinit.btbl pcieboot_ddrinit.h pcieboot_ddrinit.bin | ||
17 | |||
18 | ../../../../../../hfile2array/hfile2array pcieboot_ddrinit.h pcieDdrInit.h ddrInitCode | ||
19 | |||
20 | mv pcieDdrInit.h ../../../linux_host_loader/pcieDdrInit_${TARGET}.h | ||
diff --git a/boot_loader/examples/pcie/pcieboot_ddrinit/evmc6678l/bin/pcieboot_ddrinit_elf2HBin.sh b/boot_loader/examples/pcie/pcieboot_ddrinit/evmc6678l/bin/pcieboot_ddrinit_elf2HBin.sh new file mode 100755 index 0000000..dfb5417 --- /dev/null +++ b/boot_loader/examples/pcie/pcieboot_ddrinit/evmc6678l/bin/pcieboot_ddrinit_elf2HBin.sh | |||
@@ -0,0 +1,20 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TARGET=6678 | ||
3 | export ENDIAN=little | ||
4 | |||
5 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
6 | echo TARGET set as: ${TARGET} | ||
7 | |||
8 | echo Converting .out to HEX ... | ||
9 | if [ ${ENDIAN} == little ] | ||
10 | then | ||
11 | ${CGT_INSTALL_DIR}/bin/hex6x -order L pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out | ||
12 | else | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order M pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out | ||
14 | fi | ||
15 | |||
16 | ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_ddrinit.btbl pcieboot_ddrinit.h pcieboot_ddrinit.bin | ||
17 | |||
18 | ../../../../../../hfile2array/hfile2array pcieboot_ddrinit.h pcieDdrInit.h ddrInitCode | ||
19 | |||
20 | mv pcieDdrInit.h ../../../linux_host_loader/pcieDdrInit_${TARGET}.h | ||
diff --git a/boot_loader/examples/pcie/pcieboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.sh b/boot_loader/examples/pcie/pcieboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.sh new file mode 100755 index 0000000..4c4ba33 --- /dev/null +++ b/boot_loader/examples/pcie/pcieboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TOOL_DIR="../../../../../../" | ||
3 | export TARGET=6670 | ||
4 | export ENDIAN=little | ||
5 | |||
6 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
7 | echo TARGET set as: ${TARGET} | ||
8 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
9 | |||
10 | echo Converting .out to HEX ... | ||
11 | if [ ${ENDIAN} == little ] | ||
12 | then | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out | ||
14 | else | ||
15 | ${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out | ||
16 | fi | ||
17 | |||
18 | ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_helloworld.btbl pcieboot_helloworld.h pcieboot_helloworld.bin | ||
19 | |||
20 | ../../../../../../hfile2array/hfile2array pcieboot_helloworld.h pcieBootCode.h bootCode | ||
21 | |||
22 | mv pcieBootCode.h ../../../linux_host_loader/pcieBootCode_${TARGET}.h | ||
diff --git a/boot_loader/examples/pcie/pcieboot_helloworld/evmc6678l/bin/helloworld_elf2HBin.sh b/boot_loader/examples/pcie/pcieboot_helloworld/evmc6678l/bin/helloworld_elf2HBin.sh new file mode 100755 index 0000000..89f07fb --- /dev/null +++ b/boot_loader/examples/pcie/pcieboot_helloworld/evmc6678l/bin/helloworld_elf2HBin.sh | |||
@@ -0,0 +1,23 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TOOL_DIR="../../../../../../" | ||
3 | export TARGET=6678 | ||
4 | export ENDIAN=little | ||
5 | export PATH=${PATH};${SystemRoot}/system32;${SystemRoot}; | ||
6 | |||
7 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
8 | echo TARGET set as: ${TARGET} | ||
9 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
10 | |||
11 | echo Converting .out to HEX ... | ||
12 | if [ ${ENDIAN} == little ] | ||
13 | then | ||
14 | ${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out | ||
15 | else | ||
16 | ${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out | ||
17 | fi | ||
18 | |||
19 | ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_helloworld.btbl pcieboot_helloworld.h pcieboot_helloworld.bin | ||
20 | |||
21 | ../../../../../../hfile2array/hfile2array pcieboot_helloworld.h pcieBootCode.h bootCode | ||
22 | |||
23 | mv pcieBootCode.h ../../../linux_host_loader/pcieBootCode_${TARGET}.h | ||
diff --git a/boot_loader/examples/pcie/pcieboot_post/evmc6670l/bin/pcieboot_post_elf2HBin.sh b/boot_loader/examples/pcie/pcieboot_post/evmc6670l/bin/pcieboot_post_elf2HBin.sh new file mode 100755 index 0000000..a2cfbbd --- /dev/null +++ b/boot_loader/examples/pcie/pcieboot_post/evmc6670l/bin/pcieboot_post_elf2HBin.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TOOL_DIR="../../../../../../" | ||
3 | export TARGET=6670 | ||
4 | export ENDIAN=little | ||
5 | |||
6 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
7 | echo TARGET set as: ${TARGET} | ||
8 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
9 | |||
10 | cp ../../../../../../post/evmc${TARGET}l/bin/post_evm${TARGET}l.out . | ||
11 | |||
12 | echo Converting .out to HEX ... | ||
13 | if [ ${ENDIAN} == little ] | ||
14 | then | ||
15 | ${CGT_INSTALL_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out | ||
16 | else | ||
17 | ${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out | ||
18 | fi | ||
19 | |||
20 | ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin | ||
21 | ../../../../../../hfile2array/hfile2array pcieboot_post.h post.h post | ||
22 | mv post.h ../../../linux_host_loader/post_${TARGET}.h | ||
diff --git a/boot_loader/examples/pcie/pcieboot_post/evmc6678l/bin/pcieboot_post_elf2HBin.sh b/boot_loader/examples/pcie/pcieboot_post/evmc6678l/bin/pcieboot_post_elf2HBin.sh new file mode 100755 index 0000000..ac1ec24 --- /dev/null +++ b/boot_loader/examples/pcie/pcieboot_post/evmc6678l/bin/pcieboot_post_elf2HBin.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | export C6000_CG_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TOOL_DIR="../../../../../../" | ||
3 | export TARGET=6678 | ||
4 | export ENDIAN=little | ||
5 | |||
6 | echo C6000_CG_DIR set as: ${C6000_CG_DIR} | ||
7 | echo TARGET set as: ${TARGET} | ||
8 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
9 | |||
10 | cp ../../../../../../post/evmc${TARGET}l/bin/post_evm${TARGET}l.out . | ||
11 | |||
12 | echo Converting .out to HEX ... | ||
13 | if [ ${ENDIAN} == little ] | ||
14 | then | ||
15 | ${C6000_CG_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out | ||
16 | else | ||
17 | ${C6000_CG_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out | ||
18 | fi | ||
19 | |||
20 | ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin | ||
21 | ../../../../../../hfile2array/hfile2array pcieboot_post.h post.h post | ||
22 | mv post.h ../../../linux_host_loader/post_${TARGET}.h | ||
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6670l/bin/srioboot_ddrinit_elf2HBin.sh b/boot_loader/examples/srio/srioboot_ddrinit/evmc6670l/bin/srioboot_ddrinit_elf2HBin.sh new file mode 100644 index 0000000..f2ab47b --- /dev/null +++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6670l/bin/srioboot_ddrinit_elf2HBin.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TARGET=6670 | ||
3 | export ENDIAN=little | ||
4 | |||
5 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
6 | echo TARGET set as: ${TARGET} | ||
7 | |||
8 | echo Converting .out to HEX ... | ||
9 | if [ ${ENDIAN} == little ] | ||
10 | then | ||
11 | ${CGT_INSTALL_DIR}/bin/hex6x -order L srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out | ||
12 | else | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order M srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out | ||
14 | fi | ||
15 | |||
16 | ../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_ddrinit.btbl srioboot_ddrinit.h srioboot_ddrinit.bin | ||
17 | |||
18 | ../../../../../../hfile2array/hfile2array srioboot_ddrinit.h srioDdrInit.h ddrInitCode | ||
19 | |||
20 | mv srioDdrInit.h ../../../srioboot_example/src/ | ||
21 | |||
22 | |||
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6678l/bin/srioboot_ddrinit_elf2HBin.sh b/boot_loader/examples/srio/srioboot_ddrinit/evmc6678l/bin/srioboot_ddrinit_elf2HBin.sh new file mode 100644 index 0000000..8a8a40d --- /dev/null +++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6678l/bin/srioboot_ddrinit_elf2HBin.sh | |||
@@ -0,0 +1,20 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TARGET=6678 | ||
3 | export ENDIAN=little | ||
4 | |||
5 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
6 | echo TARGET set as: ${TARGET} | ||
7 | |||
8 | echo Converting .out to HEX ... | ||
9 | if [ ${ENDIAN} == little ] | ||
10 | then | ||
11 | ${CGT_INSTALL_DIR}/bin/hex6x -order L srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out | ||
12 | else | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order M srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out | ||
14 | fi | ||
15 | |||
16 | ../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_ddrinit.btbl srioboot_ddrinit.h srioboot_ddrinit.bin | ||
17 | |||
18 | ../../../../../../hfile2array/hfile2array srioboot_ddrinit.h srioDdrInit.h ddrInitCode | ||
19 | |||
20 | mv srioDdrInit.h ../../../srioboot_example/src/ | ||
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.sh b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.sh new file mode 100644 index 0000000..551866b --- /dev/null +++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TOOL_DIR="../../../../../../" | ||
3 | export TARGET=6670 | ||
4 | export ENDIAN=little | ||
5 | |||
6 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
7 | echo TARGET set as: ${TARGET} | ||
8 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
9 | |||
10 | echo Converting .out to HEX ... | ||
11 | if [ ${ENDIAN} == little ] | ||
12 | then | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out | ||
14 | else | ||
15 | ${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out | ||
16 | fi | ||
17 | |||
18 | ../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_helloworld.btbl srioboot_helloworld.h srioboot_helloworld.bin | ||
19 | |||
20 | ../../../../../../hfile2array/hfile2array srioboot_helloworld.h srioBootCode.h bootCode | ||
21 | |||
22 | mv srioBootCode.h ../../../srioboot_example/src/ | ||
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6678l/bin/helloworld_elf2HBin.sh b/boot_loader/examples/srio/srioboot_helloworld/evmc6678l/bin/helloworld_elf2HBin.sh new file mode 100644 index 0000000..e02f6f1 --- /dev/null +++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6678l/bin/helloworld_elf2HBin.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TOOL_DIR="../../../../../../" | ||
3 | export TARGET=6678 | ||
4 | export ENDIAN=little | ||
5 | |||
6 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
7 | echo TARGET set as: ${TARGET} | ||
8 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
9 | |||
10 | echo Converting .out to HEX ... | ||
11 | if [ ${ENDIAN} == little ] | ||
12 | then | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out | ||
14 | else | ||
15 | ${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out | ||
16 | fi | ||
17 | |||
18 | ../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_helloworld.btbl srioboot_helloworld.h srioboot_helloworld.bin | ||
19 | |||
20 | ../../../../../../hfile2array/hfile2array srioboot_helloworld.h srioBootCode.h bootCode | ||
21 | |||
22 | mv srioBootCode.h ../../../srioboot_example/src/ | ||
diff --git a/post/evmc6670l/bin/post_romparse.sh b/post/evmc6670l/bin/post_romparse.sh new file mode 100644 index 0000000..e8b4295 --- /dev/null +++ b/post/evmc6670l/bin/post_romparse.sh | |||
@@ -0,0 +1,43 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TARGET=6670 | ||
3 | export ENDIAN=little | ||
4 | export IBL_ROOT_DIR="../../../boot_loader/ibl" | ||
5 | |||
6 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
7 | echo TARGET set as: ${TARGET} | ||
8 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
9 | |||
10 | echo Converting .out to HEX ... | ||
11 | if [ ${ENDIAN} == little ] | ||
12 | then | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order L post_image.rmd post_evm${TARGET}l.out | ||
14 | else | ||
15 | ${CGT_INSTALL_DIR}/bin/hex6x -order M post_image.rmd post_evm${TARGET}l.out | ||
16 | fi | ||
17 | |||
18 | ${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.b post.ccs | ||
19 | |||
20 | if [ ${ENDIAN} == little ] | ||
21 | then | ||
22 | ${CGT_INSTALL_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out | ||
23 | else | ||
24 | ${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out | ||
25 | fi | ||
26 | |||
27 | if [ ${ENDIAN} == little ] | ||
28 | then | ||
29 | ${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -le post2.b post.b | ||
30 | else | ||
31 | ${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -be post2.b post.b | ||
32 | fi | ||
33 | |||
34 | ${IBL_ROOT_DIR}/src/util/btoccs/b2i2c post.b post.i2c.b | ||
35 | |||
36 | ${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.i2c.b post.i2c.ccs | ||
37 | |||
38 | echo Generating I2C ROM data ... | ||
39 | ${IBL_ROOT_DIR}/src/util/romparse/romparse -rom_base 0x50 post_i2crom.map.pp | ||
40 | |||
41 | mv i2crom.ccs post_i2crom.dat | ||
42 | |||
43 | rm -f *.ccs *.b | ||
diff --git a/post/evmc6678l/bin/post_romparse.sh b/post/evmc6678l/bin/post_romparse.sh new file mode 100644 index 0000000..6fb267b --- /dev/null +++ b/post/evmc6678l/bin/post_romparse.sh | |||
@@ -0,0 +1,43 @@ | |||
1 | export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0 | ||
2 | export TARGET=6678 | ||
3 | export ENDIAN=little | ||
4 | export IBL_ROOT_DIR="../../../boot_loader/ibl" | ||
5 | |||
6 | echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR} | ||
7 | echo TARGET set as: ${TARGET} | ||
8 | echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR} | ||
9 | |||
10 | echo Converting .out to HEX ... | ||
11 | if [ ${ENDIAN} == little ] | ||
12 | then | ||
13 | ${CGT_INSTALL_DIR}/bin/hex6x -order L post_image.rmd post_evm${TARGET}l.out | ||
14 | else | ||
15 | ${CGT_INSTALL_DIR}/bin/hex6x -order M post_image.rmd post_evm${TARGET}l.out | ||
16 | fi | ||
17 | |||
18 | ${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.b post.ccs | ||
19 | |||
20 | if [ ${ENDIAN} == little ] | ||
21 | then | ||
22 | ${CGT_INSTALL_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out | ||
23 | else | ||
24 | ${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out | ||
25 | fi | ||
26 | |||
27 | if [ ${ENDIAN} == little ] | ||
28 | then | ||
29 | ${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -le post2.b post.b | ||
30 | else | ||
31 | ${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -be post2.b post.b | ||
32 | fi | ||
33 | |||
34 | ${IBL_ROOT_DIR}/src/util/btoccs/b2i2c post.b post.i2c.b | ||
35 | |||
36 | ${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.i2c.b post.i2c.ccs | ||
37 | |||
38 | echo Generating I2C ROM data ... | ||
39 | ${IBL_ROOT_DIR}/src/util/romparse/romparse -rom_base 0x50 post_i2crom.map.pp | ||
40 | |||
41 | mv i2crom.ccs post_i2crom.dat | ||
42 | |||
43 | rm -f *.ccs *.b | ||