Hello,
I'm experiencing rather peculiar problems with the DVEVM's demos.
Currently, only the 'encode' demo is functioning at all, and only in
'mpeg4' mode. That is, running the encode demo with test.264 results in
an EVM hang. So do all other demos - 'encodedecode' and 'decode' both
hang the system completely. I'm running version 1_10 of the DVEVM, and
tried to use both the original DVEVM kernel, and the patched kernel
(level 28-1) available from the update site.
Here's the output when I run the debug version of the 'encode' demo:
$ CE_TRACE="*=01234567" TRACEUTIL_DSP0TRACEMASK="*=01234567"
TRACEUTIL_VERBOSE=1 ./encoded -v test.264 -k -t 7
Encode Debug: NTSC selected
Encode demo started.
TraceUtil> Relevant environment variables:
TraceUtil> CE_TRACE = *=01234567
TraceUtil> CE_TRACEFILE = undefined
TraceUtil> TRACEUTIL_DSP0TRACEFILE = undefined
TraceUtil> TRACEUTIL_DSP0BIOSFILE = undefined
TraceUtil> TRACEUTIL_DSP0TRACEMASK = *=01234567
TraceUtil> TRACEUTIL_REFRESHPERIOD = undefined
TraceUtil> CE_TRACEFILEFLAGS = undefined
TraceUtil> TRACEUTIL_CMDPIPE = undefined
TraceUtil> TRACEUTIL_VERBOSE = 1
TraceUtil> Local trace file name: trace/cearmlog.txt
TraceUtil> Warning: Failed to open local log file "trace/cearmlog.txt",
using st
dout
TraceUtil> DSP CE trace file name: trace/cedsp0log.txt
TraceUtil> Warning: Failed to open dsp CE log file
"trace/cedsp0log.txt", using
stdout
TraceUtil> DSP/BIOS log file name: trace/bioslog.dat
TraceUtil> Warning: Failed to open dsp/bios log file
"trace/bioslog.dat", disabl
ing log
TraceUtil> Command pipe name: /tmp/cecmdpipe
TraceUtil> Arm trace mask: "*=01234567"
TraceUtil> DSP trace mask: "*=01234567"
Encode Debug: Codec Engine initialized
TraceUtil> DSP Trace refresh period: 100 ms
@0x00037267:[T:0x40ac9b60] OP - daemon> thread created.
@0x0003742a:[T:0x412c9b60] CE - Engine_open('encode', 0x0, 0x412c9588)
@0x00037591:[T:0x412c9b60] CE - rserverOpen('./encodeCombo.x64P'), count
= 0
@0x00037668:[T:0x412c9b60] OP - Process_create>
Enter(imageName='./encodeCombo.x
64P', attrs=0x412c9508)
@0x0003db7c:[T:0x40ac9b60] OP - Process_create_d> Enter(proc=0x352b8)
@0x0003dc48:[T:0x40ac9b60] OP - Process_create_d> Initializing DSP
PROC...
@0x0003e11c:[T:0x40ac9b60] OP - Process_create_d> Attaching to DSP
PROC...
@0x0003e510:[T:0x40ac9b60] OP - Process_create_d> Opening MSGQ pool...
@0x0003e78d:[T:0x40ac9b60] OP - Process_create_d> Loading
./encodeCombo.x64P on
DSP (2 args)...
@0x000948e0:[T:0x40ac9b60] OP - Process_create_d> Starting DSP PROC...
@0x0009541e:[T:0x40ac9b60] OP - Process_create_d> Opening remote
transport...
@0x000955fd:[T:0x40ac9b60] OP - Process_create_d> return (1)
@0x00095722:[T:0x412c9b60] OP - Process_create> return (0x352b8)
@0x000957d3:[T:0x412c9b60] CE - rserverOpen('./encodeCombo.x64P'):
0x32914 done.
@0x0009587d:[T:0x412c9b60] OC - Comm_create> Enter(queueName='encode',
msgqQueue
=0x35298, attrs=0x0)
@0x00095a1f:[T:0x412c9b60] OC - Comm_create> return (0x352f0)
@0x00095aee:[T:0x412c9b60] OC - Comm_alloc> Enter(poolId=0x0,
msg=0x352a4, size=
576)
@0x00095bea:[T:0x412c9b60] OC - Comm_alloc> return (0)
@0x00095c7c:[T:0x412c9b60] OC - Comm_locate> Enter(queueName='rmsq',
msgqQueue=0
x35294)
@0x000975ad:[T:0x412c9b60] OC - Comm_locate> return (0)
@0x00097673:[T:0x412c9b60] CE - checkServer(0x35288)
@0x0009773d:[T:0x412c9b60] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cb900)
@0x00097818:[T:0x412c9b60] OC - Comm_put> return (0)
@0x000978f4:[T:0x412c9b60] OC - Comm_get> Enter(msgqQueue=0x10000,
msg=0x412c950
0, timeout=-1)
@0x000979c5:[T:0x412c9b60] OC - Comm_get> return (0)
@0x00097a60:[T:0x412c9b60] CE - Engine_setTrace> Enter(engine=0x35288,
mask='*=0
1234567')
@0x00097b58:[T:0x412c9b60] CE - Engine_setTrace> Requesting DSP set
trace ...
@0x00097c03:[T:0x412c9b60] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cb900)
@0x00097ce9:[T:0x412c9b60] OC - Comm_put> return (0)
@0x00097dbe:[T:0x412c9b60] OC - Comm_get> Enter(msgqQueue=0x10000,
msg=0x412c959
4, timeout=-1)
@0x00097e8b:[T:0x412c9b60] OC - Comm_get> return (0)
@0x00097f17:[T:0x412c9b60] CE - Engine_setTrace> return(0)
@0x0009824f:[T:0x412c9b60] CE - Engine_fwriteTrace(0x35288, '[DSP] ',
0x401ff798
)
@0x0009833c:[T:0x412c9b60] CE - Engine_fwriteTrace(): requesting DSP
trace @0x98
32c ...
@0x000983e5:[T:0x412c9b60] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cb900)
@0x000984b3:[T:0x412c9b60] OC - Comm_put> return (0)
@0x0009858b:[T:0x412c9b60] OC - Comm_get> Enter(msgqQueue=0x10000,
msg=0x412c959
0, timeout=-1)
@0x0009865c:[T:0x412c9b60] OC - Comm_get> return (0)
@0x000986ed:[T:0x412c9b60] CE - Engine_fwriteTrace> got 670 chars
@0x9832c (0 st
ill avail, max: 262120, lost: 0)
[DSP] @0x00000352:[T:0x8b8040cc] LS - server()
[DSP] @0x0000037d:[T:0x8b8040cc] OM - Memory_alloc> Enter(size=0x24)
[DSP] @0x000003a0:[T:0x8b8040cc] OM - Memory_alloc> return (0x8fa418a8)
[DSP] @0x000003c4:[T:0x8b8040cc] LS - server: serverMsgQueue =
0x00000001
[DSP] @0x000003e5:[T:0x8b8040cc] LS - server: waiting for cmd
[DSP] @0x000051a5:[T:0x8b80003c] CR - processRmsCmd(0x8fe01928, 4056):
cmd = 6
[DSP] @0x00005c4e:[T:0x8b80003c] CR - processRmsCmd(0x8fe01928, 4056):
cmd = 8
[DSP] @0x00005c7d:[T:0x8b80003c] OG - Global_setSpecialTrace>
enter(mask='*=0123
4567')
[DSP] @0x00006d88:[T:0x8b80003c] CR - processRmsCmd(0x8fe01928, 4056):
cmd = 5
[DSP] @0x00006db1:[T:0x8b80003c] CR - remote time = 0x0, trace buffer
size = 403
2
Encode Debug: Logging initialized
Encode Debug: Rendezvous opened for 4 threads
Encode Debug: Display thread created
Encode Debug: Writer thread created
Encode Debug: captureWidth = 720, captureHeight = 480
Encode Debug: Display buffer 0 mapped to address 0x4333b000
Encode Debug: Display buffer 1 mapped to address 0x433e3c00
Encode Debug: Display buffer 2 mapped to address 0x4348c800
Encode Debug: Video display device initialized.
Encode Debug: Set the capture input to id 0
Encode Debug: OSD successfully initialized
@0x00102951:[T:0x412c9b60] CE - Engine_fwriteTrace(0x35288, '[DSP] ',
0x401ff798
)
Encode Debug: Video file successfully opened
Encode Debug: OSD transparency initialized
@0x00102a38:[T:0x412c9b60] CE - Engine_fwriteTrace(): requesting DSP
trace @0x10
2a28 ...
@0x001034d9:[T:0x412c9b60] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cb900)
@0x001035c7:[T:0x412c9b60] OC - Comm_put> return (0)
@0x001036a5:[T:0x412c9b60] OC - Comm_get> Enter(msgqQueue=0x10000,
msg=0x412c959
0, timeout=-1)
@0x00103777:[T:0x412c9b60] OC - Comm_get> return (0)
@0x001038e3:[T:0x412c9b60] CE - Engine_fwriteTrace> got 149 chars
@0x102a28 (0 s
till avail, max: 262120, lost: 0)
[DSP] @0x000f3fbd:[T:0x8b80003c] CR - processRmsCmd(0x8fe01928, 4056):
cmd = 5
[DSP] @0x000f3fe9:[T:0x8b80003c] CR - remote time = 0x0, trace buffer
size = 403
2
@0x00103b78:[T:0x402c8568] CE - Engine_open('encode', 0x0, 0xbefffa88)
@0x00103c45:[T:0x402c8568] CE - rserverOpen('./encodeCombo.x64P'), count
= 1
@0x00103ce7:[T:0x402c8568] CE - rserverOpen('./encodeCombo.x64P'):
0x32914 done.
@0x00103d7c:[T:0x402c8568] OC - Comm_create> Enter(queueName='encode',
msgqQueue
=0x35730, attrs=0x0)
@0x0010401d:[T:0x402c8568] OC - Comm_create> return (0x35750)
@0x001040e2:[T:0x402c8568] OC - Comm_alloc> Enter(poolId=0x0,
msg=0x3573c, size=
576)
@0x001041ae:[T:0x402c8568] OC - Comm_alloc> return (0)
@0x0010424e:[T:0x402c8568] OC - Comm_locate> Enter(queueName='rmsq',
msgqQueue=0
x3572c)
@0x00106366:[T:0x402c8568] OC - Comm_locate> return (0)
@0x0010642e:[T:0x402c8568] CE - checkServer(0x35720)
@0x001064cd:[T:0x402c8568] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cc900)
@0x001065ae:[T:0x402c8568] OC - Comm_put> return (0)
@0x00106699:[T:0x402c8568] OC - Comm_get> Enter(msgqQueue=0x10001,
msg=0xbefffa0
0, timeout=-1)
@0x00106760:[T:0x402c8568] OC - Comm_get> return (0)
Encode Debug: Codec Engine opened in control thread
Encode Debug: Checking video standard
Encode Debug: NTSC camera detected
Encode Debug: Setting capture video format
Encode Debug: Setting capture cropping (720x480)
Capturing 720x480 video (cropped to 720x480)
Encode Debug: 3 capture buffers were successfully allocated.
Encode Debug: Capture buffer 0 mapped to address 0x43688000
Encode Debug: Capture buffer 1 mapped to address 0x43760000
Encode Debug: Capture buffer 2 mapped to address 0x43838000
Encode Debug: Video capture initialized and started
@0x001114dc:[T:0x4233ab60] CE - Engine_open('encode', 0x0, 0x4233a448)
@0x001115a5:[T:0x4233ab60] CE - rserverOpen('./encodeCombo.x64P'), count
= 2
@0x00111644:[T:0x4233ab60] CE - rserverOpen('./encodeCombo.x64P'):
0x32914 done.
@0x001116dd:[T:0x4233ab60] OC - Comm_create> Enter(queueName='encode',
msgqQueue
=0x35790, attrs=0x0)
@0x0011189b:[T:0x4233ab60] OC - Comm_create> return (0x357b0)
@0x00111962:[T:0x4233ab60] OC - Comm_alloc> Enter(poolId=0x0,
msg=0x3579c, size=
576)
@0x00111a2c:[T:0x4233ab60] OC - Comm_alloc> return (0)
@0x00111ab7:[T:0x4233ab60] OC - Comm_locate> Enter(queueName='rmsq',
msgqQueue=0
x3578c)
@0x00113358:[T:0x4233ab60] OC - Comm_locate> return (0)
@0x0011343d:[T:0x4233ab60] CE - checkServer(0x35780)
@0x001134e0:[T:0x4233ab60] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cd900)
@0x001135b0:[T:0x4233ab60] OC - Comm_put> return (0)
@0x00113682:[T:0x4233ab60] OC - Comm_get> Enter(msgqQueue=0x10002,
msg=0x4233a3c
0, timeout=-1)
@0x0011374c:[T:0x4233ab60] OC - Comm_get> return (0)
Encode Debug: Codec Engine opened in video thread
@0x001138e3:[T:0x4233ab60] ti.sdo.ce.video.VIDENC - VIDENC_create> Enter
(server
=0x35780, name='h264enc', params=0x4233a370)
@0x00113a00:[T:0x4233ab60] CV - VISA_create(0x35780, 'h264enc',
0x4233a370, 0x82
8, 'ti.sdo.ce.video.IVIDENC')
@0x00113adb:[T:0x4233ab60] CE - Engine_createNode(0x35780, 'h264enc',
828, 0x423
3a370)
@0x00113b91:[T:0x4233ab60] OC - Comm_create>
Enter(queueName='gppfromnode', msgq
Queue=0x35838, attrs=0x0)
@0x00113d36:[T:0x4233ab60] OC - Comm_create> return (0x35858)
@0x00113e0a:[T:0x4233ab60] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cd900)
@0x00113ef7:[T:0x4233ab60] OC - Comm_put> return (0)
@0x00113f89:[T:0x4233ab60] OC - Comm_get> Enter(msgqQueue=0x10002,
msg=0x4233a29
c, timeout=-1)
@0x00116e65:[T:0x4233ab60] OC - Comm_get> return (0)
@0x00116f19:[T:0x4233ab60] OC - Comm_delete> Enter (msgq=0x35858)
@0x00117113:[T:0x4233ab60] OC - Comm_delete> return
@0x001171d1:[T:0x4233ab60] CE - Engine_createNode> Remote node creation
FAILED (
0x80008008).
@0x0011727b:[T:0x4233ab60] CE - Engine_createNode> Returning 0x0
@0x001172ff:[T:0x4233ab60] CV - VISA_create> FAILED to create remote
codec (0x8)
.
@0x0011738f:[T:0x4233ab60] CV - VISA_delete(0x35810)
@0x00117403:[T:0x4233ab60] CV - VISA_delete> deleting codec
(localQueue=0xffff,
remoteQueue=0xffff)
@0x0016a695:[T:0x4233ab60] ti.sdo.ce.video.VIDENC - VIDENC_create>
return (0x0)
Encode Debug: MSP430 library initialized
Encode Error: Failed to open video encode algorithm
@0x0016a8ca:[T:0x4233ab60] CE - Engine_close(0x35780)
@0x0016a96d:[T:0x4233ab60] OC - Comm_free> Enter (msg=0x412cd900)
@0x0016aa21:[T:0x4233ab60] OC - Comm_free> return (0)
@0x0016aaaa:[T:0x4233ab60] OC - Comm_delete> Enter (msgq=0x357b0)
@0x0016ac5c:[T:0x4233ab60] OC - Comm_delete> return
@0x0016ad13:[T:0x4233ab60] OC - Comm_release> Enter(msgqQueue=0x0)
@0x0016adbb:[T:0x4233ab60] OC - Comm_release> return (0)
@0x0016ae48:[T:0x4233ab60] CE - rserverClose(0x32914), count = 3
@0x0016aed0:[T:0x4233ab60] CE - rserverClose(0x32914) done.
@0x0016afb0:[T:0x412c9b60] CE - Engine_fwriteTrace(0x35288, '[DSP] ',
0x401ff798
)
Encode Debug: Entering writer main loop.
@0x0016dd74:[T:0x412c9b60] CE - Engine_fwriteTrace(): requesting DSP
trace @0x16
b5f9 ...
@0x0016de6c:[T:0x412c9b60] OC - Comm_put> Enter(msgqQueue=0x0,
msg=0x412cb900)
@0x0016df4d:[T:0x412c9b60] OC - Comm_put> return (0)
@0x0016dfdd:[T:0x412c9b60] OC - Comm_get> Enter(msgqQueue=0x10000,
msg=0x412c959
0, timeout=-1)
Encode Debug: Entering display main loop.
Encode Debug: User interface created
Command [ 'help' for usage ] > Encode Debug: Entering control main loop.
@0x00229b7c:[T:0x402c8568] CE - Engine_close(0x35720)
@0x00229c3d:[T:0x402c8568] OC - Comm_free> Enter (msg=0x412cc900)
@0x00229d44:[T:0x402c8568] OC - Comm_free> return (0)
@0x00229de1:[T:0x402c8568] OC - Comm_delete> Enter (msgq=0x35750)
@0x00229f81:[T:0x402c8568] OC - Comm_delete> return
@0x0022a047:[T:0x402c8568] OC - Comm_release> Enter(msgqQueue=0x0)
@0x0022a0eb:[T:0x402c8568] OC - Comm_release> return (0)
@0x0022a176:[T:0x402c8568] CE - rserverClose(0x32914), count = 2
@0x0022a1fc:[T:0x402c8568] CE - rserverClose(0x32914) done.
Like stated before, following this is a complete EVM freeze.
Regards,
Avishai Hendel
Software Engineer
MangoDSP Ltd.
E-mail: [EMAIL PROTECTED]
Work: +972 2 588 5041
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source