After reading and trying for almost a week, I still have no luck to get C6run work with OMX.
As pointed by several TI engineers, there most likely to be the problem of mis-alignment across different components.
There are 4 shared region in the EZSDK memory map. there is no question about defining two of them:
SR0: 0X9F700000 2MB : default for Host <--> DSP<--> VICP<--> VPSS
SR2: 0XB3D00000 188MB: Host<--> VICP<--> VPSS (video buffer)
However for SR1, there is a conflict here:
1) The default SR1 from OMX, when you start the EVM with SD card, sys_top shows:
SR1: 0X9A100000 1MB: VICP<-->VPSS
2) In this post: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/149505.aspx?PageIndex=1
SR1: 0X99400000 1MB: Host <--> DSP
Mr. RV get codec engine work with OMX.
I modified /C6run/platform/platform.bld in either 1) or 2), but still get hang at:
Entering SysLink_setup().
SysLink_setup() complete.
After attach: ProcMgr_getState: state [0x00000001]
ProcMgr_load() passed!
After load: ProcMgr_getState: state [0x00000003]
ProcMgr_start() passed!
Before Ipc_control(...,Ipc_CONTROLCMD_STARTCALLBACK,...)!
Anybody can help??? Please give some hint on how to setup up shared region? If necessary, I will post my source code here. Thanks a lot.