diff options
-rwxr-xr-x | post/evmk2k/.ccsproject | 11 | ||||
-rwxr-xr-x | post/evmk2k/.cproject | 101 | ||||
-rwxr-xr-x | post/evmk2k/.project | 107 | ||||
-rwxr-xr-x | post/evmk2k/bin/post.rmd | 11 | ||||
-rwxr-xr-x | post/evmk2k/bin/post_i2crom.map.pp | 25 | ||||
-rwxr-xr-x | post/evmk2k/bin/post_image.rmd | 10 | ||||
-rwxr-xr-x | post/evmk2k/bin/post_romparse.bat | 44 | ||||
-rwxr-xr-x | post/evmk2k/bin/post_romparse.sh | 43 | ||||
-rwxr-xr-x | post/evmk2k/macros.ini | 1 | ||||
-rwxr-xr-x | post/evmk2k/post.cmd | 83 |
10 files changed, 0 insertions, 436 deletions
diff --git a/post/evmk2k/.ccsproject b/post/evmk2k/.ccsproject deleted file mode 100755 index e82706d..0000000 --- a/post/evmk2k/.ccsproject +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <?ccsproject version="1.0"?> | ||
3 | |||
4 | <projectOptions> | ||
5 | <deviceVariant value="com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/> | ||
6 | <deviceEndianness value="little"/> | ||
7 | <codegenToolVersion value="7.2.4"/> | ||
8 | <isElfFormat value="true"/> | ||
9 | <rts value="rts6600_elf.lib"/> | ||
10 | <deviceFamily value="C6000"/> | ||
11 | </projectOptions> | ||
diff --git a/post/evmk2k/.cproject b/post/evmk2k/.cproject deleted file mode 100755 index 8c78893..0000000 --- a/post/evmk2k/.cproject +++ /dev/null | |||
@@ -1,101 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <?fileVersion 4.0.0?> | ||
3 | |||
4 | <cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> | ||
5 | <storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings"> | ||
6 | <cconfiguration id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513"> | ||
7 | <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" moduleId="org.eclipse.cdt.core.settings" name="Release"> | ||
8 | <macros> | ||
9 | <stringMacro name="TI_MCSDK_POST_DIR" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/> | ||
10 | </macros> | ||
11 | <externalSettings/> | ||
12 | <extensions> | ||
13 | <extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/> | ||
14 | <extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
15 | <extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
16 | <extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
17 | </extensions> | ||
18 | </storageModule> | ||
19 | <storageModule moduleId="org.eclipse.cdt.core.pathentry"/> | ||
20 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
21 | <configuration artifactExtension="out" artifactName="../bin/post_evmk2k" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" name="Release" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug"> | ||
22 | <folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513." name="/" resourcePath=""> | ||
23 | <toolChain id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain.2001978243" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.673602521"> | ||
24 | <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.275808649" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList"> | ||
25 | <listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/> | ||
26 | <listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/> | ||
27 | <listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/> | ||
28 | <listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.1.0.01"/> | ||
29 | <listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=post.cmd"/> | ||
30 | <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/> | ||
31 | <listOptionValue builtIn="false" value="RTSC_PRODUCTS=ti.pdk:1.0.0.05;com.ti.rtsc.NDK:2.21.1.38;com.ti.rtsc.SYSBIOS:6.33.6.50;"/> | ||
32 | <listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/> | ||
33 | </option> | ||
34 | <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.510961119" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="7.3.4" valueType="string"/> | ||
35 | <targetPlatform id="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.targetPlatformDebug.608323310" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.targetPlatformDebug"/> | ||
36 | <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.builderDebug.1393087542" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.builderDebug"/> | ||
37 | <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.compilerDebug.1240614699" name="C6000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.compilerDebug"> | ||
38 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.SILICON_VERSION.584293016" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.SILICON_VERSION" value="6600" valueType="string"/> | ||
39 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.1615818557" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/> | ||
40 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH.188957506" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH" valueType="includePath"> | ||
41 | <listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/> | ||
42 | <listOptionValue builtIn="false" value=""${TI_PDK_INSTALL_DIR}/packages/ti/platform""/> | ||
43 | <listOptionValue builtIn="false" value=""${TI_PDK_INSTALL_DIR}/packages/""/> | ||
44 | <listOptionValue builtIn="false" value=""${PROJECT_ROOT}/../include""/> | ||
45 | </option> | ||
46 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER.239059691" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/> | ||
47 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING.987226579" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING" valueType="stringList"> | ||
48 | <listOptionValue builtIn="false" value="225"/> | ||
49 | </option> | ||
50 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.1312414060" name="Application binary interface (coffabi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.eabi" valueType="enumerated"/> | ||
51 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEFINE.1454674257" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEFINE" valueType="definedSymbols"> | ||
52 | <listOptionValue builtIn="false" value="DEVICE_K2K"/> | ||
53 | </option> | ||
54 | <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS.722894367" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS"/> | ||
55 | <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS.694247057" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS"/> | ||
56 | <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS.2019840691" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS"/> | ||
57 | <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS.1580376815" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS"/> | ||
58 | </tool> | ||
59 | <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.librarianDebug.1562059286" name="C6000 Archiver" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.library.librarianDebug"> | ||
60 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.archiverID.OUTPUT_FILE.263705444" name="Output file" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.archiverID.OUTPUT_FILE" value=""../bin/post_evmk2k.out"" valueType="string"/> | ||
61 | </tool> | ||
62 | <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.673602521" name="C6000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug"> | ||
63 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE.1242198386" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE" value=""../bin/post_evmk2k.out"" valueType="string"/> | ||
64 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE.370881078" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE" value=""../bin/post_evmk2k.map"" valueType="string"/> | ||
65 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY.412718443" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY" valueType="libs"> | ||
66 | <listOptionValue builtIn="false" value=""ti.platform.evmk2k.lite.lib""/> | ||
67 | <listOptionValue builtIn="false" value=""libc.a""/> | ||
68 | </option> | ||
69 | <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH.1859137181" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH" valueType="stringList"> | ||
70 | <listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/> | ||
71 | <listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/> | ||
72 | <listOptionValue builtIn="false" value=""${TI_PDK_INSTALL_DIR}/packages/ti/platform/evmk2k/platform_lib/lib/debug""/> | ||
73 | </option> | ||
74 | </tool> | ||
75 | </toolChain> | ||
76 | </folderInfo> | ||
77 | <sourceEntries> | ||
78 | <entry excluding="src/evmc665x_sgmii.c|src/evmc665x_emac.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/> | ||
79 | </sourceEntries> | ||
80 | </configuration> | ||
81 | </storageModule> | ||
82 | <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> | ||
83 | <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/> | ||
84 | <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/> | ||
85 | </cconfiguration> | ||
86 | </storageModule> | ||
87 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
88 | <project id="post.com.ti.ccstudio.buildDefinitions.C6000.ProjectType.1742876545" name="C6000" projectType="com.ti.ccstudio.buildDefinitions.C6000.ProjectType"/> | ||
89 | </storageModule> | ||
90 | <storageModule moduleId="org.eclipse.cdt.core.language.mapping"> | ||
91 | <project-mappings> | ||
92 | <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/> | ||
93 | <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/> | ||
94 | <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/> | ||
95 | <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/> | ||
96 | <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/> | ||
97 | </project-mappings> | ||
98 | </storageModule> | ||
99 | <storageModule moduleId="refreshScope"/> | ||
100 | <storageModule moduleId="scannerConfiguration"/> | ||
101 | </cproject> | ||
diff --git a/post/evmk2k/.project b/post/evmk2k/.project deleted file mode 100755 index 9bbd709..0000000 --- a/post/evmk2k/.project +++ /dev/null | |||
@@ -1,107 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <projectDescription> | ||
3 | <name>post_evmk2k</name> | ||
4 | <comment></comment> | ||
5 | <projects> | ||
6 | </projects> | ||
7 | <buildSpec> | ||
8 | <buildCommand> | ||
9 | <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | ||
10 | <arguments> | ||
11 | <dictionary> | ||
12 | <key>?name?</key> | ||
13 | <value></value> | ||
14 | </dictionary> | ||
15 | <dictionary> | ||
16 | <key>org.eclipse.cdt.make.core.append_environment</key> | ||
17 | <value>true</value> | ||
18 | </dictionary> | ||
19 | <dictionary> | ||
20 | <key>org.eclipse.cdt.make.core.autoBuildTarget</key> | ||
21 | <value>all</value> | ||
22 | </dictionary> | ||
23 | <dictionary> | ||
24 | <key>org.eclipse.cdt.make.core.buildArguments</key> | ||
25 | <value>-k</value> | ||
26 | </dictionary> | ||
27 | <dictionary> | ||
28 | <key>org.eclipse.cdt.make.core.buildCommand</key> | ||
29 | <value>${CCS_UTILS_DIR}/bin/gmake</value> | ||
30 | </dictionary> | ||
31 | <dictionary> | ||
32 | <key>org.eclipse.cdt.make.core.buildLocation</key> | ||
33 | <value>${BuildDirectory}</value> | ||
34 | </dictionary> | ||
35 | <dictionary> | ||
36 | <key>org.eclipse.cdt.make.core.cleanBuildTarget</key> | ||
37 | <value>clean</value> | ||
38 | </dictionary> | ||
39 | <dictionary> | ||
40 | <key>org.eclipse.cdt.make.core.contents</key> | ||
41 | <value>org.eclipse.cdt.make.core.activeConfigSettings</value> | ||
42 | </dictionary> | ||
43 | <dictionary> | ||
44 | <key>org.eclipse.cdt.make.core.enableAutoBuild</key> | ||
45 | <value>true</value> | ||
46 | </dictionary> | ||
47 | <dictionary> | ||
48 | <key>org.eclipse.cdt.make.core.enableCleanBuild</key> | ||
49 | <value>true</value> | ||
50 | </dictionary> | ||
51 | <dictionary> | ||
52 | <key>org.eclipse.cdt.make.core.enableFullBuild</key> | ||
53 | <value>true</value> | ||
54 | </dictionary> | ||
55 | <dictionary> | ||
56 | <key>org.eclipse.cdt.make.core.fullBuildTarget</key> | ||
57 | <value>all</value> | ||
58 | </dictionary> | ||
59 | <dictionary> | ||
60 | <key>org.eclipse.cdt.make.core.stopOnError</key> | ||
61 | <value>false</value> | ||
62 | </dictionary> | ||
63 | <dictionary> | ||
64 | <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key> | ||
65 | <value>true</value> | ||
66 | </dictionary> | ||
67 | </arguments> | ||
68 | </buildCommand> | ||
69 | <buildCommand> | ||
70 | <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
71 | <triggers>full,incremental,</triggers> | ||
72 | <arguments> | ||
73 | </arguments> | ||
74 | </buildCommand> | ||
75 | </buildSpec> | ||
76 | <natures> | ||
77 | <nature>com.ti.ccstudio.managedbuild.core.ccsNature</nature> | ||
78 | <nature>com.ti.ccstudio.core.ccsNature</nature> | ||
79 | <nature>org.eclipse.cdt.core.cnature</nature> | ||
80 | <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
81 | <nature>org.eclipse.cdt.core.ccnature</nature> | ||
82 | <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
83 | </natures> | ||
84 | <linkedResources> | ||
85 | <link> | ||
86 | <name>README.txt</name> | ||
87 | <type>1</type> | ||
88 | <locationURI>TI_MCSDK_POST_DIR/post/docs/README.txt</locationURI> | ||
89 | </link> | ||
90 | <link> | ||
91 | <name>include</name> | ||
92 | <type>2</type> | ||
93 | <locationURI>TI_MCSDK_POST_DIR/post/include</locationURI> | ||
94 | </link> | ||
95 | <link> | ||
96 | <name>src</name> | ||
97 | <type>2</type> | ||
98 | <locationURI>TI_MCSDK_POST_DIR/post/src</locationURI> | ||
99 | </link> | ||
100 | </linkedResources> | ||
101 | <variableList> | ||
102 | <variable> | ||
103 | <name>TI_MCSDK_POST_DIR</name> | ||
104 | <value>$%7BPARENT-2-PROJECT_LOC%7D</value> | ||
105 | </variable> | ||
106 | </variableList> | ||
107 | </projectDescription> | ||
diff --git a/post/evmk2k/bin/post.rmd b/post/evmk2k/bin/post.rmd deleted file mode 100755 index cb5d02d..0000000 --- a/post/evmk2k/bin/post.rmd +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | -a | ||
2 | -boot | ||
3 | -e _c_int00 | ||
4 | |||
5 | ROMS | ||
6 | { | ||
7 | ROM1: org = 0x0400, length = 0x10000, memwidth = 32, romwidth = 32 | ||
8 | files = { post2.b } | ||
9 | } | ||
10 | |||
11 | |||
diff --git a/post/evmk2k/bin/post_i2crom.map.pp b/post/evmk2k/bin/post_i2crom.map.pp deleted file mode 100755 index 90c81c6..0000000 --- a/post/evmk2k/bin/post_i2crom.map.pp +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | section | ||
2 | { | ||
3 | param_index = 0 | ||
4 | boot_mode = 40 | ||
5 | sw_pll_prediv = 1 | ||
6 | sw_pll_mult = 16 | ||
7 | sw_pll_postdiv = 2 | ||
8 | options = 1 | ||
9 | |||
10 | core_freq_mhz = 625 | ||
11 | i2c_clk_freq_khz = 200 | ||
12 | |||
13 | dev_addr_ext = 0x50 | ||
14 | |||
15 | multi_i2c_id = 0 | ||
16 | my_i2c_id = 1 | ||
17 | address_delay = 0 | ||
18 | exe_file = "post.i2c.ccs" | ||
19 | } | ||
20 | |||
21 | |||
22 | |||
23 | |||
24 | |||
25 | |||
diff --git a/post/evmk2k/bin/post_image.rmd b/post/evmk2k/bin/post_image.rmd deleted file mode 100755 index c174d6c..0000000 --- a/post/evmk2k/bin/post_image.rmd +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | -a | ||
2 | -e _c_int00 | ||
3 | |||
4 | ROMS | ||
5 | { | ||
6 | ROM1: org = 0x820000, length = 0x10000, memwidth = 32, romwidth = 32 | ||
7 | files = { post.b } | ||
8 | } | ||
9 | |||
10 | |||
diff --git a/post/evmk2k/bin/post_romparse.bat b/post/evmk2k/bin/post_romparse.bat deleted file mode 100755 index 523a3b0..0000000 --- a/post/evmk2k/bin/post_romparse.bat +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | set C6000_CG_DIR="C:\ti\ccsv5\tools\compiler\c6000_7.4.1" | ||
2 | set TARGET=k2k | ||
3 | set ENDIAN=little | ||
4 | set IBL_ROOT_DIR="..\..\..\boot_loader\ibl" | ||
5 | set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%; | ||
6 | |||
7 | |||
8 | @echo off | ||
9 | |||
10 | echo C6000_CG_DIR set as: %C6000_CG_DIR% | ||
11 | echo TARGET set as: %TARGET% | ||
12 | echo IBL_ROOT_DIR set as : %IBL_ROOT_DIR% | ||
13 | |||
14 | echo Converting .out to HEX ... | ||
15 | if %ENDIAN% == little ( | ||
16 | %C6000_CG_DIR%\bin\hex6x -order L post_image.rmd post_evm%TARGET%.out | ||
17 | ) else ( | ||
18 | %C6000_CG_DIR%\bin\hex6x -order M post_image.rmd post_evm%TARGET%.out | ||
19 | ) | ||
20 | |||
21 | %IBL_ROOT_DIR%\src\util\btoccs\b2ccs post.b post.ccs | ||
22 | |||
23 | if %ENDIAN% == little ( | ||
24 | %C6000_CG_DIR%\bin\hex6x -order L post.rmd post_evm%TARGET%.out | ||
25 | ) else ( | ||
26 | %C6000_CG_DIR%\bin\hex6x -order M post.rmd post_evm%TARGET%.out | ||
27 | ) | ||
28 | |||
29 | if %ENDIAN% == little ( | ||
30 | %IBL_ROOT_DIR%\src\util\bconvert\bconvert64x -le post2.b post.b | ||
31 | ) else ( | ||
32 | %IBL_ROOT_DIR%\src\util\bconvert\bconvert64x -be post2.b post.b | ||
33 | ) | ||
34 | |||
35 | %IBL_ROOT_DIR%\src\util\btoccs\b2i2c post.b post.i2c.b | ||
36 | |||
37 | %IBL_ROOT_DIR%\src\util\btoccs\b2ccs post.i2c.b post.i2c.ccs | ||
38 | |||
39 | echo Generating I2C ROM data ... | ||
40 | %IBL_ROOT_DIR%\src\util\romparse\romparse -rom_base 0x50 post_i2crom.map.pp | ||
41 | |||
42 | %IBL_ROOT_DIR%\src\util\btoccs\ccs2bin -swap i2crom.ccs post_i2crom.bin | ||
43 | |||
44 | rm -f *.ccs *.b | ||
diff --git a/post/evmk2k/bin/post_romparse.sh b/post/evmk2k/bin/post_romparse.sh deleted file mode 100755 index 33dac20..0000000 --- a/post/evmk2k/bin/post_romparse.sh +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | export CGT_INSTALL_DIR=~/ti/ccsv5/tools/compiler/c6000_7.4.1 | ||
2 | export TARGET=k2k | ||
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}.out | ||
14 | else | ||
15 | ${CGT_INSTALL_DIR}/bin/hex6x -order M post_image.rmd post_evm${TARGET}.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}.out | ||
23 | else | ||
24 | ${CGT_INSTALL_DIR}/bin/hex6x -order M post.rmd post_evm${TARGET}.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 | ${IBL_ROOT_DIR}/src/util/btoccs/ccs2bin -swap i2crom.ccs post_i2crom.bin | ||
42 | |||
43 | rm -f *.ccs *.b | ||
diff --git a/post/evmk2k/macros.ini b/post/evmk2k/macros.ini deleted file mode 100755 index 7c28ad8..0000000 --- a/post/evmk2k/macros.ini +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | TI_MCSDK_POST_DIR="../../../../ | ||
diff --git a/post/evmk2k/post.cmd b/post/evmk2k/post.cmd deleted file mode 100755 index 9b142c8..0000000 --- a/post/evmk2k/post.cmd +++ /dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | /****************************************************************************** | ||
2 | * Copyright (c) 2011 Texas Instruments Incorporated - http://www.ti.com | ||
3 | * | ||
4 | * Redistribution and use in source and binary forms, with or without | ||
5 | * modification, are permitted provided that the following conditions | ||
6 | * are met: | ||
7 | * | ||
8 | * Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * | ||
11 | * Redistributions in binary form must reproduce the above copyright | ||
12 | * notice, this list of conditions and the following disclaimer in the | ||
13 | * documentation and/or other materials provided with the | ||
14 | * distribution. | ||
15 | * | ||
16 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
17 | * its contributors may be used to endorse or promote products derived | ||
18 | * from this software without specific prior written permission. | ||
19 | * | ||
20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
31 | * | ||
32 | *****************************************************************************/ | ||
33 | /* | ||
34 | * Linker command file | ||
35 | * | ||
36 | */ | ||
37 | |||
38 | -c | ||
39 | -heap 0x4000 | ||
40 | -stack 0x4000 | ||
41 | |||
42 | /* Memory Map 1 - the default */ | ||
43 | MEMORY | ||
44 | { | ||
45 | L1PSRAM (RWX) : org = 0x0E00000, len = 0x7FFF | ||
46 | L1DSRAM (RWX) : org = 0x0F00000, len = 0x7FFF | ||
47 | |||
48 | L2SRAM (RWX) : org = 0x0830000, len = 0x50000 | ||
49 | MSMCSRAM (RWX) : org = 0xc000000, len = 0x200000 | ||
50 | DDR3 (RWX) : org = 0x80000000,len = 0x10000000 | ||
51 | LINKRAM : origin = 0x10820000, length = 0x0200 | ||
52 | CPPIRAM : origin = 0x10820200, length = 0x0200 | ||
53 | PKTRAM : origin = 0x10820400, length = 0x0800 | ||
54 | } | ||
55 | |||
56 | |||
57 | SECTIONS | ||
58 | { | ||
59 | .csl_vect > L2SRAM | ||
60 | .cppi > CPPIRAM | ||
61 | .qmss > L2SRAM | ||
62 | .linkram > LINKRAM | ||
63 | .mac_buffer > PKTRAM | ||
64 | .version > L2SRAM | ||
65 | platform_lib> L2SRAM | ||
66 | .text > L2SRAM | ||
67 | GROUP (NEAR_DP) | ||
68 | { | ||
69 | .neardata | ||
70 | .rodata | ||
71 | .bss | ||
72 | } load > L2SRAM | ||
73 | .stack > L2SRAM | ||
74 | .cinit > L2SRAM | ||
75 | .cio > L2SRAM | ||
76 | .const > L2SRAM | ||
77 | .data > L2SRAM | ||
78 | .switch > L2SRAM | ||
79 | .sysmem > L2SRAM | ||
80 | .far > L2SRAM | ||
81 | .testMem > L2SRAM | ||
82 | .fardata > L2SRAM | ||
83 | } | ||