Hi everyone
I am using dm8168 on DVRRDK_04.00.00.03
for some reason I want to pass about 1.3M bytes from A8 to DSP use the
System_linkControl(SYSTEM_LINK_ID_DSP,
SYSTEM_COMMON_CMD_XXX,
&a,
sizeof(struct a),
TRUE);
in turn it will use ipc_mesgq
and I found there is size restriction on it
in the file:dvr_rdk/mcfw/interfaces/link_api/system_common.h
#define SYSTEM_IPC_MSGQ_HEAP_SIZE (480*1024)
#define SYSTEM_IPC_MSGQ_MSG_SIZE_MAX (96*1024)
and I modify to
#define SYSTEM_IPC_MSGQ_HEAP_SIZE (6*1024*1024)
#define SYSTEM_IPC_MSGQ_MSG_SIZE_MAX (2*1024*1024)
after rebubild and run the app,I've got the assertion
0: SYSTEM: System Common Init in progress !!!
0: SYSTEM: IPC init in progress !!!
16: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
16: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
16: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
16: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
16: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
ASSERT (system_ipc_msgq.c|System_ipcMsgQHeapCreate|124)
it seems like
gSystem_ipcObj.msgQHeapBaseAddr =
Memory_alloc(srHeap, SYSTEM_IPC_MSGQ_HEAP_SIZE, 0, NULL);
cann't alloc the 6M mem.
any sugestions???