Add support for device TMS320C66AK2H12
authorRobert Tivy <rtivy@ti.com>
Wed, 8 Jul 2015 22:37:43 +0000 (15:37 -0700)
committerRobert Tivy <rtivy@ti.com>
Thu, 9 Jul 2015 00:26:52 +0000 (17:26 -0700)
Equate TMS320C66AK2H12 with TMS320TCI6634

Since there is no platform yet that contains this device, a top-level
tree build won't build any tests in <ipc>/packages/ti/ipc/tests when
using a custom platform that contains the TMS320C66AK2H12 device.

Addresses SDOCM00117546

packages/ti/ipc/family/tci6638/Interrupt.xs
packages/ti/ipc/remoteproc/Resource.xdt
packages/ti/ipc/rpmsg/package.xs
packages/ti/ipc/tests/messageq_common.cfg.xs
packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs
packages/ti/sdo/ipc/family/Settings.xs

index c8da505cd1c7b16ea3ea92ce942b21b099177248..908bd33b3dd611c91886a0955015bc667c13b3ec 100644 (file)
@@ -75,6 +75,16 @@ var deviceSettings = {
         INTERDSPINT:    105,
         DSPINT:         5
     },
+    'TMS320C66AK2H12' : {
+        IPCGR0:         0x02620240,
+        IPCAR0:         0x02620280,
+        IPCGRH:         0x02620260,
+        IPCARH:         0x026202A0,
+        KICK0:          0x02620038,
+        KICK1:          0x0262003C,
+        INTERDSPINT:    105,
+        DSPINT:         5,
+    },
     'TMS320C66AK2E05' : {
         IPCGR0:         0x02620240,
         IPCAR0:         0x02620280,
index ab961b1715f73bcce7574656818306a454dcef4e..052cb1703b441ba87bf3537ee177fb16a6b7e3fa 100644 (file)
@@ -50,6 +50,7 @@ extern struct resource_table ti_ipc_remoteproc_ResourceTable;
 %  }
 %  else if (prog.platformName.match(/Kepler/) ||
 %         prog.cpu.deviceName.match(/^TMS320C66AK2E05$/) ||
+%         prog.cpu.deviceName.match(/^TMS320C66AK2H12$/) ||
 %         prog.cpu.deviceName.match(/^TMS320TCI663(0K2L|6|8)$/)) {
 %    if (this.traceOnly) {
 #define TRACE_RESOURCE_ONLY
index 7c5c5654ddf5061427fa4d00f2e4a6723fe6efb0..0bf85140fa9e239300be133477812dac20b93f46 100644 (file)
@@ -60,6 +60,7 @@ function close()
 
         case "Kepler":
         case "TMS320C66AK2E05":
+        case "TMS320C66AK2H12":
         case "TMS320TCI6630K2L":
         case "TMS320TCI6636":
         case "TMS320TCI6638":
@@ -128,6 +129,7 @@ function getLibs(prog)
 
         case "Kepler":
         case "TMS320C66AK2E05":
+        case "TMS320C66AK2H12":
         case "TMS320TCI6630K2L":
         case "TMS320TCI6636":
         case "TMS320TCI6638":
index 4d56e5b7b2bb5c95d86b6f055905b6d8f931b948..2ebec69ad86c038983b0879a9b332643d0a1343e 100644 (file)
@@ -156,6 +156,7 @@ else if (Program.platformName.match(/6614/)) {
 }
 else if (Program.platformName.match(/simKepler/) ||
         Program.cpu.deviceName.match(/^TMS320C66AK2E05$/) ||
+        Program.cpu.deviceName.match(/^TMS320C66AK2H12$/) ||
         Program.cpu.deviceName.match(/^TMS320TCI663(0K2L|6|8)$/)) {
     var VirtQueue = xdc.useModule('ti.ipc.family.tci6638.VirtQueue');
     var Interrupt = xdc.useModule('ti.ipc.family.tci6638.Interrupt');
@@ -176,6 +177,7 @@ else if (Program.platformName.match(/simKepler/) ||
 
         case "TMS320TCI6636":
         case "TMS320TCI6638":
+        case "TMS320C66AK2H12":
             MultiProc.setConfig(null,
                     ["HOST", "CORE0", "CORE1", "CORE2", "CORE3",
                     "CORE4", "CORE5", "CORE6", "CORE7"]);
index 60bc5f89e95b4fef4c6cc56dadff90edcb6a0c24..19a088c63d21c9cc188d3ae0c2e4cb082ceda18e 100644 (file)
@@ -132,6 +132,7 @@ else if (Program.platformName.match(/6614/)) {
 }
 else if (Program.platformName.match(/simKepler/) ||
         Program.cpu.deviceName.match(/^TMS320C66AK2E05$/) ||
+        Program.cpu.deviceName.match(/^TMS320C66AK2H12$/) ||
         Program.cpu.deviceName.match(/^TMS320TCI663(0K2L|6|8)$/)) {
     var VirtQueue = xdc.useModule('ti.ipc.family.tci6638.VirtQueue');
     var Interrupt = xdc.useModule('ti.ipc.family.tci6638.Interrupt');
@@ -151,6 +152,7 @@ else if (Program.platformName.match(/simKepler/) ||
 
         case "TMS320TCI6636":
         case "TMS320TCI6638":
+        case "TMS320C66AK2H12":
             MultiProc.setConfig(null,
                     ["HOST", "CORE0", "CORE1", "CORE2", "CORE3",
                     "CORE4", "CORE5", "CORE6", "CORE7"]);
index 51cdcd99a46c079720ac5966db28081e94d1c09f..e8e594a16147d4c12d446d724446a3a43a72a3c4 100644 (file)
@@ -141,6 +141,7 @@ var deviceAliases = {
                            'TMS320TCI6614',
                            'TMS320C6657'],
     'TMS320TCI6634'     : ['TMS320C66AK2E05',
+                           'TMS320C66AK2H12',
                            'TMS320TCI6630K2L',
                            'TMS320TCI6636',
                            'TMS320TCI6638',
@@ -178,7 +179,9 @@ var procNames = {
     'Kepler'            : ["HOST", "CORE0", "CORE1", "CORE2", "CORE3",
                            "CORE4", "CORE5", "CORE6", "CORE7"],
     'TMS320TCI6630K2L'  : ["HOST", "CORE0", "CORE1", "CORE2", "CORE3"],
-    'TMS320C66AK2E05'     : ["HOST", "CORE0"],
+    'TMS320C66AK2E05'   : ["HOST", "CORE0"],
+    'TMS320C66AK2H12'   : ["HOST", "CORE0", "CORE1", "CORE2", "CORE3",
+                           "CORE4", "CORE5", "CORE6", "CORE7"],
 
     'TMS320C6674'       : ["CORE0", "CORE1", "CORE2", "CORE3"],
     'TMS320C6678'       : ["CORE0", "CORE1", "CORE2", "CORE3",
@@ -251,6 +254,7 @@ var hostProcNames = {
     'F28M3.*'           : ["M3"],
     'F2837.*'           : ["CORE0"],
     'TMS320TCI6630K2L'  : ["HOST"],
+    'TMS320C66AK2H12'   : ["HOST"],
     'TMS320TCI6634'     : ["CORE0"],
     'TMS320TCI6636'     : ["HOST0"],
     'TMS320TCI6638'     : ["HOST0"],