This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6467, The Engine_open hangs at SEM_pend

Hi,

I'm developing a video analytics on DM6467 pEVM. the components softwares are as below:

1.)Montavista 4.0.1 tools for DM6467

2.) dvsdk_1_40_00_28 with codec_engine_2_10_01

3.)xdc_3_00_06

4.)bios_5_32_01.

this is the trace with CE_DEBUG=3,

root@10.65.102.50:~/6467# CE_DEBUG=3 ./sampleApplication.out configuration.xml
1970-01-01 00:58:37 INFO ES_Configure - ES: Configuring EmbeddedSensor from the XML @0,469,516us: [+4 T:0x400179c0 S:0xbefffb24] OG - Global_init> This program was built with the following packages:
@0,469,771us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package gnu.targets.rts470MV (/home/q572/xdc_3_00_06/packages/gnu/targets/rts470MV/) [1,0,0,0,1203621000516] @0,470,298us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.xdais.dm (/home/q572/dvsdk_1_40_00_28/xdais_6_10_01/packages/ti/xdais/dm/) [1,0,4,1210262746529]
@0,470,548us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.xdais (/home/q572/dvsdk_1_40_00_28/xdais_6_10_01/packages/ti/xdais/) [1,2,1,1210262742149] @0,470,764us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.utils.trace (/home/q572/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/utils/trace/) [1,0,0,1210378728605]
@0,470,998us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.utils.xdm (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/utils/xdm/) [1,0,1,1210912978675]
@0,471,221us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.fc.dman3 (/home/q572/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/fc/dman3/) [1,0,3,1210378548029]
@0,471,443us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.fc.acpy3 (/home/q572/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/fc/acpy3/) [1,0,2,1210378523580]
@0,471,667us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package dsplink.gpp (/home/q572/dvsdk_1_40_00_28/dsplink-davinci-v1.50-prebuilt/packages/dsplink/gpp/) [3,0,0]
@0,471,879us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.linuxutils.cmem (/home/q572/dvsdk_1_40_00_28/cmem_2_10/packages/ti/sdo/linuxutils/cmem/) [2,0,1,1204929560755]
@0,472,099us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.catalog.c470 (/home/q572/xdc_3_00_06/packages/ti/catalog/c470/) [1,0,1,0,1203561761475]
@0,472,304us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.catalog.c6000 (/home/q572/xdc_3_00_06/packages/ti/catalog/c6000/) [1,0,0,0,1203561781695] @0,472,509us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.platforms.evmDM6467 (/home/q572/bios_5_32_01/packages/ti/platforms/evmDM6467/) [1,0,0,0,1192229633217] @0,472,724us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.osal (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/osal/) [2,0,2,1210912758604]
@0,472,939us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.ipc (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/ipc/) [2,0,1,1210912707081]
@0,473,187us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.osal.linux (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/osal/linux/) [2,0,1,1210912772730]
@0,473,419us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.ipc.dsplink (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/ipc/dsplink/) [2,0,1,1210912721394] @0,473,649us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.alg (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/alg/) [1,0,1,1210912389491] @0,473,866us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/) [1,0,6,1210912375058] @0,474,074us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.speech (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/speech/) [1,0,2,1210912797352] @0,474,294us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.speech1 (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/speech1/) [1,0,1,1210912803800] @0,474,516us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.audio (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/audio/) [1,0,2,1210912396869]
@0,474,736us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.video (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video/) [1,0,3,1210912990552]
@0,474,953us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.video1 (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video1/) [1,0,2,1210912997315]
@0,808,827us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.video2 (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video2/) [1,0,2,1210913003946]
@0,809,095us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.dmai (/home/q572/dvsdk_1_40_00_28/dmai_1_10_00_05/packages/ti/sdo/dmai/) [1,0,0,1214769294000] @0,809,322us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package extensions.vidanalytics (/home/q572/workdir/OnBoard_SDK/ObjectVideoOnBoard/lib/davinci/extensions/vidanalytics/) []
@0,809,546us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package analytics.ovanalytics (/home/q572/workdir/OnBoard_SDK/ObjectVideoOnBoard/lib/davinci/analytics/ovanalytics/) []
@0,809,767us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package ti.sdo.ce.image (/home/q572/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/image/) [1,0,3,1210912694699]
@0,809,990us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package davinci.jpeg (/home/q572/workdir/OnBoard_SDK/ObjectVideoOnBoard/thirdparty/davinci/jpeg/) []
@0,810,287us: [+4 T:0x400179c0 S:0xbefffb24] OG -     package remote_6467 (/home/q572/workdir/OnBoard_SDK/ObjectVideoOnBoard_SampleApplication/SampleApplication/makefiles/remote_6467/) []
@0,810,549us: [+0 T:0x400179c0 S:0xbefffb2c] OG - Global_atexit> enter (fxn=0x2cfa4)
@0,810,738us: [+0 T:0x400179c0 S:0xbefffb2c] OG - Global_atexit> enter (fxn=0x2c43c)
@0,810,923us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> Enter(0x18)
@0,811,094us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> return (0x66718)
@0,811,498us: [+0 T:0x400179c0 S:0xbefffb1c] OG - Global_atexit> enter (fxn=0x2ad24)
@0,811,799us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> Enter(0x18)
@0,811,991us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> return (0x66768)
@0,812,169us: [+0 T:0x400179c0 S:0xbefffb1c] OG - Global_atexit> enter (fxn=0x28a5c)
@0,812,438us: [+0 T:0x400179c0 S:0xbefffb24] OG - Global_atexit> enter (fxn=0x2bac0)
@0,812,691us: [+0 T:0x400179c0 S:0xbefffb0c] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0,812,876us: [+0 T:0x400179c0 S:0xbefffaf4] OM - Memory_alloc> Enter(0x14)
@0,813,047us: [+0 T:0x400179c0 S:0xbefffaf4] OM - Memory_alloc> return (0x667e8)
@0,813,244us: [+0 T:0x400179c0 S:0xbefffb0c] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x667e8]
@0,813,428us: [+0 T:0x400179c0 S:0xbefffb0c] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0,813,595us: [+0 T:0x400179c0 S:0xbefffaf4] OM - Memory_alloc> Enter(0x14)
@0,813,763us: [+0 T:0x400179c0 S:0xbefffaf4] OM - Memory_alloc> return (0x66800)
@0,813,927us: [+0 T:0x400179c0 S:0xbefffb0c] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x66800]
@0,814,100us: [+0 T:0x400179c0 S:0xbefffaf4] OM - Memory_alloc> Enter(0x18)
@0,814,261us: [+0 T:0x400179c0 S:0xbefffaf4] OM - Memory_alloc> return (0x66818)
@0,814,462us: [+0 T:0x400179c0 S:0xbefffaf4] OT - Thread_create> Enter (fxn=0x27b9c, attrs=0x0)
@0,814,642us: [+0 T:0x400179c0 S:0xbefffadc] OM - Memory_alloc> Enter(0x64)
@0,814,809us: [+0 T:0x400179c0 S:0xbefffadc] OM - Memory_alloc> return (0x66838)
@0,815,421us: [+0 T:0x400179c0 S:0xbefffaf4] OT - Thread_create> Exit (task=0x66838)
@0,815,635us: [+0 T:0x400179c0 S:0xbefffb2c] OG - Global_atexit> enter (fxn=0x2775c)
@0,815,838us: [+0 T:0x400179c0 S:0xbefffb2c] OG - Global_atexit> enter (fxn=0x29850)
@0,816,095us: [+0 T:0x400179c0 S:0xbefffb14] ti.sdo.ce.alg - ALG_init> Enter
@0,816,278us: [+0 T:0x400179c0 S:0xbefffb04] OG - Global_atexit> enter (fxn=0x26ca4)
@0,816,460us: [+0 T:0x400179c0 S:0xbefffb34] ti.sdo.ce.alg - ALG_init> Exit
@0,816,620us: [+0 T:0x400179c0 S:0xbefffb2c] OG - Global_atexit> enter (fxn=0x26744)
@0,816,805us: [+0 T:0x400179c0 S:0xbefffb04] OM - Memory_alloc> Enter(0x18)
@0,816,982us: [+0 T:0x400179c0 S:0xbefffb04] OM - Memory_alloc> return (0x669d0)
@0,817,181us: [+0 T:0x400179c0 S:0xbefffb2c] OG - Global_atexit> enter (fxn=0x2bc24)
@1,153,017us: [+6 T:0x400179c0 S:0xbefffb2c] CE - Engine_init> CE debugging on (CE_DEBUG=3; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)
@1,153,273us: [+0 T:0x400179c0 S:0xbefffb1c] OG - Global_atexit> enter (fxn=0x23ac8)
@1,153,458us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> Enter(0x18)
@1,153,635us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> return (0x66a10)
@1,153,807us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> Enter(0x18)
@1,153,974us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> return (0x66a30)
@1,154,144us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> Enter(0x18)
@1,154,337us: [+0 T:0x400179c0 S:0xbefffafc] OM - Memory_alloc> return (0x66a50)
@1,154,604us: [+0 T:0x400179c0 S:0xbefffb3c] CS - Server_init()
@1,154,773us: [+0 T:0x400179c0 S:0xbefffb3c] CS - Server_init> Global_useLinkArbiter = 0
@1,154,948us: [+0 T:0x400179c0 S:0xbefffb3c] OG - Global_atexit> enter (fxn=0x22618)
1970-01-01 00:58:38 INFO ES_Configure - Forest-Before Going into the codec engine.
@1,155,439us: [+0 T:0x400179c0 S:0xbefffac4] CE - Engine_open> Enter('ovanalytics', 0x0, 0xbefffb6c)
@1,155,720us: [+0 T:0x400179c0 S:0xbefffaac] OM - Memory_alloc> Enter(0x2c)
@1,155,909us: [+0 T:0x400179c0 S:0xbefffaac] OM - Memory_alloc> return (0x66aa0)
@1,156,084us: [+0 T:0x400179c0 S:0xbefffac4] CE - rserverOpen('ovanalytics.x64P'), count = 0
@1,156,268us: [+0 T:0x400179c0 S:0xbefffa8c] OP - Processor_create> Enter(imageName='ovanalytics.x64P', linkCfg='(null)', attrs=0xbefffb10)
@1,156,614us: [+0 T:0x400179c0 S:0xbefffa74] OM - Memory_alloc> Enter(0x24)
@1,156,821us: [+0 T:0x400179c0 S:0xbefffa74] OM - Memory_alloc> return (0x66ad0)
@1,156,997us: [+0 T:0x400179c0 S:0xbefffa6c] OP - doCmd> Enter (cmdId=1, proc=0x66ad0)
@1,157,177us: [+0 T:0x400179c0 S:0xbefffa5c] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x667e8]
@1,157,447us: [+0 T:0x400179c0 S:0xbefffa6c] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x667e8]
@1,157,648us: [+0 T:0x400179c0 S:0xbefffa4c] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x66800] timeout[0xffffffff]
@1,157,909us: [+1 T:0x40a35b60 S:0x40a3552c] OP - daemon> thread created.
@1,158,149us: [+0 T:0x40a35b60 S:0x40a3552c] OP - getCmd_d> Enter (proc=0x40a355a4)
@1,158,334us: [+0 T:0x40a35b60 S:0x40a3550c] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x667e8] timeout[0xffffffff]
@1,158,570us: [+0 T:0x40a35b60 S:0x40a3550c] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x667e8] status[0]
@1,158,769us: [+0 T:0x40a35b60 S:0x40a3552c] OP - getCmd_d> Exit (result=1)
@1,158,937us: [+0 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Enter(proc=0x66ad0)
@1,159,110us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Initializing DSP PROC...
@1,159,293us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Using DspLink config data for entry #0 [server 'ovanalytics.x64P']
@1,159,509us: [+0 T:0x40a35b60 S:0x40a35514] OM - Memory_alloc> Enter(0x118)
@1,159,689us: [+0 T:0x40a35b60 S:0x40a35514] OM - Memory_alloc> return (0x66af8)
@1,159,900us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Adding DSP segment #0 to Link configuration: name='DDR2', startAddress=0x8fa00000, sizeInBytes=0x400000, shared=1
@1,160,253us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', startAddress=0x8fe00000, sizeInBytes=0x100000, shared=1
@1,160,528us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Adding DSP segment #2 to Link configuration: name='RESET_VECTOR', startAddress=0x8ff00000, sizeInBytes=0x80, shared=0
@1,160,791us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Adding DSP segment #3 to Link configuration: name='DDRALGHEAP', startAddress=0x8aa00000, sizeInBytes=0x5000000, shared=0
@1,161,051us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Adding DSP segment #4 to Link configuration: name='IRAM', startAddress=0x11818000, sizeInBytes=0x18000, shared=0
@1,497,095us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> DOPOWERCONTROL was=0; now=0
@1,500,131us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Attaching to DSP PROC...
@1,510,328us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Opening MSGQ pool...
@1,511,009us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Loading ovanalytics.x64P on DSP (1 args)...
@1,673,853us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Starting DSP PROC...
@1,760,242us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> Opening remote transport...
@1,760,931us: [+2 T:0x40a35b60 S:0x40a3552c] OP - Processor_create_d> return (1)
@1,761,158us: [+0 T:0x40a35b60 S:0x40a3551c] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x66800]
@1,761,400us: [+0 T:0x400179c0 S:0xbefffa4c] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x66800] status[0]
@1,761,614us: [+0 T:0x400179c0 S:0xbefffa6c] OP - doCmd> Exit (result=1)
@1,761,778us: [+0 T:0x400179c0 S:0xbefffa8c] OP - Processor_create> return (0x66ad0)
@1,761,944us: [+0 T:0x400179c0 S:0xbefffac4] CE - rserverOpen('ovanalytics.x64P'): 0x648d0 done.
@1,762,130us: [+0 T:0x400179c0 S:0xbefffaac] OM - Memory_alloc> Enter(0x1f)
@1,762,303us: [+0 T:0x400179c0 S:0xbefffaac] OM - Memory_alloc> return (0x66ce8)
@1,762,528us: [+0 T:0x400179c0 S:0xbefffa9c] OC - Comm_create> Enter(queueName='ovanalytics_0', queue=0x66ab0, attrs=0x0)
@1,762,743us: [+0 T:0x400179c0 S:0xbefffa84] OM - Memory_alloc> Enter(0x4)
@1,762,916us: [+0 T:0x400179c0 S:0xbefffa84] OM - Memory_alloc> return (0x66d10)
@1,763,384us: [+0 T:0x400179c0 S:0xbefffa9c] OC - Comm_create> return (0x66d10)
@1,763,629us: [+0 T:0x400179c0 S:0xbefffa9c] OM - Memory_free> Enter(0x66ce8, 0x1f)
@1,763,862us: [+0 T:0x400179c0 S:0xbefffa9c] OM - Memory_free> return (0x1)
@1,764,046us: [+0 T:0x400179c0 S:0xbefffaa4] OC - Comm_alloc> Enter(poolId=0x0, msg=0x66abc, size=576)
@1,764,288us: [+0 T:0x400179c0 S:0xbefffaa4] OC - Comm_alloc> msg=0x41244880, returning (0)
@1,764,483us: [+0 T:0x400179c0 S:0xbefffa84] OC - Comm_locate> Enter(queueName='rmsq', queue=0x66aac)
@1,764,845us: [+0 T:0x40a35b60 S:0x40a3552c] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x66800]
@1,765,082us: [+0 T:0x40a35b60 S:0x40a3552c] OP - getCmd_d> Enter (proc=0x40a355a4)
@1,765,269us: [+0 T:0x40a35b60 S:0x40a3550c] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x667e8] timeout[0xffffffff]

 

i've tried the latest dvsdk_1_40_02_33for EVM6467, it is the same result. 

would any one give me some hints? thanks very much.

Forest.