Hi
can anybody help??
Albert
---------- Forwarded message ----------
From: Albert Burbea <[EMAIL PROTECTED]>
Date: Wed, Sep 17, 2008 at 10:28 AM
Subject: CE hangs
To: "[email protected]" <
[email protected]>
Hi everybody
I built the loopbackCombo in DVSDK 1_40_00_28 in the dualcpu configuration,
linked to the user application, and (after a LOT of effort) executed in the
DVEVM.
When I run the application, it hangs
I have to mention that I built the engine in a directory EXTERNAL to the
dvsdk (I copied the dvsdk/codec_engine/.../examples to a different place,
and adapted what I had to adapt to pass compilation)
I have to say that another guy here compiles in the CE original install
place, and it works for him
Can you please help ?
This is the output of CE_DEBUG=3
./app.out
App-> Application started.
@0,467,114us: [+4 T:0x400176d8 S:0xbefffc4c] OG - Global_init> This program
was built with the following packages:
@0,467,738us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
gnu.targets.rts470MV
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/xdc_3_00_06/packages/gnu/targets/rts470MV/)
[1,0,0,0,1203621000516]
@0,468,202us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.codecs.h264enc (/home/albertb/my_combo3/ti/sdo/codecs/h264enc/)
[1,0,0,1221666721000]
@0,468,516us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.codecs.h264dec (/home/albertb/my_combo3/ti/sdo/codecs/h264dec/)
[1,0,0,1221666721000]
@0,468,821us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.xdais.dm(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/xdais_6_10_01/packages/ti/xdais/dm/)
[1,0,4,1210262746529]
@0,469,190us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.xdais
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/xdais_6_10_01/packages/ti/xdais/)
[1,2,1,1210262742149]
@0,469,549us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.utils.trace
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/utils/trace/)
[1,0,0,1210378728605]
@0,469,954us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.ce.utils.xdm
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/utils/xdm/)
[1,0,1,1210912978675]
@0,472,081us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.fc.dman3
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/fc/dman3/)
[1,0,3,1210378548029]
@0,472,508us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.fc.acpy3
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/framework_components_2_10_01/packages/ti/sdo/fc/acpy3/)
[1,0,2,1210378523580]
@0,472,918us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package dsplink.gpp
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/dsplink-davinci-v1.50-prebuilt/packages/dsplink/gpp/)
[3,0,0]
@0,473,293us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.linuxutils.cmem
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/cmem_2_10/packages/ti/sdo/linuxutils/cmem/)
[2,0,1,1204929560755]
@0,473,685us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.catalog.c470
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/xdc_3_00_06/packages/ti/catalog/c470/)
[1,0,1,0,1203561761475]
@0,474,061us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.catalog.c6000
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/xdc_3_00_06/packages/ti/catalog/c6000/)
[1,0,0,0,1203561781695]
@0,474,447us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.platforms.evmDM6467
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/bios_5_32_01/packages/ti/platforms/evmDM6467/)
[1,0,0,0,1192229633217]
@0,474,845us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.ce.osal
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/osal/)
[2,0,2,1210912758604]
@0,475,228us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.ce.ipc
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/ipc/)
[2,0,1,1210912707081]
@0,475,614us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.ce.alg
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/alg/)
[1,0,1,1210912389491]
@0,475,997us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.ce.osal.linux
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/osal/linux/)
[2,0,1,1210912772730]
@0,476,401us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.ce.ipc.dsplink
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/ipc/dsplink/)
[2,0,1,1210912721394]
@0,476,807us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.ce
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/)
[1,0,6,1210912375058]
@0,477,177us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.ce.video1
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video1/)
[1,0,2,1210912997315]
@0,477,567us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.codecs.h264enc.ce (/home/albertb/my_combo3/ti/sdo/codecs/h264enc/ce/)
[1,0,0,1221666721000]
@0,477,883us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.ce.video2
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/video2/)
[1,0,2,1210913003946]
@0,478,274us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.codecs.h264dec.ce (/home/albertb/my_combo3/ti/sdo/codecs/h264dec/ce/)
[1,0,0,1221666721000]
@0,478,589us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ti.sdo.ce.bioslog
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/bioslog/)
[1,0,1,1210912409169]
@0,478,980us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package
ti.sdo.ce.utils.trace
(/home/albertb/work/albertb_mediavc_main_l/DaVinci/dvsdk_1_40_00_28/codec_engine_2_10_01/packages/ti/sdo/ce/utils/trace/)
[1,0,1,1210912971800]
@0,484,212us: [+4 T:0x400176d8 S:0xbefffc4c] OG - package ceapp
(/home/albertb/my_combo3/ti/sdo/apps/video2_TI_EncDec_engine_lib/dualcpu_separateconfig/configured_CE_subsystem/ceapp/)
[]
@0,484,934us: [+0 T:0x400176d8 S:0xbefffc54] OG - Global_atexit> enter
(fxn=0x195fc)
@0,485,208us: [+0 T:0x400176d8 S:0xbefffc54] OG - Global_atexit> enter
(fxn=0x18a94)
@0,485,619us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> Enter(0x18)
@0,485,904us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> return
(0x3f0f0)
@0,486,375us: [+0 T:0x400176d8 S:0xbefffc44] OG - Global_atexit> enter
(fxn=0x1737c)
@0,486,702us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> Enter(0x18)
@0,486,941us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> return
(0x3f140)
@0,487,168us: [+0 T:0x400176d8 S:0xbefffc44] OG - Global_atexit> enter
(fxn=0x150b4)
@0,487,487us: [+0 T:0x400176d8 S:0xbefffc4c] OG - Global_atexit> enter
(fxn=0x18118)
@0,487,822us: [+0 T:0x400176d8 S:0xbefffc34] ti.sdo.ce.osal.Sem -
Sem_create> count: 0
@0,488,067us: [+0 T:0x400176d8 S:0xbefffc1c] OM - Memory_alloc> Enter(0x14)
@0,488,292us: [+0 T:0x400176d8 S:0xbefffc1c] OM - Memory_alloc> return
(0x3f1c0)
@0,488,539us: [+0 T:0x400176d8 S:0xbefffc34] ti.sdo.ce.osal.Sem - Leaving
Sem_create> sem[0x3f1c0]
@0,488,785us: [+0 T:0x400176d8 S:0xbefffc34] ti.sdo.ce.osal.Sem -
Sem_create> count: 0
@0,489,006us: [+0 T:0x400176d8 S:0xbefffc1c] OM - Memory_alloc> Enter(0x14)
@0,489,223us: [+0 T:0x400176d8 S:0xbefffc1c] OM - Memory_alloc> return
(0x3f1d8)
@0,489,442us: [+0 T:0x400176d8 S:0xbefffc34] ti.sdo.ce.osal.Sem - Leaving
Sem_create> sem[0x3f1d8]
@0,489,678us: [+0 T:0x400176d8 S:0xbefffc1c] OM - Memory_alloc> Enter(0x18)
@0,489,890us: [+0 T:0x400176d8 S:0xbefffc1c] OM - Memory_alloc> return
(0x3f1f0)
@0,492,702us: [+0 T:0x400176d8 S:0xbefffc1c] OT - Thread_create> Enter
(fxn=0x141f4, attrs=0x0)
@0,493,568us: [+0 T:0x400176d8 S:0xbefffc04] OM - Memory_alloc> Enter(0x64)
@0,494,226us: [+0 T:0x400176d8 S:0xbefffc04] OM - Memory_alloc> return
(0x3f210)
@0,495,331us: [+0 T:0x400176d8 S:0xbefffc1c] OT - Thread_create> Exit
(task=0x3f210)
@0,495,994us: [+0 T:0x400176d8 S:0xbefffc54] OG - Global_atexit> enter
(fxn=0x13db4)
@0,496,679us: [+0 T:0x400176d8 S:0xbefffc54] OG - Global_atexit> enter
(fxn=0x15ea8)
@0,497,376us: [+0 T:0x400176d8 S:0xbefffc3c] ti.sdo.ce.alg - ALG_init> Enter
@0,498,019us: [+0 T:0x400176d8 S:0xbefffc2c] OG - Global_atexit> enter
(fxn=0x19fc4)
@0,498,685us: [+0 T:0x400176d8 S:0xbefffc5c] ti.sdo.ce.alg - ALG_init> Exit
@0,499,321us: [+0 T:0x400176d8 S:0xbefffc54] OG - Global_atexit> enter
(fxn=0x19a64)
@0,500,059us: [+0 T:0x400176d8 S:0xbefffc2c] OM - Memory_alloc> Enter(0x18)
@0,500,714us: [+0 T:0x400176d8 S:0xbefffc2c] OM - Memory_alloc> return
(0x3f3a8)
@0,501,372us: [+0 T:0x400176d8 S:0xbefffc54] OG - Global_atexit> enter
(fxn=0x1827c)
@0,502,127us: [+6 T:0x400176d8 S:0xbefffc54] CE - Engine_init> CE debugging
on (CE_DEBUG=3; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)
@0,502,895us: [+0 T:0x400176d8 S:0xbefffc44] OG - Global_atexit> enter
(fxn=0x10df4)
@0,503,559us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> Enter(0x18)
@0,504,211us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> return
(0x3f3e8)
@0,504,865us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> Enter(0x18)
@0,505,515us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> return
(0x3f408)
@0,506,280us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> Enter(0x18)
@0,507,115us: [+0 T:0x400176d8 S:0xbefffc24] OM - Memory_alloc> return
(0x3f428)
@0,507,871us: [+0 T:0x400176d8 S:0xbefffc54] CS - Server_init()
@0,508,478us: [+0 T:0x400176d8 S:0xbefffc54] CS - Server_init>
Global_useLinkArbiter = 0
@0,509,141us: [+0 T:0x400176d8 S:0xbefffc54] OG - Global_atexit> enter
(fxn=0xf944)
@0,509,932us: [+0 T:0x400176d8 S:0xbefffc64] OG - Global_atexit> enter
(fxn=0xc420)
CERuntime_init() performed ...
Encoder my_Engine_open inside CE... Calling Engine_open()...
@0,511,890us: [+0 T:0x400176d8 S:0xbefffc04] CE - Engine_open>
Enter('encode_decode', 0x0, 0xbefffca4)
@0,512,602us: [+0 T:0x400176d8 S:0xbefffbec] OM - Memory_alloc> Enter(0x2c)
@0,513,258us: [+0 T:0x400176d8 S:0xbefffbec] OM - Memory_alloc> return
(0x3f4a8)
@0,513,914us: [+0 T:0x400176d8 S:0xbefffc04] CE -
rserverOpen('./loopbackCombo.x64P'), count = 0
@0,514,647us: [+0 T:0x400176d8 S:0xbefffbcc] OP - Processor_create>
Enter(imageName='./loopbackCombo.x64P', linkCfg='(null)', attrs=0xbefffc50)
@0,515,560us: [+0 T:0x400176d8 S:0xbefffbb4] OM - Memory_alloc> Enter(0x24)
@0,516,213us: [+0 T:0x400176d8 S:0xbefffbb4] OM - Memory_alloc> return
(0x3f4d8)
@0,516,863us: [+0 T:0x400176d8 S:0xbefffbac] OP - doCmd> Enter (cmdId=1,
proc=0x3f4d8)
@0,517,535us: [+0 T:0x400176d8 S:0xbefffb9c] ti.sdo.ce.osal.Sem - Entered
Sem_post> sem[0x3f1c0]
@0,518,307us: [+0 T:0x400176d8 S:0xbefffbac] ti.sdo.ce.osal.Sem - Leaving
Sem_post> sem[0x3f1c0]
@0,518,992us: [+0 T:0x400176d8 S:0xbefffb8c] ti.sdo.ce.osal.Sem - Entered
Sem_pend> sem[0x3f1d8] timeout[0xffffffff]
@0,519,941us: [+1 T:0x40946b60 S:0x4094652c] OP - daemon> thread created.
@0,520,863us: [+0 T:0x40946b60 S:0x4094652c] OP - getCmd_d> Enter
(proc=0x409465a4)
@0,521,527us: [+0 T:0x40946b60 S:0x4094650c] ti.sdo.ce.osal.Sem - Entered
Sem_pend> sem[0x3f1c0] timeout[0xffffffff]
@0,522,263us: [+0 T:0x40946b60 S:0x4094650c] ti.sdo.ce.osal.Sem - Leaving
Sem_pend> sem[0x3f1c0] status[0]
@0,522,977us: [+0 T:0x40946b60 S:0x4094652c] OP - getCmd_d> Exit (result=1)
@0,523,628us: [+0 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
Enter(proc=0x3f4d8)
@0,524,304us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
Initializing DSP PROC...
@0,524,996us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d> Using
DspLink config data for entry #0 [server './loopbackCombo.x64P']
@0,525,781us: [+0 T:0x40946b60 S:0x40946514] OM - Memory_alloc> Enter(0xe0)
@0,526,441us: [+0 T:0x40946b60 S:0x40946514] OM - Memory_alloc> return
(0x3f500)
@0,527,133us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d> Adding
DSP segment #0 to Link configuration: name='DDR2', startAddress=0x8fa00000,
sizeInBytes=0x400000, shared=1
@0,528,017us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d> Adding
DSP segment #1 to Link configuration: name='DSPLINKMEM',
startAddress=0x8fe00000, sizeInBytes=0x100000, shared=1
@0,528,912us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d> Adding
DSP segment #2 to Link configuration: name='RESET_VECTOR',
startAddress=0x8ff00000, sizeInBytes=0x80, shared=0
@0,529,910us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d> Adding
DSP segment #3 to Link configuration: name='DDRALGHEAP',
startAddress=0x8ba00000, sizeInBytes=0x4000000, shared=0
@0,531,045us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
DOPOWERCONTROL was=0; now=0
@0,534,340us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
Attaching to DSP PROC...
@0,543,418us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
Opening MSGQ pool...
@0,544,485us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
Loading ./loopbackCombo.x64P on DSP (1 args)...
@0,677,462us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
Starting DSP PROC...
@0,709,992us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d>
Opening remote transport...
@0,711,100us: [+2 T:0x40946b60 S:0x4094652c] OP - Processor_create_d> return
(1)
@0,711,764us: [+0 T:0x40946b60 S:0x4094651c] ti.sdo.ce.osal.Sem - Entered
Sem_post> sem[0x3f1d8]
@0,712,502us: [+0 T:0x400176d8 S:0xbefffb8c] ti.sdo.ce.osal.Sem - Leaving
Sem_pend> sem[0x3f1d8] status[0]
@0,712,812us: [+0 T:0x400176d8 S:0xbefffbac] OP - doCmd> Exit (result=1)
@0,713,033us: [+0 T:0x400176d8 S:0xbefffbcc] OP - Processor_create> return
(0x3f4d8)
@0,713,263us: [+0 T:0x400176d8 S:0xbefffc04] CE -
rserverOpen('./loopbackCombo.x64P'): 0x3e588 done.
@0,713,518us: [+0 T:0x400176d8 S:0xbefffbec] OM - Memory_alloc> Enter(0x21)
@0,713,744us: [+0 T:0x400176d8 S:0xbefffbec] OM - Memory_alloc> return
(0x3f6b8)
@0,714,077us: [+0 T:0x400176d8 S:0xbefffbdc] OC - Comm_create>
Enter(queueName='encode_decode_0', queue=0x3f4b8, attrs=0x0)
@0,714,380us: [+0 T:0x400176d8 S:0xbefffbc4] OM - Memory_alloc> Enter(0x4)
@0,714,598us: [+0 T:0x400176d8 S:0xbefffbc4] OM - Memory_alloc> return
(0x3f6e0)
@0,715,098us: [+0 T:0x400176d8 S:0xbefffbdc] OC - Comm_create> return
(0x3f6e0)
@0,715,366us: [+0 T:0x400176d8 S:0xbefffbdc] OM - Memory_free>
Enter(0x3f6b8, 0x21)
@0,715,636us: [+0 T:0x400176d8 S:0xbefffbdc] OM - Memory_free> return (0x1)
@0,715,867us: [+0 T:0x400176d8 S:0xbefffbe4] OC - Comm_alloc>
Enter(poolId=0x0, msg=0x3f4c4, size=576)
@0,716,158us: [+0 T:0x400176d8 S:0xbefffbe4] OC - Comm_alloc>
msg=0x41155880, returning (0)
@0,716,405us: [+0 T:0x400176d8 S:0xbefffbc4] OC - Comm_locate>
Enter(queueName='rmsq', queue=0x3f4b4)
@0,718,569us: [+0 T:0x40946b60 S:0x4094652c] ti.sdo.ce.osal.Sem - Leaving
Sem_post> sem[0x3f1d8]
@0,719,455us: [+0 T:0x40946b60 S:0x4094652c] OP - getCmd_d> Enter
(proc=0x409465a4)
@0,720,182us: [+0 T:0x40946b60 S:0x4094650c] ti.sdo.ce.osal.Sem - Entered
Sem_pend> sem[0x3f1c0] timeout[0xffffffff]
--
Albert Burbea
Harishonim 8
Ramat Gan 52502, Israel
Tel/Fax + 972-3-7526016
Mobile: +972-52-3541842
--
Albert Burbea
Harishonim 8
Ramat Gan 52502, Israel
Tel/Fax + 972-3-7526016
Mobile: +972-52-3541842
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source