I'm currently failing in Engine_open. See trace snippet below:
@1,363,536us: [+0 T:0x4001cf50 S:0xbea7dbac] CE - Engine_open> Enter('vqm_results', 0x0, 0xbea7dc3c)
@1,363,741us: [+0 T:0x4001cf50 S:0xbea7db94] OM - Memory_alloc> Enter(0x2c)
@1,363,933us: [+0 T:0x4001cf50 S:0xbea7db94] OM - Memory_alloc> return (0x464f0)
@1,364,117us: [+0 T:0x4001cf50 S:0xbea7dbac] CE - rserverOpen('vqm_results_server.x674'), count = 0
@1,364,294us: [+0 T:0x4001cf50 S:0xbea7db74] OP - Processor_create> Enter(imageName='vqm_results_server.x674', linkCfg='(null)', attrs=0xbea7dc20)
@1,365,035us: [+1 T:0x4095b490 S:0x4095ad5c] OP - daemon> thread created.
@1,365,539us: [+0 T:0x4095b490 S:0x4095ad5c] OP - getCmd_d> Enter (proc=0x4095adf0)
@1,365,759us: [+0 T:0x4095b490 S:0x4095ad3c] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x461c0] timeout[0xffffffff]
@1,366,365us: [+0 T:0x4001cf50 S:0xbea7db5c] OM - Memory_alloc> Enter(0x24)
@1,366,635us: [+0 T:0x4001cf50 S:0xbea7db5c] OM - Memory_alloc> return (0x46520)
@1,366,833us: [+0 T:0x4001cf50 S:0xbea7db54] OP - doCmd> Enter (cmdId=1, proc=0x46520)
@1,367,012us: [+0 T:0x4001cf50 S:0xbea7db44] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x461c0]
@1,367,288us: [+0 T:0x4001cf50 S:0xbea7db54] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x461c0]
@1,367,537us: [+0 T:0x4001cf50 S:0xbea7db34] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x461d8] timeout[0xffffffff]
@1,367,795us: [+0 T:0x4095b490 S:0x4095ad3c] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x461c0] status[0]
@1,368,007us: [+0 T:0x4095b490 S:0x4095ad5c] OP - getCmd_d> Exit (result=1)
@1,368,190us: [+0 T:0x4095b490 S:0x4095ad5c] OP - Processor_create_d> Enter(proc=0x46520)
@1,368,369us: [+2 T:0x4095b490 S:0x4095ad5c] OP - Processor_create_d> Initializing DSP PROC...
@1,368,554us: [+2 T:0x4095b490 S:0x4095ad5c] OP - Processor_create_d> Using DspLink config data for entry #0 [server 'vqm_results_server.x674']
@1,368,791us: [+0 T:0x4095b490 S:0x4095ad44] OM - Memory_alloc> Enter(0xe0)
@1,368,999us: [+0 T:0x4095b490 S:0x4095ad44] OM - Memory_alloc> return (0x46548)
@1,369,245us: [+2 T:0x4095b490 S:0x4095ad5c] OP - Processor_create_d> Adding DSP segment #0 to Link configuration: name='SDRAM', startAddress=0xc6000080, sizeInBytes=0x13cff80, shared=1, syncd=0
@1,369,671us: [+2 T:0x4095b490 S:0x4095ad5c] OP - Processor_create_d> Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', startAddress=0xc73d0000, sizeInBytes=0x<1>Configuration error: Incorrect POOL poolSize specified [0x70000]
30000, shared=1, syncd=0
My files dsplink-omapl1xxgem-base.tci and CFG_OMAPL1XXGEM_SHMEM.c are attached.
A snippet from my server.tcf:
var mem_ext = [
{
comment: "RESET_VECTOR: off-chip memory for the reset vector table",
name: "RESET_VECTOR",
base: 0xC6000000,
len: 0x00000080,
space: "code/data"
},
{
comment: "SDRAM: off-chip memory for application code and data",
name: "SDRAM",
base: 0xC6000080,
len: 0x013cff80,
space: "code/data"
},
{
comment: "DSPLINK: off-chip memory reserved for DSPLINK code and data",
name: "DSPLINKMEM",
base: 0xC73d0000,
len: 0x00030000,
space: "code/data"
},
{
comment: "DDRALGHEAP: off-chip memory for dynamic algmem allocation",
name: "DDRALGHEAP",
base: 0xC7400000,
len: 0x00c00000,
space: "code/data"
},
];
I searched the ce tree for a reference to poolSize, and found only one: a file called Processor_dsplink_linkcfg_OMAPL137.c in ti/sdo/ce/dsplink/ipc. It has the following lines, which look like they might be related because of the 0x70000. (My expected size is 0x30000.)
/** ============================================================================
* @name LINKCFG_poolTable_00
*
* @desc Pool table ID 0.
* ============================================================================
*/
STATIC LINKCFG_Pool LINKCFG_poolTable_00 [] =
{
{
"SMAPOOL", /* NAME : Name of the pool */
(Uint32) 1, /* MEMENTRY : Memory entry ID (-1 if not needed) */
(Uint32) 0x70000, /* POOLSIZE : Size of the pool (-1 if not needed) */
(Uint32) -1, /* IPSID : ID of the IPS used */
(Uint32) -1, /* IPSEVENTNO : IPS Event number associated with POOL */
1, /* POOLMEMENTRY : Pool memory region section ID */
0x0, /* ARGUMENT1 : First Pool-specific argument */
0x0 /* ARGUMENT2 : Second Pool-specific argument */
}
} ;
I've rebuilt dsplink since I've edited the attached file and server.tcf, but this file has an older date, so the dsplink remake did not regenerate it.
Can anyone suggest what is causing the "<1>Configuration error: Incorrect POOL poolSize specified [0x70000]" in the trace output? How can I fix the problem?