summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Zhang2011-06-23 11:01:48 -0500
committerHao Zhang2011-06-23 11:01:48 -0500
commit4a7a37951bc029dd7909108305974bbb822a5b2c (patch)
tree7bd677183709993b862f39416f3e4104757cbbd7 /boot_loader/examples/srio/srioboot_helloworld/evmc6670l
parentead5c59e9c910f41afe5de2286dc6108112cef45 (diff)
downloadmcsdk-tools-4a7a37951bc029dd7909108305974bbb822a5b2c.tar.gz
mcsdk-tools-4a7a37951bc029dd7909108305974bbb822a5b2c.tar.xz
mcsdk-tools-4a7a37951bc029dd7909108305974bbb822a5b2c.zip
Added C6670 SRIO boot projects, updated tools projects to use the latest PDK version
Diffstat (limited to 'boot_loader/examples/srio/srioboot_helloworld/evmc6670l')
-rw-r--r--boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.ccsproject10
-rw-r--r--boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.cproject87
-rw-r--r--boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.project96
-rw-r--r--boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.bat27
-rw-r--r--boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_image.rmd11
-rw-r--r--boot_loader/examples/srio/srioboot_helloworld/evmc6670l/macros.ini1
-rw-r--r--boot_loader/examples/srio/srioboot_helloworld/evmc6670l/srioboot_helloworld.cmd74
7 files changed, 306 insertions, 0 deletions
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.ccsproject b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.ccsproject
new file mode 100644
index 0000000..79d3116
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.ccsproject
@@ -0,0 +1,10 @@
1<?xml version="1.0" encoding="UTF-8"?>
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.0"/>
8<isElfFormat value="true"/>
9<rts value="rts6600_elf.lib"/>
10</projectOptions>
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.cproject b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.cproject
new file mode 100644
index 0000000..b20e902
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.cproject
@@ -0,0 +1,87 @@
1<?xml version="1.0" encoding="UTF-8"?>
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="Debug">
8 <externalSettings/>
9 <extensions>
10 <extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
11 <extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
12 <extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
13 <extension id="org.eclipse.rtsc.xdctools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
14 <extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
15 </extensions>
16 </storageModule>
17 <storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
18 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
19 <configuration artifactExtension="out" artifactName="../bin/srioboot_helloworld_evm6670l" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" name="Debug" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug">
20 <folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513." name="/" resourcePath="">
21 <toolChain id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.DebugToolchain.1437783928" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerDebug.1651564508">
22 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.944250360" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
23 <listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C6000.GenericC66xxDevice"/>
24 <listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
25 <listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
26 <listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.0.1"/>
27 <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
28 <listOptionValue builtIn="false" value="XDC_VERSION=3.20.08.88"/>
29 <listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.biosmcsdk.pdk.C6670:1.0.0.10;"/>
30 <listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
31 </option>
32 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1861349532" name="Code Generation tools version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="7.2.0" valueType="string"/>
33 <targetPlatform id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.targetPlatformDebug.391813781" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.targetPlatformDebug"/>
34 <builder buildPath="${workspace_loc:/srioboot_helloworld_evmc6670l/Debug}" id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.builderDebug.1522158538" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.builderDebug"/>
35 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.compilerDebug.882037436" name="C6000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.compilerDebug">
36 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DIAG_WARNING.1643228293" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DIAG_WARNING" valueType="stringList">
37 <listOptionValue builtIn="false" value="225"/>
38 </option>
39 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.SILICON_VERSION.1162385299" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.SILICON_VERSION" value="6600" valueType="string"/>
40 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.INCLUDE_PATH.1360329378" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.INCLUDE_PATH" valueType="includePath">
41 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
42 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6670_INSTALL_DIR}/packages/ti/platform&quot;"/>
43 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6670_INSTALL_DIR}/packages&quot;"/>
44 </option>
45 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI.1539422311" name="Application binary interface (coffabi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI.eabi" valueType="enumerated"/>
46 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DEFINE.172564945" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DEFINE" valueType="definedSymbols">
47 <listOptionValue builtIn="false" value="_EVMC6670L_"/>
48 </option>
49 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__C_SRCS.1023912707" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__C_SRCS"/>
50 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__CPP_SRCS.979818748" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__CPP_SRCS"/>
51 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM_SRCS.416705288" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM_SRCS"/>
52 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM2_SRCS.616636339" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM2_SRCS"/>
53 </tool>
54 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerDebug.1651564508" name="C6000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerDebug">
55 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE.1931592324" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE" value="&quot;../bin/srioboot_helloworld_evm6670l.out&quot;" valueType="string"/>
56 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.MAP_FILE.612136299" name="Input and output sections listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.MAP_FILE" value="&quot;../bin/srioboot_helloworld_evm6670l.map&quot;" valueType="string"/>
57 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.LIBRARY.1501448535" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.LIBRARY" valueType="libs">
58 <listOptionValue builtIn="false" value="&quot;ti.platform.evm6670l.ae66&quot;"/>
59 <listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
60 </option>
61 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.SEARCH_PATH.1252449937" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.SEARCH_PATH" valueType="stringList">
62 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
63 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
64 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6670_INSTALL_DIR}/packages/ti/platform/evmc6670l/platform_lib/lib/debug&quot;"/>
65 </option>
66 </tool>
67 <tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.762712048" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
68 <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1607740639" name="RTSC package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH"/>
69 <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.731138713" name="RTSC target (-t)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.elf.C66" valueType="string"/>
70 <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.749184621" name="RTSC platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.evm6670" valueType="string"/>
71 <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1757534191" name="Build profile (-r)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE" value="debug" valueType="string"/>
72 <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.389800643" name="Code generation tool directory (-c)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value="&quot;${CG_TOOL_ROOT}&quot;" valueType="string"/>
73 </tool>
74 </toolChain>
75 </folderInfo>
76 </configuration>
77 </storageModule>
78 <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
79 <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
80 <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
81 <storageModule moduleId="scannerConfiguration"/>
82 </cconfiguration>
83 </storageModule>
84 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
85 <project id="srioboot_helloworld.com.ti.ccstudio.buildDefinitions.C6000.ProjectType.1742876545" name="C6000" projectType="com.ti.ccstudio.buildDefinitions.C6000.ProjectType"/>
86 </storageModule>
87</cproject>
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.project b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.project
new file mode 100644
index 0000000..d6e97a6
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/.project
@@ -0,0 +1,96 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>srioboot_helloworld_evmc6670l</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_INSTALL_ROOT}/utils/gmake/gmake</value>
30 </dictionary>
31 <dictionary>
32 <key>org.eclipse.cdt.make.core.buildLocation</key>
33 <value>${workspace_loc:/srioboot_helloworld_evmc6670l/Debug}</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>true</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>org.eclipse.rtsc.xdctools.buildDefinitions.XDC.xdcNature</nature>
78 <nature>com.ti.ccstudio.managedbuild.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.pdf</name>
87 <type>1</type>
88 <locationURI>TI_MCSDK_SRIOBOOT_DIR/docs/README.pdf</locationURI>
89 </link>
90 <link>
91 <name>src</name>
92 <type>2</type>
93 <locationURI>TI_MCSDK_SRIOBOOT_DIR/srioboot_helloworld/src</locationURI>
94 </link>
95 </linkedResources>
96</projectDescription>
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.bat b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.bat
new file mode 100644
index 0000000..376009e
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_elf2HBin.bat
@@ -0,0 +1,27 @@
1set C6000_CG_DIR="C:\Program Files\Texas Instruments\ccsv5\tools\compiler\c6000"
2set TOOL_DIR="..\..\..\..\..\..\"
3set TARGET=6670
4set ENDIAN=little
5set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;
6
7
8@echo off
9
10echo C6000_CG_DIR set as: %C6000_CG_DIR%
11echo TARGET set as: %TARGET%
12echo IBL_ROOT_DIR set as : %IBL_ROOT_DIR%
13
14echo Converting .out to HEX ...
15if %ENDIAN% == little (
16%C6000_CG_DIR%\bin\hex6x -order L helloworld_image.rmd srioboot_helloworld_evm%TARGET%l.out
17) else (
18%C6000_CG_DIR%\bin\hex6x -order M helloworld_image.rmd srioboot_helloworld_evm%TARGET%l.out
19)
20
21..\..\..\..\..\..\bttbl2hfile\Bttbl2Hfile srioboot_helloworld.btbl srioboot_helloworld.h srioboot_helloworld.bin
22
23..\..\..\..\..\..\hfile2array\hfile2array srioboot_helloworld.h srioBootCode.h bootCode
24
25mv srioBootCode.h ..\..\..\srioboot_example\src\
26
27
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_image.rmd b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_image.rmd
new file mode 100644
index 0000000..d5410cc
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/bin/helloworld_image.rmd
@@ -0,0 +1,11 @@
1-a
2-boot
3-e _c_int00
4
5ROMS
6{
7 ROM1: org = 0xc000000, length = 0x20000, memwidth = 32, romwidth = 32
8 files = { srioboot_helloworld.btbl }
9}
10
11
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/macros.ini b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/macros.ini
new file mode 100644
index 0000000..6be232e
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/macros.ini
@@ -0,0 +1 @@
TI_MCSDK_SRIOBOOT_DIR="../../../../
diff --git a/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/srioboot_helloworld.cmd b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/srioboot_helloworld.cmd
new file mode 100644
index 0000000..05ca549
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_helloworld/evmc6670l/srioboot_helloworld.cmd
@@ -0,0 +1,74 @@
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 0x2000
40-stack 0x2000
41
42/* Memory Map 1 - the default */
43MEMORY
44{
45 DDR (RWX) : org = 0x80000000, len = 0x20000000
46}
47
48SECTIONS
49{
50 .text:_boot_entry > DDR
51 .csl_vect > DDR
52 .cppi > DDR
53 .linkram > DDR
54 .mac_buffer > DDR
55 platform_lib > DDR
56 .text > DDR
57 GROUP (NEAR_DP)
58 {
59 .neardata
60 .rodata
61 .bss
62 } load > DDR
63 .stack > DDR
64 .cinit > DDR
65 .cio > DDR
66 .const > DDR
67 .data > DDR
68 .switch > DDR
69 .sysmem > DDR
70 .far > DDR
71 .testMem > DDR
72 .fardata > DDR
73}
74