summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6e06053)
raw | patch | inline | side by side (parent: 6e06053)
author | AravindBatni <aravindbr@ti.com> | |
Mon, 22 Aug 2011 15:06:49 +0000 (11:06 -0400) | ||
committer | AravindBatni <aravindbr@ti.com> | |
Mon, 22 Aug 2011 15:06:49 +0000 (11:06 -0400) |
13 files changed:
diff --git a/boot_loader/examples/ethernet/simple/simple.sh b/boot_loader/examples/ethernet/simple/simple.sh
--- /dev/null
@@ -0,0 +1 @@
+make simple.eth\r
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
--- /dev/null
@@ -0,0 +1,20 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0\r
+export TARGET=6670\r
+export ENDIAN=little\r
+\r
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}\r
+echo TARGET set as: ${TARGET}\r
+\r
+echo Converting .out to HEX ...\r
+if [ ${ENDIAN} == little ]\r
+then\r
+${CGT_INSTALL_DIR}/bin/hex6x -order L pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out\r
+else\r
+${CGT_INSTALL_DIR}/bin/hex6x -order M pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out\r
+fi\r
+\r
+../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_ddrinit.btbl pcieboot_ddrinit.h pcieboot_ddrinit.bin\r
+\r
+../../../../../../hfile2array/hfile2array pcieboot_ddrinit.h pcieDdrInit.h ddrInitCode\r
+\r
+mv pcieDdrInit.h ../../../linux_host_loader/pcieDdrInit_${TARGET}.h\r
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
--- /dev/null
@@ -0,0 +1,20 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0\r
+export TARGET=6678\r
+export ENDIAN=little\r
+\r
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}\r
+echo TARGET set as: ${TARGET}\r
+\r
+echo Converting .out to HEX ...\r
+if [ ${ENDIAN} == little ]\r
+then\r
+${CGT_INSTALL_DIR}/bin/hex6x -order L pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out\r
+else\r
+${CGT_INSTALL_DIR}/bin/hex6x -order M pcieboot_ddrinit.rmd pcieboot_ddrinit_evm${TARGET}l.out\r
+fi\r
+\r
+../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_ddrinit.btbl pcieboot_ddrinit.h pcieboot_ddrinit.bin\r
+\r
+../../../../../../hfile2array/hfile2array pcieboot_ddrinit.h pcieDdrInit.h ddrInitCode\r
+\r
+mv pcieDdrInit.h ../../../linux_host_loader/pcieDdrInit_${TARGET}.h\r
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
--- /dev/null
@@ -0,0 +1,22 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0\r
+export TOOL_DIR="../../../../../../"\r
+export TARGET=6670\r
+export ENDIAN=little\r
+\r
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}\r
+echo TARGET set as: ${TARGET}\r
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}\r
+\r
+echo Converting .out to HEX ...\r
+if [ ${ENDIAN} == little ]\r
+then\r
+${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out\r
+else\r
+${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out\r
+fi\r
+\r
+../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_helloworld.btbl pcieboot_helloworld.h pcieboot_helloworld.bin\r
+\r
+../../../../../../hfile2array/hfile2array pcieboot_helloworld.h pcieBootCode.h bootCode\r
+\r
+mv pcieBootCode.h ../../../linux_host_loader/pcieBootCode_${TARGET}.h\r
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
--- /dev/null
@@ -0,0 +1,23 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0\r
+export TOOL_DIR="../../../../../../"\r
+export TARGET=6678\r
+export ENDIAN=little\r
+export PATH=${PATH};${SystemRoot}/system32;${SystemRoot};\r
+\r
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}\r
+echo TARGET set as: ${TARGET}\r
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}\r
+\r
+echo Converting .out to HEX ...\r
+if [ ${ENDIAN} == little ]\r
+then\r
+${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out\r
+else\r
+${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd pcieboot_helloworld_evm${TARGET}l.out\r
+fi\r
+\r
+../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_helloworld.btbl pcieboot_helloworld.h pcieboot_helloworld.bin\r
+\r
+../../../../../../hfile2array/hfile2array pcieboot_helloworld.h pcieBootCode.h bootCode\r
+\r
+mv pcieBootCode.h ../../../linux_host_loader/pcieBootCode_${TARGET}.h\r
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
--- /dev/null
@@ -0,0 +1,22 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0\r
+export TOOL_DIR="../../../../../../"\r
+export TARGET=6670\r
+export ENDIAN=little\r
+\r
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}\r
+echo TARGET set as: ${TARGET}\r
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}\r
+\r
+cp ../../../../../../post/evmc${TARGET}l/bin/post_evm${TARGET}l.out .\r
+\r
+echo Converting .out to HEX ...\r
+if [ ${ENDIAN} == little ]\r
+then\r
+${CGT_INSTALL_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out\r
+else\r
+${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out\r
+fi\r
+\r
+../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin\r
+../../../../../../hfile2array/hfile2array pcieboot_post.h post.h post\r
+mv post.h ../../../linux_host_loader/post_${TARGET}.h\r
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
--- /dev/null
@@ -0,0 +1,22 @@
+export C6000_CG_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0\r
+export TOOL_DIR="../../../../../../"\r
+export TARGET=6678\r
+export ENDIAN=little\r
+\r
+echo C6000_CG_DIR set as: ${C6000_CG_DIR}\r
+echo TARGET set as: ${TARGET}\r
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}\r
+\r
+cp ../../../../../../post/evmc${TARGET}l/bin/post_evm${TARGET}l.out .\r
+\r
+echo Converting .out to HEX ...\r
+if [ ${ENDIAN} == little ]\r
+then\r
+${C6000_CG_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out\r
+else\r
+${C6000_CG_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out\r
+fi\r
+\r
+../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin\r
+../../../../../../hfile2array/hfile2array pcieboot_post.h post.h post\r
+mv post.h ../../../linux_host_loader/post_${TARGET}.h\r
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
--- /dev/null
@@ -0,0 +1,22 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0
+export TARGET=6670
+export ENDIAN=little
+
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}
+echo TARGET set as: ${TARGET}
+
+echo Converting .out to HEX ...
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out
+fi
+
+../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_ddrinit.btbl srioboot_ddrinit.h srioboot_ddrinit.bin
+
+../../../../../../hfile2array/hfile2array srioboot_ddrinit.h srioDdrInit.h ddrInitCode
+
+mv srioDdrInit.h ../../../srioboot_example/src/
+
+
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
--- /dev/null
@@ -0,0 +1,20 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0
+export TARGET=6678
+export ENDIAN=little
+
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}
+echo TARGET set as: ${TARGET}
+
+echo Converting .out to HEX ...
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M srioboot_ddrinit.rmd srioboot_ddrinit_evm${TARGET}l.out
+fi
+
+../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_ddrinit.btbl srioboot_ddrinit.h srioboot_ddrinit.bin
+
+../../../../../../hfile2array/hfile2array srioboot_ddrinit.h srioDdrInit.h ddrInitCode
+
+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
--- /dev/null
@@ -0,0 +1,22 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0
+export TOOL_DIR="../../../../../../"
+export TARGET=6670
+export ENDIAN=little
+
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}
+echo TARGET set as: ${TARGET}
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}
+
+echo Converting .out to HEX ...
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out
+fi
+
+../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_helloworld.btbl srioboot_helloworld.h srioboot_helloworld.bin
+
+../../../../../../hfile2array/hfile2array srioboot_helloworld.h srioBootCode.h bootCode
+
+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
--- /dev/null
@@ -0,0 +1,22 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0
+export TOOL_DIR="../../../../../../"
+export TARGET=6678
+export ENDIAN=little
+
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}
+echo TARGET set as: ${TARGET}
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}
+
+echo Converting .out to HEX ...
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M helloworld_image.rmd srioboot_helloworld_evm${TARGET}l.out
+fi
+
+../../../../../../bttbl2hfile/Bttbl2Hfile srioboot_helloworld.btbl srioboot_helloworld.h srioboot_helloworld.bin
+
+../../../../../../hfile2array/hfile2array srioboot_helloworld.h srioBootCode.h bootCode
+
+mv srioBootCode.h ../../../srioboot_example/src/
diff --git a/post/evmc6670l/bin/post_romparse.sh b/post/evmc6670l/bin/post_romparse.sh
--- /dev/null
@@ -0,0 +1,43 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0
+export TARGET=6670
+export ENDIAN=little
+export IBL_ROOT_DIR="../../../boot_loader/ibl"
+
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}
+echo TARGET set as: ${TARGET}
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}
+
+echo Converting .out to HEX ...
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L post_image.rmd post_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M post_image.rmd post_evm${TARGET}l.out
+fi
+
+${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.b post.ccs
+
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out
+fi
+
+if [ ${ENDIAN} == little ]
+then
+${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -le post2.b post.b
+else
+${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -be post2.b post.b
+fi
+
+${IBL_ROOT_DIR}/src/util/btoccs/b2i2c post.b post.i2c.b
+
+${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.i2c.b post.i2c.ccs
+
+echo Generating I2C ROM data ...
+${IBL_ROOT_DIR}/src/util/romparse/romparse -rom_base 0x50 post_i2crom.map.pp
+
+mv i2crom.ccs post_i2crom.dat
+
+rm -f *.ccs *.b
diff --git a/post/evmc6678l/bin/post_romparse.sh b/post/evmc6678l/bin/post_romparse.sh
--- /dev/null
@@ -0,0 +1,43 @@
+export CGT_INSTALL_DIR=~/texas_instruments/TI_CGT_C6000_7.3.0
+export TARGET=6678
+export ENDIAN=little
+export IBL_ROOT_DIR="../../../boot_loader/ibl"
+
+echo CGT_INSTALL_DIR set as: ${CGT_INSTALL_DIR}
+echo TARGET set as: ${TARGET}
+echo IBL_ROOT_DIR set as : ${IBL_ROOT_DIR}
+
+echo Converting .out to HEX ...
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L post_image.rmd post_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M post_image.rmd post_evm${TARGET}l.out
+fi
+
+${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.b post.ccs
+
+if [ ${ENDIAN} == little ]
+then
+${CGT_INSTALL_DIR}/bin/hex6x -order L post.rmd post_evm${TARGET}l.out
+else
+${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}l.out
+fi
+
+if [ ${ENDIAN} == little ]
+then
+${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -le post2.b post.b
+else
+${IBL_ROOT_DIR}/src/util/bconvert/bconvert64x -be post2.b post.b
+fi
+
+${IBL_ROOT_DIR}/src/util/btoccs/b2i2c post.b post.i2c.b
+
+${IBL_ROOT_DIR}/src/util/btoccs/b2ccs post.i2c.b post.i2c.ccs
+
+echo Generating I2C ROM data ...
+${IBL_ROOT_DIR}/src/util/romparse/romparse -rom_base 0x50 post_i2crom.map.pp
+
+mv i2crom.ccs post_i2crom.dat
+
+rm -f *.ccs *.b