diff options
author | Justin Sobota | 2015-11-23 13:36:17 -0600 |
---|---|---|
committer | Justin Sobota | 2015-11-23 13:36:17 -0600 |
commit | a5612af5605568586b50235c52e5e55c5b9dd59f (patch) | |
tree | 6582a2f24bb597d7f5f3979b0a9bf93825bff557 | |
parent | 5afcbd59e5aa1b218f843e3b9e47fddf25e89755 (diff) | |
download | ipc-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.cfg | 29 | ||||
-rw-r--r-- | c66/qmss/example/c6678/c66/bios/bench_qmss.cfg | 29 |
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 */ | ||
38 | var MPM_DOWNLOADABLE = 0; | ||
39 | |||
40 | var Task = xdc.useModule('ti.sysbios.knl.Task'); | 33 | var Task = xdc.useModule('ti.sysbios.knl.Task'); |
41 | var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); | 34 | var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); |
42 | var Timestamp = xdc.useModule('xdc.runtime.Timestamp'); | 35 | var Timestamp = xdc.useModule('xdc.runtime.Timestamp'); |
43 | var System = xdc.useModule('xdc.runtime.System'); | 36 | var System = xdc.useModule('xdc.runtime.System'); |
44 | if (MPM_DOWNLOADABLE) { | 37 | var SysStd = xdc.useModule('xdc.runtime.SysStd'); |
45 | var SysMin = xdc.useModule('xdc.runtime.SysMin'); | 38 | System.SupportProxy = SysStd; |
46 | System.SupportProxy = SysMin; | 39 | |
47 | } else { | ||
48 | var SysStd = xdc.useModule('xdc.runtime.SysStd'); | ||
49 | System.SupportProxy = SysStd; | ||
50 | } | ||
51 | var BIOS = xdc.useModule('ti.sysbios.BIOS'); | 40 | var BIOS = xdc.useModule('ti.sysbios.BIOS'); |
52 | BIOS.heapSize = 0xA000; | 41 | BIOS.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; | |||
108 | var procNameList = ["CORE0", "CORE1"]; | 97 | var procNameList = ["CORE0", "CORE1"]; |
109 | MultiProc.setConfig(null, procNameList); | 98 | MultiProc.setConfig(null, procNameList); |
110 | 99 | ||
111 | if (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 | |||
123 | Program.global.DEVICENAME = Program.cpu.deviceName; | 100 | Program.global.DEVICENAME = Program.cpu.deviceName; |
124 | Program.global.PROCNAMES = procNameList.join(","); | 101 | Program.global.PROCNAMES = procNameList.join(","); |
125 | Program.global.BUILDPROFILE = Program.build.profile; | 102 | Program.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 */ | ||
38 | var MPM_DOWNLOADABLE = 0; | ||
39 | |||
40 | var Task = xdc.useModule('ti.sysbios.knl.Task'); | 33 | var Task = xdc.useModule('ti.sysbios.knl.Task'); |
41 | var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); | 34 | var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); |
42 | var Timestamp = xdc.useModule('xdc.runtime.Timestamp'); | 35 | var Timestamp = xdc.useModule('xdc.runtime.Timestamp'); |
43 | var System = xdc.useModule('xdc.runtime.System'); | 36 | var System = xdc.useModule('xdc.runtime.System'); |
44 | if (MPM_DOWNLOADABLE) { | 37 | var SysStd = xdc.useModule('xdc.runtime.SysStd'); |
45 | var SysMin = xdc.useModule('xdc.runtime.SysMin'); | 38 | System.SupportProxy = SysStd; |
46 | System.SupportProxy = SysMin; | 39 | |
47 | } else { | ||
48 | var SysStd = xdc.useModule('xdc.runtime.SysStd'); | ||
49 | System.SupportProxy = SysStd; | ||
50 | } | ||
51 | var BIOS = xdc.useModule('ti.sysbios.BIOS'); | 40 | var BIOS = xdc.useModule('ti.sysbios.BIOS'); |
52 | BIOS.heapSize = 0xA000; | 41 | BIOS.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; | |||
108 | var procNameList = ["CORE0", "CORE1"]; | 97 | var procNameList = ["CORE0", "CORE1"]; |
109 | MultiProc.setConfig(null, procNameList); | 98 | MultiProc.setConfig(null, procNameList); |
110 | 99 | ||
111 | if (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 | |||
123 | Program.global.DEVICENAME = Program.cpu.deviceName; | 100 | Program.global.DEVICENAME = Program.cpu.deviceName; |
124 | Program.global.PROCNAMES = procNameList.join(","); | 101 | Program.global.PROCNAMES = procNameList.join(","); |
125 | Program.global.BUILDPROFILE = Program.build.profile; | 102 | Program.global.BUILDPROFILE = Program.build.profile; |