hi,
I have change the DSP memory map following link: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/149505.aspx
I merged DSP and OMX in to single application, DSP can run normally, but OMX can't get handle.
the error info:
[t=0x00256133] [tid=0x40122000] xdc.runtime.Main: Entered: OMX_GetHandle (0x8126e8, OMX.TI.DUCATI.VIDENC, 0x8126c0, 0x81274c)
[t=0x00256197] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.VFCC idx 0
[t=0x002561d6] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.VFDC idx 1
[t=0x00256212] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.VFPC.DEIHDUALOUT idx 2
[t=0x00256253] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.VFPC.DEIMDUALOUT idx 3
[t=0x00256294] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.VFPC.NF idx 4
[t=0x002562d1] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.VFPC.INDTXSCWB idx 5
[t=0x00256310] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.CTRL.TVP idx 6
[t=0x0025634d] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.CTRL.DC idx 7
[t=0x0025638a] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.VPSSM3.VSWMOSAIC idx 8
[t=0x002563c8] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC In table OMX.TI.DUCATI.VIDENC idx 9
[t=0x00256404] [tid=0x40122000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDENC found idx: 9
[t=0x00256453] [tid=0x40122000] xdc.runtime.Main: In OMX_GetHandle, component OMX.TI.DUCATI.VIDENC, omxhandle 0x8152a8
[t=0x0025817c] [tid=0x40122000] xdc.runtime.Main: Module<ti.omx> Entering<OmxProxy_commonInit> @line<2491>
[t=0x002581f7] [tid=0x40122000] xdc.runtime.Main: Module<ti.omx> @<OmxProxy_commonInit> @line<2492> msg<OMX.TI.DUCATI.VIDENC>
[t=0x0025824c] [tid=0x40122000] xdc.runtime.Main: Module<ti.omx> Entering<omxproxy_map_component_name2info> @line<747>
[t=0x00258295] [tid=0x40122000] xdc.runtime.Main: Module<ti.omx> Leaving<omxproxy_map_component_name2info> @line<764> with error<0:ErrorNone>
[t=0x00258331] [tid=0x40122000] xdc.runtime.Memory: ERROR: line 52: out of memory: heap=0x0, size=10240
xdc.runtime.Memory: line 52: out of memory: heap=0x0, size=10240
[t=0x002583cd] [tid=0x40122000] xdc.runtime.Main: OmxProxy_commonInit:2546::Memory alloc failed for bufferList.Alloc Size = (10240)
[t=0x00258413] [tid=0x40122000] xdc.runtime.Main: Module<ti.omx>:Assert failure in <OmxProxy_commonInit> @line<2549>; Error: Memory alloc failed for bufferList
dm8168_app: OmxProxy.c:2549: OmxProxy_commonInit: Assertion `(eError == OMX_ErrorNone)' failed.
Aborted