Other Parts Discussed in Thread: SYSBIOS
When I build my project I got the following warning message:
"./configPkg/linker.cmd", line 304: warning #10237-D: split placement (>>)
ignored for ".internal": split run placement for this section is not
permitted
My cfg files is as follows:
switch (Program.platformName) {
case "ti.sdo.ipc.examples.platforms.evm6670.core0":
var nameList = ["CORE0", "CORE1", "CORE2", "CORE3"];
break;
case "ti.sdo.ipc.examples.platforms.evm6678.core0":
var nameList = ["CORE0", "CORE1", "CORE2", "CORE3",
"CORE4", "CORE5", "CORE6", "CORE7"];
break;
case "ti.platforms.evm6678":
var nameList = ["CORE0", "CORE1", "CORE2", "CORE3",
"CORE4", "CORE5", "CORE6", "CORE7"];
break;
default:
throw("Platform " + Program.platformName + " not supported by this example");
break;
}
var Timestamp = xdc.useModule('xdc.runtime.Timestamp');
var GateMP = xdc.useModule('ti.sdo.ipc.GateMP');
var Settings = xdc.useModule('ti.csl.Settings');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var Error = xdc.useModule('xdc.runtime.Error');
var CpIntc = xdc.useModule('ti.sysbios.family.c66.tci66xx.CpIntc');
var Cache = xdc.useModule('ti.sysbios.family.c66.Cache')
var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox')
var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer')
var Hyperlink = xdc.useModule('ti.drv.hyplnk.Settings')
/*
* Since this is a single-image example, we don't (at build-time) which
* processor we're building for. We therefore supply 'null'
* as the local procName and allow IPC to set the local procId at runtime.
*/
var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
MultiProc.setConfig(null, nameList);
/*
* The SysStd System provider is a good one to use for debugging
* but does not have the best performance. Use xdc.runtime.SysMin
* for better performance.
*/
var System = xdc.useModule('xdc.runtime.System');
var SysStd = xdc.useModule('xdc.runtime.SysStd');
System.SupportProxy = SysStd;
var Ipc = xdc.useModule('ti.sdo.ipc.Ipc');
/*var HeapBufMP = xdc.useModule('ti.sdo.ipc.heaps.HeapBufMP');*/
var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
/* BIOS/XDC modules */
var BIOS = xdc.useModule('ti.sysbios.BIOS');
BIOS.heapSize = 0xc000;
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
/*Program.sectMap[".pcie"] = "L2SRAM";*/
Program.sectMap[".internal"] = "L2SRAM";
Program.sectMap[".shared"] = "MSMCSRAM";
Program.sectMap[".pcie"] = "DDR3";
Program.sectMap[".ddr3"] = "DDR3";
Program.sectMap[".hyplnkMapped"] = "DDR3";
Program.sectMap[".cinit"] = "DDR3";
/* Synchronize all processors (this will be done in Ipc_start) */
Ipc.procSync = Ipc.ProcSync_ALL;
/* Shared Memory base address and length */
var SHAREDMEM = 0x0C000000;
var SHAREDMEMSIZE = 0x00100000;
var jobSHAREDMEM = 0x0C100000;
var jobSHAREDMEMSIZE = 0x00200000;
/*
* Need to define the shared region. The IPC modules use this
* to make portable pointers. All processors need to add this
* call with their base address of the shared memory region.
* If the processor cannot access the memory, do not add it.
*/
var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
SharedRegion.numEntries = 3;
SharedRegion.setEntryMeta(0,
{ base: SHAREDMEM,
len: SHAREDMEMSIZE,
ownerProcId: 0,
isValid: true,
createHeap: true,
name: "Shared 0",
});
SharedRegion.setEntryMeta(1,
{ base: jobSHAREDMEM,
len: jobSHAREDMEMSIZE,
ownerProcId: 0,
isValid: true,
createHeap: true,
name: "Job Shared",
});
I also attached the generatd linker.cmd. Could anyone tell me what is wrong and how I can resolve the warning?
Dongning
7608.TI_E2E_20120420_Split.zip