diff --git a/test/k2e/armv7/linux/dspClientTest/dsp_client.cfg.xs b/test/k2e/armv7/linux/dspClientTest/dsp_client.cfg.xs
index feda73298de0596158337d6b54b638059c11b0af..64274a4a721ab9d1d665eb795e2160ba8e4e20a1 100644 (file)
print ("Program.cpu.deviceName = " + Program.cpu.deviceName);
print ("Program.platformName = " + Program.platformName);
-if (Program.platformName.match(/6614/)) {
- var VirtQueue = xdc.useModule('ti.ipc.family.tci6614.VirtQueue');
- var Interrupt = xdc.useModule('ti.ipc.family.tci6614.Interrupt');
-
- /* Note: MultiProc_self is set during VirtQueue_init based on DNUM. */
- var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
- MultiProc.setConfig(null, ["HOST", "CORE0", "CORE1", "CORE2", "CORE3"]);
-
- Program.sectMap[".text:_c_int00"] = new Program.SectionSpec();
- Program.sectMap[".text:_c_int00"].loadSegment = "L2SRAM";
- Program.sectMap[".text:_c_int00"].loadAlign = 0x400;
-
- var Hwi = xdc.useModule('ti.sysbios.family.c64p.Hwi');
- Hwi.enableException = true;
-
- /* This makes the vrings address range 0xa0000000 to 0xa1ffffff uncachable.
- We assume the rest is to be left cacheable.
- Per sprugw0b.pdf
- 0184 8280h MAR160 Memory Attribute Register 160 A000 0000h - A0FF FFFFh
- 0184 8284h MAR161 Memory Attribute Register 161 A100 0000h - A1FF FFFFh
- */
- var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
- /* This doesn't work:
- Cache.MAR160_191 = 0xFFFFFFFC;
- So, need to do this:
- */
- Cache.setMarMeta(0xA0000000, 0x1FFFFFF, 0);
-
- Program.global.sysMinBufSize = 0x8000;
- SysMin.bufSize = Program.global.sysMinBufSize;
-
- /* Enable Memory Translation module that operates on the Resource Table */
- var Resource = xdc.useModule('ti.ipc.remoteproc.Resource');
- Resource.loadSegment = Program.platform.dataMemory;
-
- /* COMMENT OUT TO SHUT OFF LOG FOR BENCHMARKS: */
- /*
- Diags.setMaskMeta("ti.ipc.family.tci6614.Interrupt", Diags.USER1,
- Diags.ALWAYS_ON);
- Diags.setMaskMeta("ti.ipc.family.tci6614.VirtQueue", Diags.USER1,
- Diags.ALWAYS_ON);
- Diags.setMaskMeta("ti.ipc.transports.TransportRpmsg",
- Diags.INFO|Diags.USER1|Diags.STATUS,
- Diags.ALWAYS_ON);
- Diags.setMaskMeta("ti.ipc.namesrv.NameServerRemoteRpmsg", Diags.INFO,
- Diags.ALWAYS_ON);
- */
-}
-else if (Program.platformName.match(/simKepler/) ||
- Program.cpu.deviceName.match(/^TMS320C66AK2E05$/)) {
+if (Program.cpu.deviceName.match(/TMS320C66AK2E05/)) {
var VirtQueue = xdc.useModule('ti.ipc.family.tci6638.VirtQueue');
var Interrupt = xdc.useModule('ti.ipc.family.tci6638.Interrupt');
*/
}
else {
- throw("messageq_common.cfg.xs: Did not match any platform!");
+ throw("dsp_client.cfg.xs: Did not match any platform!");
}
Hwi.enableException = true;