summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Sobota2015-11-23 13:36:17 -0600
committerJustin Sobota2015-11-23 13:36:17 -0600
commita5612af5605568586b50235c52e5e55c5b9dd59f (patch)
tree6582a2f24bb597d7f5f3979b0a9bf93825bff557
parent5afcbd59e5aa1b218f843e3b9e47fddf25e89755 (diff)
downloadipc-transport-a5612af5605568586b50235c52e5e55c5b9dd59f.tar.gz
ipc-transport-a5612af5605568586b50235c52e5e55c5b9dd59f.tar.xz
ipc-transport-a5612af5605568586b50235c52e5e55c5b9dd59f.zip
TransportQmss: Removed option for MPM download since no ARM on supported K1 devices
Signed-off-by: Justin Sobota <jsobota@ti.com>
-rw-r--r--c66/qmss/example/c6657/c66/bios/bench_qmss.cfg29
-rw-r--r--c66/qmss/example/c6678/c66/bios/bench_qmss.cfg29
2 files changed, 6 insertions, 52 deletions
diff --git a/c66/qmss/example/c6657/c66/bios/bench_qmss.cfg b/c66/qmss/example/c6657/c66/bios/bench_qmss.cfg
index 48275b9..01ac04b 100644
--- a/c66/qmss/example/c6657/c66/bios/bench_qmss.cfg
+++ b/c66/qmss/example/c6657/c66/bios/bench_qmss.cfg
@@ -30,24 +30,13 @@
30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */ 31 */
32 32
33/* Set to 1 in order to enable downloading and running the application via
34 * MPM. The application can be downloaded and run via CCS regardless of
35 * the setting. However, if MPM_DOWNLOADABLE is enabled the application
36 * prints will not show in the CCS Console */
37/* Not applicable to C6657 */
38var MPM_DOWNLOADABLE = 0;
39
40var Task = xdc.useModule('ti.sysbios.knl.Task'); 33var Task = xdc.useModule('ti.sysbios.knl.Task');
41var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); 34var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
42var Timestamp = xdc.useModule('xdc.runtime.Timestamp'); 35var Timestamp = xdc.useModule('xdc.runtime.Timestamp');
43var System = xdc.useModule('xdc.runtime.System'); 36var System = xdc.useModule('xdc.runtime.System');
44if (MPM_DOWNLOADABLE) { 37var SysStd = xdc.useModule('xdc.runtime.SysStd');
45 var SysMin = xdc.useModule('xdc.runtime.SysMin'); 38System.SupportProxy = SysStd;
46 System.SupportProxy = SysMin; 39
47} else {
48 var SysStd = xdc.useModule('xdc.runtime.SysStd');
49 System.SupportProxy = SysStd;
50}
51var BIOS = xdc.useModule('ti.sysbios.BIOS'); 40var BIOS = xdc.useModule('ti.sysbios.BIOS');
52BIOS.heapSize = 0xA000; 41BIOS.heapSize = 0xA000;
53/* BIOS.libType = BIOS.LibType_Debug; */ /* Uncomment to debug step BIOS and 42/* BIOS.libType = BIOS.LibType_Debug; */ /* Uncomment to debug step BIOS and
@@ -108,18 +97,6 @@ MultiProc.baseIdOfCluster = 0;
108var procNameList = ["CORE0", "CORE1"]; 97var procNameList = ["CORE0", "CORE1"];
109MultiProc.setConfig(null, procNameList); 98MultiProc.setConfig(null, procNameList);
110 99
111if (MPM_DOWNLOADABLE) {
112 Program.global.sysMinBufSize = 0x8000;
113 SysMin.bufSize = Program.global.sysMinBufSize;
114
115 /* Enable Memory Translation module that operates on the Resource Table */
116 var Resource = xdc.useModule('ti.ipc.remoteproc.Resource');
117 /* Make sure RemoteProc's .resource_table doesn't conflict with secure
118 * kernel when on secure board. Secure kernel is located from
119 * 0x00800000 - 0x00810000 */
120 Resource.loadAddr = 0x00810000;
121}
122
123Program.global.DEVICENAME = Program.cpu.deviceName; 100Program.global.DEVICENAME = Program.cpu.deviceName;
124Program.global.PROCNAMES = procNameList.join(","); 101Program.global.PROCNAMES = procNameList.join(",");
125Program.global.BUILDPROFILE = Program.build.profile; 102Program.global.BUILDPROFILE = Program.build.profile;
diff --git a/c66/qmss/example/c6678/c66/bios/bench_qmss.cfg b/c66/qmss/example/c6678/c66/bios/bench_qmss.cfg
index 4b7f39b..ce6d13a 100644
--- a/c66/qmss/example/c6678/c66/bios/bench_qmss.cfg
+++ b/c66/qmss/example/c6678/c66/bios/bench_qmss.cfg
@@ -30,24 +30,13 @@
30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */ 31 */
32 32
33/* Set to 1 in order to enable downloading and running the application via
34 * MPM. The application can be downloaded and run via CCS regardless of
35 * the setting. However, if MPM_DOWNLOADABLE is enabled the application
36 * prints will not show in the CCS Console */
37/* Not applicable to C6678 */
38var MPM_DOWNLOADABLE = 0;
39
40var Task = xdc.useModule('ti.sysbios.knl.Task'); 33var Task = xdc.useModule('ti.sysbios.knl.Task');
41var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); 34var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
42var Timestamp = xdc.useModule('xdc.runtime.Timestamp'); 35var Timestamp = xdc.useModule('xdc.runtime.Timestamp');
43var System = xdc.useModule('xdc.runtime.System'); 36var System = xdc.useModule('xdc.runtime.System');
44if (MPM_DOWNLOADABLE) { 37var SysStd = xdc.useModule('xdc.runtime.SysStd');
45 var SysMin = xdc.useModule('xdc.runtime.SysMin'); 38System.SupportProxy = SysStd;
46 System.SupportProxy = SysMin; 39
47} else {
48 var SysStd = xdc.useModule('xdc.runtime.SysStd');
49 System.SupportProxy = SysStd;
50}
51var BIOS = xdc.useModule('ti.sysbios.BIOS'); 40var BIOS = xdc.useModule('ti.sysbios.BIOS');
52BIOS.heapSize = 0xA000; 41BIOS.heapSize = 0xA000;
53/* BIOS.libType = BIOS.LibType_Debug; */ /* Uncomment to debug step BIOS and 42/* BIOS.libType = BIOS.LibType_Debug; */ /* Uncomment to debug step BIOS and
@@ -108,18 +97,6 @@ MultiProc.baseIdOfCluster = 0;
108var procNameList = ["CORE0", "CORE1"]; 97var procNameList = ["CORE0", "CORE1"];
109MultiProc.setConfig(null, procNameList); 98MultiProc.setConfig(null, procNameList);
110 99
111if (MPM_DOWNLOADABLE) {
112 Program.global.sysMinBufSize = 0x8000;
113 SysMin.bufSize = Program.global.sysMinBufSize;
114
115 /* Enable Memory Translation module that operates on the Resource Table */
116 var Resource = xdc.useModule('ti.ipc.remoteproc.Resource');
117 /* Make sure RemoteProc's .resource_table doesn't conflict with secure
118 * kernel when on secure board. Secure kernel is located from
119 * 0x00800000 - 0x00810000 */
120 Resource.loadAddr = 0x00810000;
121}
122
123Program.global.DEVICENAME = Program.cpu.deviceName; 100Program.global.DEVICENAME = Program.cpu.deviceName;
124Program.global.PROCNAMES = procNameList.join(","); 101Program.global.PROCNAMES = procNameList.join(",");
125Program.global.BUILDPROFILE = Program.build.profile; 102Program.global.BUILDPROFILE = Program.build.profile;