Hi all exports
I compile the OMX together Codec Enginer for OMX decode/encode and Enginer process video, base on EZSDK 5.05 and EVM 8148.
If add the static object like omxcore.a and other objects to link operation, because the omx need $(EZSDK)/component-sources/osal_1_22_01_09/packages/linuxdist/build/lib/osal.
But It shows many "multiple definition " errors as following:
remote_pv5T.c:(.rodata+0x11f8): multiple definition of `xdc_runtime_Assert_E_assertFailed(void) const' /usr/local/ezsdk_8148_505/component-sources/osal_1_22_01_09/packages/linuxdist/build/lib/osal.a(preConfig_pv5T.o):(.rodata+0x53c): first defined here /usr/local/ezsdk_8148_505/component-sources/omx_05_02_00_46/bin/motion/obj/ti814x-evm/a8host/debug/motion_configuro/package/cfg/remote_pv5T.ov5T: In function `.LC23':
If I change the compile option to add "-ltiomx", the result of compile and link is success, but running failed.
APP shows "out of memory" error when call "RcmServer_addSymbol".
Attach the detailed log:
root@dm814x-evm:/usr/share/ti/ti-codec-engine-examples/motion# modprobe cmemk ph
ys_start=0x96C00000 phys_end=0x98000000 pools=2x3110400,2x2332800,2x1036800,20x3
2768,100x4096
CMEMK module: built on Oct 10 2012 at 14:59:46
Reference Linux version 2.6.37
File /swcoe/sdk/cm/netra/arago-tmp/work/dm814x-evm-none-linux-gnueabi/ti-linuxutils-1_3_22_00_02-r1d/linuxutils_3_22_00_02/package
s/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xea000000 of size 0x69c000
cmemk initialized
root@dm814x-evm:/usr/share/ti/ti-codec-engine-examples/motion# CE_DEBUG=2 ./app_
remote.xv5T -o /usr/share/ti/data/videos/sample.h264 -i /usr/share/ti/data/video
s/dm816x_1080p_demo.264 -f 30 -b 3000000 -w 1920 -h 1080 -c h264
output file: /usr/share/ti/data/videos/sample.h264
input file: /usr/share/ti/data/videos/dm816x_1080p_demo.264
bit_rate: 3000000
frame_rate: 30
codec: h264
width: 1920
height: 1080
Encode example
===============================
[t=0x00001a81] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+E] Global_init> Enter
[t=0x00001b08] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] Global_init> This program was built with the following packages:
[t=0x00001b67] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package gnu.targets (/usr/local/ezsdk_8148_505/component-sources/xdc
tools_3_23_03_53/packages/gnu/targets/) [1, 0, 1]
[t=0x00001be9] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package gnu.targets.arm (/usr/local/ezsdk_8148_505/component-sources
/xdctools_3_23_03_53/packages/gnu/targets/arm/) [1, 0, 0, 0]
[t=0x00001c71] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package gnu.targets.arm.rtsv5T (/usr/local/ezsdk_8148_505/component-
sources/xdctools_3_23_03_53/packages/gnu/targets/arm/rtsv5T/) [1, 0, 0, 0]
[t=0x00001d00] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.xdcruntime.linux (/usr/local/ezsdk_8148_505/component
-sources/osal_1_22_01_09/packages/ti/sdo/xdcruntime/linux/) [1, 0, 0]
[t=0x00001d8c] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.utils.loggers (/usr/local/ezsdk_8148_505/component-so
urces/osal_1_22_01_09/packages/ti/sdo/utils/loggers/) [1, 0, 0]
[t=0x00001e14] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.global (/usr/local/ezsdk_8148_505/component-source
s/codec_engine_3_22_01_06/packages/ti/sdo/ce/global/) [1, 0, 0]
[t=0x00001e9c] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.linuxutils.cmem (/usr/local/ezsdk_8148_505/component-
sources/linuxutils_3_22_00_02/packages/ti/sdo/linuxutils/cmem/) [2, 2, 0]
[t=0x00001f4b] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.syslink (/usr/local/ezsdk_8148_505/component-sources/sysl
ink_2_20_00_14/packages/ti/syslink/) [1, 0, 0, 0]
[t=0x00001fcc] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.xdais (/usr/local/ezsdk_8148_505/component-sources/xdais_
7_22_00_03/packages/ti/xdais/) [1, 2.0, 1]
[t=0x00002048] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.node (/usr/local/ezsdk_8148_505/component-sources/
codec_engine_3_22_01_06/packages/ti/sdo/ce/node/) [1, 0, 0]
[t=0x000020ce] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.fc.global (/usr/local/ezsdk_8148_505/component-source
s/framework_components_3_22_01_07/packages/ti/sdo/fc/global/) [1, 0, 0]
[t=0x0000215b] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.utils.xdm (/usr/local/ezsdk_8148_505/component-sou
rces/codec_engine_3_22_01_06/packages/ti/sdo/ce/utils/xdm/) [1, 0, 2]
[t=0x000021e7] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.catalog.arm.cortexa8 (/usr/local/ezsdk_8148_505/component
-sources/xdctools_3_23_03_53/packages/ti/catalog/arm/cortexa8/) [1, 0, 0]
[t=0x00002275] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.catalog.peripherals.hdvicp2 (/usr/local/ezsdk_8148_505/co
mponent-sources/xdctools_3_23_03_53/packages/ti/catalog/peripherals/hdvicp2/) []
[t=0x00002308] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.catalog (/usr/local/ezsdk_8148_505/component-sources/xdct
ools_3_23_03_53/packages/ti/catalog/) [1, 0, 0]
[t=0x00002386] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.catalog.c6000 (/usr/local/ezsdk_8148_505/component-source
s/xdctools_3_23_03_53/packages/ti/catalog/c6000/) [1, 0, 0, 0]
[t=0x0000240d] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.catalog.arm.peripherals.timers (/usr/local/ezsdk_8148_505
/component-sources/xdctools_3_23_03_53/packages/ti/catalog/arm/peripherals/timers/) []
[t=0x000024b6] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.catalog.arm.cortexm3 (/usr/local/ezsdk_8148_505/component
-sources/xdctools_3_23_03_53/packages/ti/catalog/arm/cortexm3/) [1, 0, 0]
[t=0x00002546] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.platforms.evmTI814X (/usr/local/ezsdk_8148_505/component-
sources/xdctools_3_23_03_53/packages/ti/platforms/evmTI814X/) [1, 0, 0]
[t=0x000547a9] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.osal.linux (/usr/local/ezsdk_8148_505/component-so
urces/codec_engine_3_22_01_06/packages/ti/sdo/ce/osal/linux/) [2, 0, 1]
[t=0x00054840] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.osal (/usr/local/ezsdk_8148_505/component-sources/
codec_engine_3_22_01_06/packages/ti/sdo/ce/osal/) [2, 0, 2]
[t=0x000548c7] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.ipc.dsplink (/usr/local/ezsdk_8148_505/component-s
ources/codec_engine_3_22_01_06/packages/ti/sdo/ce/ipc/dsplink/) [2, 0, 1]
[t=0x00054956] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.ipc (/usr/local/ezsdk_8148_505/component-sources/c
odec_engine_3_22_01_06/packages/ti/sdo/ce/ipc/) [2, 0, 1]
[t=0x000549db] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce.alg (/usr/local/ezsdk_8148_505/component-sources/c
odec_engine_3_22_01_06/packages/ti/sdo/ce/alg/) [1, 0, 1]
[t=0x00054a5f] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package ti.sdo.ce (/usr/local/ezsdk_8148_505/component-sources/codec
_engine_3_22_01_06/packages/ti/sdo/ce/) [1, 0, 6]
[t=0x00054ade] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package my.ce.extensions.motionfilter (/root/workspace_v5_3/ST7000DS
P/src/my/ce/extensions/motionfilter/) [1, 0, 0]
[t=0x00054b5c] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package my.ce.codecs.motionfilter (/root/workspace_v5_3/ST7000DSP/sr
c/my/ce/codecs/motionfilter/) [1, 0, 0]
[t=0x00054bd5] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+4] package my.omx (/root/workspace_v5_3/ST7000GPU/src/my/omx/) [1, 0, 0
]
[t=0x00054d17] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+E] Global_atexit> Enter (fxn=0x4d138)
[t=0x00054dd9] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+E] Global_atexit> Enter (fxn=0x484d0)
[t=0x00054e9d] [tid=0x4004f000] ti.sdo.ce.ipc.Processor: [+2] Processor_init> SysLink_setup()...
[t=0x0005d66d] [tid=0x4004f000] ti.sdo.ce.ipc.Processor: [+2] Processor_init> ... SysLink_setup() done
[t=0x0005d7ef] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+E] Global_atexit> Enter (fxn=0x43634)
[t=0x0005d89f] [tid=0x4004f000] ti.sdo.ce.alg: [+E] ALG_init> Enter
[t=0x0005d8e6] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[0] = 0x0
[t=0x0005d922] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[1] = 0x0
[t=0x0005d95e] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[2] = 0x0
[t=0x0005d999] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[3] = 0x0
[t=0x0005d9d5] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[4] = 0x0
[t=0x0005da0f] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[5] = 0x0
[t=0x0005da4b] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[6] = 0x0
[t=0x0005da86] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[7] = 0x0
[t=0x0005dac1] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[8] = 0x0
[t=0x0005dafb] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[9] = 0x0
[t=0x0005db37] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[10] = 0x0
[t=0x0005db73] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[11] = 0x0
[t=0x0005dbcc] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[12] = 0x0
[t=0x0005dc0a] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[13] = 0x0
[t=0x0005dc46] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[14] = 0x0
[t=0x0005dc81] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[15] = 0x0
[t=0x0005dcbd] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[16] = 0x0
[t=0x0005dcfa] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[17] = 0x0
[t=0x0005dd35] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[18] = 0x0
[t=0x0005dd71] [tid=0x4004f000] ti.sdo.ce.alg: [+E] _ALG_sems[19] = 0x0
[t=0x0005ddae] [tid=0x4004f000] ti.sdo.ce.alg: [+X] ALG_init> Exit
[t=0x0005dde7] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+E] Global_atexit> Enter (fxn=0x40054)
[t=0x0005de7c] [tid=0x4004f000] ti.sdo.ce.Engine: [+6] Engine_init> CE debugging on (CE_DEBUG=2; allowed CE_DEBUG levels: 1=min, 2=g
ood, 3=max)
[t=0x0005def0] [tid=0x4004f000] ti.sdo.ce.osal.Global: [+E] Global_atexit> Enter (fxn=0x37620)
[t=0x0005df70] [tid=0x4004f000] ti.sdo.ce.Engine: [+E] Engine addEngineToList(0xc315c, 1)
[t=0x0005dfbe] [tid=0x4004f000] ti.sdo.ce.osal.Memory: [+E] Memory_alloc> Enter(0x34)
[t=0x0005e100] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+1] daemon> thread created.
[t=0x000b0454] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+E] getCmd_d> Enter (proc=0x4cda8dc4)
[t=0x000b04ae] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+X] getCmd_d> Exit (result=1)
[t=0x000b04f6] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+E] Processor_create_d> Enter(proc=0xf17a8)
[t=0x000b0545] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Retrieving CPU ID for 'DSP'...
[t=0x000b059f] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Opening DSP ProcMgr for cpuId 0...
[t=0x000b08b0] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Attaching to DSP...
[t=0x000b1b79] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Loading all_DSP.xe674 on DSP (0 args)...
[t=0x000c5af0] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> calling Ipc_control(LOADCALLBACK)...
[t=0x000c600f] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Ipc_control(LOADCALLBACK) status: 0
[t=0x000c6085] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Starting DSP ...
[t=0x000c87fa] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> Ipc_control(STARTCALLBACK) status: 0
[t=0x000c88e9] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> calling HeapBufMP_create(): nblocks 64, blocksize
0x1000
[t=0x000c955c] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> MessageQ_registerHeap(heapH: 0xf2a00, heapId: 3)
[t=0x000c95f7] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+1] Processor_create_d> CMEM block #0 found, doing ProcMgr_map(0x96c00000,
0x1400000)...
[t=0x000c9698] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+2] Processor_create_d> return (1)
[t=0x000c975a] [tid=0x4004f000] ti.sdo.ce.ipc.Processor: [+X] doCmd> Exit (result=1)
[t=0x000c97a8] [tid=0x4004f000] ti.sdo.ce.ipc.Processor: [+X] Processor_create> return (0xf17a8)
[t=0x000c97f8] [tid=0x4004f000] ti.sdo.ce.Engine: [+X] rserverOpen('all_DSP.xe674'): 0xf1708 done.
[t=0x000c9d6b] [tid=0x4cda9490] ti.sdo.ce.ipc.Processor: [+E] getCmd_d> Enter (proc=0x4cda8dc4)
[t=0x000c9e64] [tid=0x4004f000] ti.sdo.ce.Engine: [+E] checkServer(0xf1760)
[t=0x000ca091] [tid=0x4004f000] ti.sdo.ce.Engine: [+E] rmsInit> RMS initialized(0xf1760); CE_DEBUG on, setting DSP trace mask to ti.
sdo.ce.%+EX1234567;ti.sdo.fc.%+EX12345678;ti.sdo.ce.rms=67;ti.sdo.fc.dman3-2;ti.sdo.fc.dskt2-2;time=2
[t=0x000ca141] [tid=0x4004f000] ti.sdo.ce.Engine: [+E] Engine_setTrace> Enter(engine=0xf1760, mask='ti.sdo.ce.%+EX1234567;ti.sdo.fc.
%+EX12345678;ti.sdo.ce.rms=67;ti.sdo.fc.dman3-2;ti.sdo.fc.dskt2-2;time=2')
[t=0x000ca238] [tid=0x4004f000] ti.sdo.ce.Engine: [+1] Engine_setTrace> Requesting DSP set trace ...
[t=0x000ca49b] [tid=0x4004f000] ti.sdo.ce.Engine: [+X] Engine_setTrace> return(0)
[DSP] [t=0x001835d5] [tid=0x1835d5] xdc.runtime.Main: Welcome to Server's main()
[t=0x000ca772] [tid=0x4004f000] ti.sdo.ce.Engine: [+X] Engine_fwriteTrace> returning count [81]
[t=0x000ca7d7] [tid=0x4004f000] ti.sdo.ce.Engine: [+E] Engine_initFromServer(0xf1760)
[t=0x000ca827] [tid=0x4004f000] ti.sdo.ce.Engine: [+E] Engine_getNumServerAlgs(0xf1760 0xbef28830)
[t=0x000ca9f5] [tid=0x4004f000] ti.sdo.ce.Engine: [+2] Engine_getNumServerAlgs> number of server algs = 1
[t=0x000caa63] [tid=0x4004f000] ti.sdo.ce.Engine: [+X] Engine_getNumServerAlgs> Returning 0
[t=0x000caaaf] [tid=0x4004f000] ti.sdo.ce.Engine: [+2] Engine_initFromServer> Number of remote algs statically configured in engine:
1
[t=0x000cab14] [tid=0x4004f000] ti.sdo.ce.Engine: [+2] Engine_initFromServer> Number of statically configured remote algs = number o
f server algs: 1
[t=0x000cab80] [tid=0x4004f000] ti.sdo.ce.Engine: [+1] Engine_initFromServer> Returning 0
[t=0x000cabc8] [tid=0x4004f000] ti.sdo.ce.Engine: [+X] Engine_open> return(0xf1760)
[t=0x000cac1d] [tid=0x4004f000] xdc.runtime.Main: Entering OMX_Init: (void)
[t=0x000cac9c] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DomxInit> @line<142>
[t=0x000caf35] [tid=0x4004f000] xdc.runtime.Main: Entered function:DomxCore_procInit
[t=0x000cb212] [tid=0x4004f000] xdc.runtime.Main: SysLink_setup() complete
[t=0x000cb29c] [tid=0x4004f000] xdc.runtime.Main: Entering ipc_initialize: (void)
[t=0x000cb2f4] [tid=0x4004f000] xdc.runtime.Main: filePath = dm81xxbm_m3video.xem3
[t=0x000cb353] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DomxCore_mapDomxCore2MultiProcId> @line<269>
[t=0x000cb3d5] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DomxCore_mapDomxCore2MultiProcId> @line<275> with error<0:E
rrorNone>
[t=0x000cb45c] [tid=0x4004f000] xdc.runtime.Main: Doing ProcMgr_open()
[t=0x000cbc2a] [tid=0x4004f000] xdc.runtime.Main: Processor state is Running
[t=0x000cbc8f] [tid=0x4004f000] xdc.runtime.Main: Exiting ipc_initialize: (void)
[t=0x000cbd05] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_moduleRegisterMsgqHeap> @line<892>
[t=0x000cbd95] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DomxCore_mapDomxCore2MultiProcId> @line<269>
[t=0x0011dddc] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DomxCore_mapDomxCore2MultiProcId> @line<275> with error<0:E
rrorNone>
[t=0x0011de6b] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DmmDelegate_createIpcHeap> @line<181>
[t=0x0011defc] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DmmDelegate_createIpcHeap> @line<195> with error<0:ErrorNon
e>
[t=0x0011df6b] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<927> msg<Before MessageQ_reg
isterHeap>
[t=0x0011dfee] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<932> msg<After MessageQ_regi
sterHeap>
[t=0x0011e05d] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<OmxRpc_moduleRegisterMsgqHeap> @line<935> with error<0:Erro
rNone>
[t=0x0011e0ca] [tid=0x4004f000] xdc.runtime.Main: Entering ipc_initialize: (void)
[t=0x0011e116] [tid=0x4004f000] xdc.runtime.Main: filePath = dm81xxbm_m3vpss.xem3
[t=0x0011e15b] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DomxCore_mapDomxCore2MultiProcId> @line<269>
[t=0x0011e1b8] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DomxCore_mapDomxCore2MultiProcId> @line<275> with error<0:E
rrorNone>
[t=0x0011e224] [tid=0x4004f000] xdc.runtime.Main: Doing ProcMgr_open()
[t=0x0011ecf1] [tid=0x4004f000] xdc.runtime.Main: Processor state is Running
[t=0x0011ed51] [tid=0x4004f000] xdc.runtime.Main: Exiting ipc_initialize: (void)
[t=0x0011ed9f] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_moduleRegisterMsgqHeap> @line<892>
[t=0x0011ee5f] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DomxCore_mapDomxCore2MultiProcId> @line<269>
[t=0x0011eec8] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DomxCore_mapDomxCore2MultiProcId> @line<275> with error<0:E
rrorNone>
[t=0x0011ef38] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DmmDelegate_createIpcHeap> @line<181>
[t=0x0011efa9] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DmmDelegate_createIpcHeap> @line<195> with error<0:ErrorNon
e>
[t=0x0011f015] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<927> msg<Before MessageQ_reg
isterHeap>
[t=0x0011f08c] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<932> msg<After MessageQ_regi
sterHeap>
[t=0x0011f0f9] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<OmxRpc_moduleRegisterMsgqHeap> @line<935> with error<0:Erro
rNone>
[t=0x0011f166] [tid=0x4004f000] xdc.runtime.Main: Entering ipc_initialize: (void)
[t=0x0011f1b1] [tid=0x4004f000] xdc.runtime.Main: filePath = dm81xxbm_c6xdsp.xec674
[t=0x0011f1f7] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DomxCore_mapDomxCore2MultiProcId> @line<269>
[t=0x0011f255] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DomxCore_mapDomxCore2MultiProcId> @line<275> with error<0:E
rrorNone>
[t=0x0011f2c1] [tid=0x4004f000] xdc.runtime.Main: Doing ProcMgr_open()
[t=0x0011f30c] [tid=0x4004f000] xdc.runtime.Main: Processor state is Running
[t=0x0011f351] [tid=0x4004f000] xdc.runtime.Main: Exiting ipc_initialize: (void)
[t=0x0011f39c] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_moduleRegisterMsgqHeap> @line<892>
[t=0x0011f419] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DomxCore_mapDomxCore2MultiProcId> @line<269>
[t=0x0011f47b] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DomxCore_mapDomxCore2MultiProcId> @line<275> with error<0:E
rrorNone>
[t=0x0011f4e8] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<DmmDelegate_createIpcHeap> @line<181>
[t=0x0011f552] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DmmDelegate_createIpcHeap> @line<195> with error<0:ErrorNon
e>
[t=0x0011f636] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<927> msg<Before MessageQ_reg
isterHeap>
[t=0x001716f9] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<932> msg<After MessageQ_regi
sterHeap>
[t=0x0017176e] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<OmxRpc_moduleRegisterMsgqHeap> @line<935> with error<0:Erro
rNone>
[t=0x001736be] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<DomxInit> @line<183> msg<Waiting for Ipc_attach to happen b/w sla
ve cores>
[t=0x00267a03] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<DomxInit> @line<186> msg<Wait completed for Ipc_attach to happen
b/w slave cores>
[t=0x00267abc] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_moduleInitServer> @line<793>
[t=0x00267b4a] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxrpc_rcm_server_create> @line<220>
[t=0x00267bae] [tid=0x4004f000] xdc.runtime.Main: @ omxrpc_rcm_server_create: rcmServerName OmxRpcRcmServer_3, priority 14
[t=0x00267c0f] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<225> msg<Before RcmServer_Params_
init>
[t=0x00267c84] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<229> msg<After RcmServer_Params_i
nit>
[t=0x00267cee] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<232> msg<Before RcmServer_create>
[t=0x0026880a] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<240> msg<After RcmServer_create>
[t=0x00268896] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxrpc_rcm_server_create> @line<241> with error<0:ErrorNone
>
[t=0x00268913] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxrpc_rcm_server_remote_fxn_register> @line<279>
[t=0x0026897e] [tid=0x4004f000] xdc.runtime.Main: @ omxrpc_rcm_server_remote_fxn_register regFxnCategory 0
[t=0x002689d5] [tid=0x4004f000] xdc.runtime.Main: Calling RcmServer_addSymbol(OmxRpcGetHandle)
[t=0x00268aaf] [tid=0x4004f000] xdc.runtime.Main: Calling RcmServer_addSymbol(OmxRpcFreeHandle)
[t=0x00268b31] [tid=0x4004f000] xdc.runtime.Main: Calling RcmServer_addSymbol(OmxRpcCreateProxyLite)
[t=0x00268b91] [tid=0x4004f000] xdc.runtime.Main: Calling RcmServer_addSymbol(OmxRpcGetHeapMemStats)
[t=0x00268bee] [tid=0x4004f000] xdc.runtime.Main: Calling RcmServer_addSymbol(OmxRpcDeleteProxyLite)
[t=0x00268c4c] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxrpc_rcm_server_remote_fxn_register> @line<306> with erro
r<0:ErrorNone>
[t=0x00268cc0] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxrpc_rcm_server_start> @line<255>
[t=0x00268d18] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_start> @line<256> msg<Before RcmServer_start>
[t=0x00268db9] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_start> @line<258> msg<After RcmServer_start>
[t=0x00268e29] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxrpc_rcm_server_start> @line<259> with error<0:ErrorNone>
[t=0x00268e92] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<OmxRpc_moduleInitServer> @line<854> with error<0:ErrorNone>
[t=0x00268efc] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<DomxInit> @line<208> with error<0:ErrorNone>
[t=0x00268f9e] [tid=0x4004f000] xdc.runtime.Main: Entered function:DomxCore_mapPhyAddr2UsrVirtual
[t=0x00269064] [tid=0x4004f000] xdc.runtime.Main: ProcMgr_map Success VirtAddr: @406a5000
[t=0x002690d6] [tid=0x4004f000] xdc.runtime.Main:
ProcMgr_translateAddr Status [0x0] User Virtual Address [0x406a5000]
[t=0x0026915a] [tid=0x4004f000] xdc.runtime.Main: Entered function:DomxCore_mapPhyAddr2UsrVirtual
[t=0x002691d1] [tid=0x4004f000] xdc.runtime.Main: ProcMgr_map Success VirtAddr: @408a3000
[t=0x00269221] [tid=0x4004f000] xdc.runtime.Main:
ProcMgr_translateAddr Status [0x0] User Virtual Address [0x408a3000]
[t=0x00269296] [tid=0x4004f000] xdc.runtime.Main: Entered function:DomxCore_mapPhyAddr2UsrVirtual
[t=0x00269305] [tid=0x4004f000] xdc.runtime.Main: ProcMgr_map Success VirtAddr: @403e2000
[t=0x00269356] [tid=0x4004f000] xdc.runtime.Main:
ProcMgr_translateAddr Status [0x0] User Virtual Address [0x403e2000]
[t=0x002693dc] [tid=0x4004f000] xdc.runtime.Main: Leaving OMX_Init: retVal OMX_ERRORTYPE: 0
OMX_Init completed
UIAClient is ready to send a UIA configuration command
UIAClient received UIA_CONFIGURE_ACK
UIAClient is done sending requests
UIAClient is ready to send a UIA configuration command
UIAClient received UIA_CONFIGURE_ACK
UIAClient is done sending requests
opening file
[t=0x0026b4d5] [tid=0x4004f000] xdc.runtime.Main: Entered: OMX_GetHandle (0xf3410, OMX.TI.DUCATI.VIDDEC, 0xf3510, 0xf341c)
[t=0x002bd466] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.VFCC idx 0
[t=0x002bd4e1] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.VFDC idx 1
[t=0x002bd53f] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.VFPC.DEIHDUALOUT idx 2
[t=0x002bd5a0] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.VFPC.DEIMDUALOUT idx 3
[t=0x002bd601] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.VFPC.NF idx 4
[t=0x002bd65d] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.VFPC.INDTXSCWB idx 5
[t=0x002bd6bc] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.CTRL.TVP idx 6
[t=0x002bd718] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.CTRL.DC idx 7
[t=0x002bd774] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.VPSSM3.VSWMOSAIC idx 8
[t=0x002bd7d0] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.DUCATI.VIDENC idx 9
[t=0x002bd82b] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC In table OMX.TI.DUCATI.VIDDEC idx 10
[t=0x002bd887] [tid=0x4004f000] xdc.runtime.Main: Component OMX.TI.DUCATI.VIDDEC found idx: 10
[t=0x002bd90b] [tid=0x4004f000] xdc.runtime.Main: In OMX_GetHandle, component OMX.TI.DUCATI.VIDDEC, omxhandle 0xf60e0
[t=0x002be8b4] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxProxy_commonInit> @line<2491>
[t=0x002be93f] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxProxy_commonInit> @line<2492> msg<OMX.TI.DUCATI.VIDDEC>
[t=0x002be9b3] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxproxy_map_component_name2info> @line<747>
[t=0x002bea37] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxproxy_map_component_name2info> @line<764> with error<0:E
rrorNone>
[t=0x002beaf0] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxproxy_get_component_custom_config_info> @line<784>
[t=0x002beb63] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxproxy_get_component_custom_config_info> @line<801> with
error<0:ErrorNone>
[t=0x002bebd8] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxProxy_commonInit> @line<2565> msg<Before OmxRpc_Params_init>
[t=0x002bec49] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_Params_init> @line<93>
[t=0x002beca9] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<OmxRpc_Params_init> @line<99> with error<0:ErrorNone>
[t=0x002bed0e] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxProxy_commonInit> @line<2569> msg<After OmxRpc_Params_init>
[t=0x002bed73] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxProxy_commonInit> @line<2579> msg<Before OmxRpc_create>
[t=0x002bede8] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_object_create> @line<109>
[t=0x002bee7f] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_Instance_init> @line<570>
[t=0x002bef08] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxrpc_module_init_client> @line<324>
[t=0x002bf04d] [tid=0x4004f000] xdc.runtime.Main: Entered function:omxrpc_module_init_client (1)
[t=0x002bf0d1] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_rcmClientCreate> @line<976>
[t=0x002bf131] [tid=0x4004f000] xdc.runtime.Main: Entered function:OmxRpc_rcmClientCreate (0x402a6b98, OmxRpcRcmServer_1, 4)
[t=0x002bf193] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<983> msg<Before RcmClient_Params_in
it>
[t=0x002bf208] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<985> msg<After RcmClient_Params_ini
t>
[t=0x002bf272] [tid=0x4004f000] xdc.runtime.notify_shm_drv_sendevent failed! status = 0xfffffff2Main: Module<ti.
notify_send_event failed! status = 0xfffffff2omx> @<OmxRpc_rc
notify_shm_drv_sendevent failed! status = 0xfffffff2mClientCreate> @
notify_send_event failed! status = 0xfffffff2line<990> msg<Be
notify_shm_drv_sendevent failed! status = 0xfffffff2fore RcmClient_c
notify_send_event failed! status = 0xfffffff2reate>
[t=0x003
notify_shm_drv_sendevent failed! status = 0xfffffff211e09] [tid=0x40
notify_send_event failed! status = 0xfffffff204f000] xdc.runt
notify_shm_drv_sendevent failed! status = 0xfffffff2ime.Main: Module
notify_send_event failed! status = 0xfffffff2<ti.omx> @<OmxRp
notify_shm_drv_sendevent failed! status = 0xfffffff2c_rcmClientCreat
notify_send_event failed! status = 0xfffffff2e> @line<992> msg<After RcmClient_create>
[t=0x00311e97] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<OmxRpc_rcmClientCreate> @line<1013> with error<0:ErrorNone>
[t=0x00311f02] [tid=0x4004f000] xdc.runtime.Main: omxrpc_module_init_client: Located the remoteCoreRcmServer
[t=0x00311f6c] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<OmxRpc_rcmClientRemoteFxnLocate> @line<1033>
[t=0x00311fcd] [tid=0x4004f000] xdc.runtime.Main: Entered OmxRpc_rcmClientRemoteFxnLocate (0xf9048, 0, 0x402a6c24)
[t=0x0031202e] [tid=0x4004f000] xdc.runtime.Main: main: calling RcmClient_getSymbolIndex(OmxRpcGetHandle)
[t=0x00312275] [tid=0x4004f000] xdc.runtime.Main: main: calling RcmClient_getSymbolIndex(OmxRpcFreeHandle)
[t=0x00312424] [tid=0x4004f000] xdc.runtime.Main: main: calling RcmClient_getSymbolIndex(OmxRpcCreateProxyLite)
[t=0x0031259b] [tid=0x4004f000] xdc.runtime.Main: main: calling RcmClient_getSymbolIndex(OmxRpcGetHeapMemStats)
[t=0x0031271b] [tid=0x4004f000] xdc.runtime.Main: main: calling RcmClient_getSymbolIndex(OmxRpcDeleteProxyLite)
[t=0x003128a4] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<OmxRpc_rcmClientRemoteFxnLocate> @line<1077> with error<0:E
rrorNone>
[t=0x00312920] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxrpc_module_init_client> @line<386> with error<0:ErrorNon
e>
[t=0x0031298c] [tid=0x4004f000] xdc.runtime.Main: LayerId: 0
[t=0x00312a07] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxrpc_rcm_server_create> @line<220>
[t=0x00312a6b] [tid=0x4004f000] xdc.runtime.Main: @ omxrpc_rcm_server_create: rcmServerName OmxRpcRcmServer_OMX.TI.DUCATI.VIDDEC_Cb_
3_0, priority 14
[t=0x00312adc] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<225> msg<Before RcmServer_Params_
init>
[t=0x00312b46] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<229> msg<After RcmServer_Params_i
nit>
[t=0x00312baf] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<232> msg<Before RcmServer_create>
[t=0x00313538] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> @<omxrpc_rcm_server_create> @line<240> msg<After RcmServer_create>
[t=0x003135bc] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxrpc_rcm_server_create> @line<241> with error<0:ErrorNone
>
[t=0x003136f2] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Entering<omxrpc_rcm_server_remote_fxn_register> @line<279>
[t=0x00313756] [tid=0x4004f000] xdc.runtime.Main: @ omxrpc_rcm_server_remote_fxn_register regFxnCategory 2
[t=0x003137ad] [tid=0x4004f000] xdc.runtime.Main: Calling RcmServer_addSymbol(OmxRpcCbEventHandler)
[t=0x0031381c] [tid=0x4004f000] xdc.runtime.Main: Calling RcmServer_addSymbol(OmxRpcCbEmptyBufferDone)
[t=0x0031387b] [tid=0x4004f000] xdc.runtime.Memory: ERROR: line 52: out of memory: heap=0x0, size=24
xdc.runtime.Memory: line 52: out of memory: heap=0x0, size=24
[t=0x00313933] [tid=0x4004f000] xdc.runtime.Main: RcmServer_addSymbol failed:OmxRpcCbEmptyBufferDone,-2
[t=0x0031398b] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx> Leaving<omxrpc_rcm_server_remote_fxn_register> @line<306> with erro
r<6:<unknown>>
[t=0x003139fc] [tid=0x4004f000] xdc.runtime.Main: Module<ti.omx>:Assert failure in <OmxRpc_Instance_init> @line<631>; Error: rcmServ
erFxnRegisterFailed
app_remote.xv5T: OmxRpc.c:631: OmxRpc_Instance_init: Assertion `(OmxRpc_errorNone == retVal)' failed.
Aborted
root@dm814x-evm:/usr/share/ti/ti-codec-engine-examples/motion#
If I only use Codec engine without OpenMax the application works normally without download firmware. So I think may be mistake in compile options.
I have modifyed the Codec engine configurate according to http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/149505.aspx for OpenMax and Codec running parallel.
So what is the final cause for "out of memory", is it the wrong compile options?
Best wishes!
Chao
