Hello ,

Here is description of the problem:

We are using eInfochip DVPB board with DM6446 ans software:

-        Monta Vista Linux
-       Codec Engine 2.10
-       DSPLINK 1.50
-       DSP/BIOS 5.32.01

We have downloaded application report SPRAAH9A  “Motion JPEG Demo on 
TMS320DM6446” from ti.com and corresponding source code.

First of all we got dsp\jpegencdecCombo.x64P from sources.
But after EngineOpen call, application generates next error:

DSP-side configuration mismatch/failure
0              -> success
Positive value -> DSP-side failure code.
(Uint32) -1    -> DSP-side component was not initialized.

    DRV configuration status    [0xffffffff]
    IPS configuration status    [0xffffffff]
    POOL configuration status   [0xffffffff]
    MPCS configuration status   [0xffffffff]
    MPLIST configuration status [0xffffffff]
    MQT configuration status    [0xffffffff]
    RINGIO configuration status [0xffffffff]

Then we decided to assemble our server from codecs in the source package -- 
dsp\jpegdec and dsp\jpegenc.
As result – after EngineOpen call we get errors that are logged in log2.txt 
(attached). Memory map was carefully verified.
.cfg server file is also attached.
  

-- 
Best regards,
 Agat-system                          mailto:[EMAIL PROTECTED]
-> start processing
@0x00089153:[T:0x00004000] OG - Global_atexit> enter (fxn=0xf324)
@0x000893ff:[T:0x00004000] OM - Memory_alloc> Enter(0x18)
@0x0008952a:[T:0x00004000] OM - Memory_alloc> return (0x4c198)
@0x00089789:[T:0x00004000] OG - Global_atexit> enter (fxn=0x1f170)
@0x000898f7:[T:0x00004000] OM - Memory_alloc> Enter(0x18)
@0x000899e9:[T:0x00004000] OM - Memory_alloc> return (0x4c1e8)
@0x00089aaa:[T:0x00004000] OG - Global_atexit> enter (fxn=0x1bf58)
@0x00089bce:[T:0x00004000] OG - Global_atexit> enter (fxn=0x2038c)
@0x00089d41:[T:0x00004000] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0x00089e1b:[T:0x00004000] OM - Memory_alloc> Enter(0x14)
@0x00089ee6:[T:0x00004000] OM - Memory_alloc> return (0x4c268)
@0x00089fdc:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x4c268]
@0x0008a0a8:[T:0x00004000] ti.sdo.ce.osal.Sem - Sem_create> count: 0
@0x0008a15d:[T:0x00004000] OM - Memory_alloc> Enter(0x14)
@0x0008a221:[T:0x00004000] OM - Memory_alloc> return (0x4c280)
@0x0008a2ea:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x4c280]
@0x0008a3d8:[T:0x00004000] OM - Memory_alloc> Enter(0x18)
@0x0008a4ba:[T:0x00004000] OM - Memory_alloc> return (0x4c298)
@0x0008a57d:[T:0x00004000] OT - Thread_create> Enter (fxn=0x1b8ac, attrs=0x0)
@0x0008a63d:[T:0x00004000] OM - Memory_alloc> Enter(0x64)
@0x0008a714:[T:0x00004000] OM - Memory_alloc> return (0x4c2b8)
@0x0008adeb:[T:0x00004000] OT - Thread_create> Exit (task=0x4c2b8)
@0x0008af4b:[T:0x00004000] OG - Global_atexit> enter (fxn=0x1a00c)
@0x0008b08e:[T:0x00004000] OG - Global_atexit> enter (fxn=0x1d17c)
@0x0008b1fc:[T:0x00004000] ti.sdo.ce.alg - ALG_init> Enter
@0x0008b2c9:[T:0x00004000] OG - Global_atexit> enter (fxn=0x1969c)
@0x0008b3a7:[T:0x00004000] ti.sdo.ce.alg - ALG_init> Exit
@0x0008b469:[T:0x00004000] OG - Global_atexit> enter (fxn=0x1913c)
@0x0008b593:[T:0x00004000] OM - Memory_alloc> Enter(0x18)
@0x0008b67d:[T:0x00004000] OM - Memory_alloc> return (0x4e3f0)
@0x0008b746:[T:0x00004000] OG - Global_atexit> enter (fxn=0x20610)
@0x0008d57e:[T:0x00004000] OG - Global_atexit> enter (fxn=0x16808)
@0x0008d68d:[T:0x00004000] OM - Memory_alloc> Enter(0x18)
@0x0008d778:[T:0x00004000] OM - Memory_alloc> return (0x4e450)
@0x0008d844:[T:0x00004000] OM - Memory_alloc> Enter(0x18)
@0x0008d925:[T:0x00004000] OM - Memory_alloc> return (0x4e470)
@0x0008d9ea:[T:0x00004000] OM - Memory_alloc> Enter(0x18)
@0x0008dab6:[T:0x00004000] OM - Memory_alloc> return (0x4e490)
@0x0008dc0f:[T:0x00004000] CS - Server_init()
@0x0008dcec:[T:0x00004000] CS - Server_init> Global_useLinkArbiter = 0
@0x0008ddb3:[T:0x00004000] OG - Global_atexit> enter (fxn=0x13144)
@0x0008df60:[T:0x00004000] OG - Global_atexit> enter (fxn=0xf6bc)
@0x0008e49f:[T:0x00004002] OP - daemon> thread created.
@0x0008e5a5:[T:0x00004002] OP - getCmd_d> Enter (proc=0xbe7ffaec)
@0x0008e675:[T:0x00004002] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x4c268] 
timeout[0xffffffff]
Display Device: Standard NTSC selected
@0x0011615d:[T:0x00004000] OM - Memory_contigAlloc> Enter(size=1036800, 
align=-1, cached=FALSE, heap=FALSE)
@0x0011630e:[T:0x00004000] OM - Memory_contigAlloc> CMEM_alloc(1036800) = 
0x40587000.
@0x001163df:[T:0x00004000] OM - Memory_contigAlloc> CMEM_getPhys(0x40587000) = 
0x844ec000.
@0x00116479:[T:0x00004000] OM - Memory__addContigBuf> 
Enter(virtAddr=0x40587000, size=1036800, physAddr=0x844ec000)
@0x0011650d:[T:0x00004000] OM - Memory__addContigBuf> creating new contigBuf 
object
@0x0011658e:[T:0x00004000] OM - Memory_alloc> Enter(0x10)
@0x00116645:[T:0x00004000] OM - Memory_alloc> return (0x4e5c0)
@0x001166e2:[T:0x00004000] OM - Memory__addContigBuf> returning: 
cb->phys=0x844ec000, cb->size=1036800, cb->virt=0x40587000
@0x00116779:[T:0x00004000] OM - Memory_contigAlloc> return (0x40587000)
@0x00116804:[T:0x00004000] CE - Engine_open> Enter('jpegencdec', 0x0, 
0xbefffe48)
@0x00116893:[T:0x00004000] OM - Memory_alloc> Enter(0x2c)
@0x00116927:[T:0x00004000] OM - Memory_alloc> return (0x4e5d8)
@0x001169ed:[T:0x00004000] CE - rserverOpen('./all.x64P'), count = 0
@0x00116a88:[T:0x00004000] OP - Processor_create> Enter(imageName='./all.x64P', 
linkCfg='(null)', attrs=0xbefffda8)
@0x00116e18:[T:0x00004000] OM - Memory_alloc> Enter(0x24)
@0x00116ef1:[T:0x00004000] OM - Memory_alloc> return (0x4e608)
@0x00116f8f:[T:0x00004000] OP - doCmd> Enter (cmdId=1, proc=0x4e608)
@0x0011701e:[T:0x00004000] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x4c268]
@0x00117191:[T:0x00004002] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x4c268] 
status[0]
@0x00117258:[T:0x00004002] OP - getCmd_d> Exit (result=1)
@0x00117325:[T:0x00004002] OP - Processor_create_d> Enter(proc=0x4e608)
@0x001173c3:[T:0x00004002] OP - Processor_create_d> Initializing DSP PROC...
@0x0011747e:[T:0x00004002] OP - Processor_create_d> Using DspLink config data 
for entry #0 [server './all.x64P']
@0x00117521:[T:0x00004002] OM - Memory_alloc> Enter(0xe0)
@0x001175c4:[T:0x00004002] OM - Memory_alloc> return (0x4e630)
@0x001176a0:[T:0x00004002] OP - Processor_create_d> Adding DSP segment #0 to 
Link configuration: name='DDR2', startAddress=0x87400000, sizeInBytes=0x800000, 
shared=1
@0x00117761:[T:0x00004002] OP - Processor_create_d> Adding DSP segment #1 to 
Link configuration: name='DSPLINKMEM', startAddress=0x87c00000, 
sizeInBytes=0x100000, shared=1
@0x0011780d:[T:0x00004002] OP - Processor_create_d> Adding DSP segment #2 to 
Link configuration: name='RESET_VECTOR', startAddress=0x87d00000, 
sizeInBytes=0x80, shared=0
@0x001178af:[T:0x00004002] OP - Processor_create_d> Adding DSP segment #3 to 
Link configuration: name='DDRALGHEAP', startAddress=0x84600000, 
sizeInBytes=0x2e00000, shared=0
@0x0011794e:[T:0x00004002] OP - Processor_create_d> DOPOWERCONTROL was=0; now=0
@0x00118c50:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x4c268]
@0x00118d28:[T:0x00004000] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x4c280] 
timeout[0xffffffff]
@0x00119d72:[T:0x00004002] OP - Processor_create_d> Attaching to DSP PROC...
@0x0011d75a:[T:0x00004002] OP - Processor_create_d> Opening MSGQ pool...
@0x0011daa9:[T:0x00004002] OP - Processor_create_d> Loading ./all.x64P on DSP 
(1 args)...
@0x0015011f:[T:0x00004002] OP - Processor_create_d> Loading and starting DSP 
server './all.x64P' FAILED, status=[0x80008013] (look for error code 'DSP_EBASE 
+ 0x13' in dsplink*/packages/dsplink/gpp/inc/errbase.h) This error code 
typically indicates a problem with the DSP memory map, i.e. it is different 
from what the Arm side specified; check the DSP server's memory map in your Arm 
application .cfg script, and make sure you have set 'armDspLinkConfig' 
configuration variable correctly (for details, refer to the documentation for 
ti.sdo.ce.Engine.xdc). Also, verify that the DSPLINKMEM segment on the DSP is 
large enough. 
@0x0015022b:[T:0x00004002] OP - Processor_delete_d> Enter (proc=0x4e608)
@0x001502c6:[T:0x00004002] OP - Processor_delete_d> Closing remote transport...
@0x001503b3:[T:0x00004002] OP - Processor_delete_d> Closing remote transport 
FAILED, status=0x80008000.
@0x0015045d:[T:0x00004002] OP - Processor_delete_d> Stopping DSP...
@0x00150514:[T:0x00004002] OP - Processor_delete_d> Stopping DSP FAILED, 
status=0x80008000
@0x001505af:[T:0x00004002] OP - Processor_delete_d> Closing pool...
@0x0015076b:[T:0x00004002] OP - Processor_delete_d> Detaching from DSP...
@0x00153944:[T:0x00004002] OP - Processor_delete_d> Destroying DSP... (object, 
that is)
@0x00153f95:[T:0x00004002] OM - Memory_free> Enter(0x4e630, 0x0)
@0x00154072:[T:0x00004002] OM - Memory_free> return (0x1)
@0x0015410d:[T:0x00004002] OP - Processor_delete_d> return
@0x00154197:[T:0x00004002] OP - Processor_create_d> return (0)
@0x00154222:[T:0x00004002] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x4c280]
@0x0015430f:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x4c280] 
status[0]
@0x001543c4:[T:0x00004000] OP - doCmd> Exit (result=2)
@0x00154451:[T:0x00004000] OP - Processor_delete> Enter(proc=0x4e608)
@0x001544da:[T:0x00004000] OP - Processor_delete(0x4e608) freeing object ...
@0x0015455d:[T:0x00004000] OM - Memory_free> Enter(0x4e608, 0x24)
@0x001545f0:[T:0x00004000] OM - Memory_free> return (0x1)
@0x00154675:[T:0x00004000] OP - Processor_delete> return.
@0x00154739:[T:0x00004000] CE - rserverOpen: can't start './all.x64P'; 
Processor_create failed
@0x001547d2:[T:0x00004000] CE - rserverOpen('./all.x64P'): 0x0 done.
@0x00154898:[T:0x00004000] CE - Engine_close(0x4e5d8)
@0x00154934:[T:0x00004000] OM - Memory_free> Enter(0x4e5d8, 0x2c)
@0x001549ca:[T:0x00004000] OM - Memory_free> return (0x1)
@0x00154a50:[T:0x00004000] CE - Engine_open> return(0)
@0x00154c76:[T:0x00004000] OG - Global_exit> enter
@0x00154d49:[T:0x00004000] OG - Global_exit> calling function *0xf6bc()...
@0x00154eb7:[T:0x00004000] OG - Global_exit> calling function *0x13144()...
@0x00154fac:[T:0x00004000] OG - Global_exit> calling function *0x16808()...
@0x001550af:[T:0x00004000] OM - Memory_free> Enter(0x4e450, 0x18)
@0x001551a5:[T:0x00004000] OM - Memory_free> return (0x1)
@0x0015526b:[T:0x00004000] OM - Memory_free> Enter(0x4e470, 0x18)
@0x00155339:[T:0x00004000] OM - Memory_free> return (0x1)
@0x0015540d:[T:0x00004000] OM - Memory_free> Enter(0x4e490, 0x18)
@0x001554d3:[T:0x00004000] OM - Memory_free> return (0x1)
@0x0015559d:[T:0x00004000] OG - Global_exit> calling function *0x20610()...
@0x00155678:[T:0x00004000] OG - Global_exit> calling function *0x1913c()...
@0x00155740:[T:0x00004000] OG - Global_exit> calling function *0x1969c()...
@0x001557f8:[T:0x00004000] OG - Global_exit> calling function *0x1d17c()...
@0x0015588e:[T:0x00004000] OG - Global_exit> calling function *0x1a00c()...
@0x0015591c:[T:0x00004000] OP - doCmd> Enter (cmdId=3, proc=0x0)
@0x001559aa:[T:0x00004000] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x4c268]
@0x00155a3d:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x4c268]
@0x00155ac6:[T:0x00004000] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x4c280] 
timeout[0xffffffff]
@0x00155b85:[T:0x00004002] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x4c280]
@0x00155c30:[T:0x00004002] OP - getCmd_d> Enter (proc=0xbe7ffaec)
@0x00155cc6:[T:0x00004002] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x4c268] 
timeout[0xffffffff]
@0x00155d5f:[T:0x00004002] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x4c268] 
status[0]
@0x00155df3:[T:0x00004002] OP - getCmd_d> Exit (result=3)
@0x00155e81:[T:0x00004002] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x4c280]
@0x00155f3a:[T:0x00004002] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x4c280]
@0x00156750:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x4c280] 
status[0]
@0x0015682b:[T:0x00004000] OP - doCmd> Exit (result=1)
@0x001568c2:[T:0x00004000] OT - Thread_delete> Enter (task=0x4c2b8)
@0x00156991:[T:0x00004000] OT - Thread_delete> pthread_cancel (0x3)
@0x00156a60:[T:0x00004000] OT - Thread_delete> pthread_join (0x0)
@0x00156fc3:[T:0x00004000] OM - Memory_free> Enter(0x4c2b8, 0x64)
@0x001573b3:[T:0x00004000] OM - Memory_free> return (0x1)
@0x00157454:[T:0x00004000] OT - Thread_delete> Exit (task=0x4c2b8)
@0x00157940:[T:0x00004000] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x4c268]
@0x00157a2b:[T:0x00004000] OM - Memory_free> Enter(0x4c268, 0x14)
@0x00157add:[T:0x00004000] OM - Memory_free> return (0x1)
@0x00157b6f:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_delete>
@0x00157bf8:[T:0x00004000] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x4c280]
@0x00157c85:[T:0x00004000] OM - Memory_free> Enter(0x4c280, 0x14)
@0x00157d1a:[T:0x00004000] OM - Memory_free> return (0x1)
@0x00157d9d:[T:0x00004000] ti.sdo.ce.osal.Sem - Leaving Sem_delete>
@0x00157e20:[T:0x00004000] OM - Memory_free> Enter(0x4c298, 0x18)
@0x00157eb0:[T:0x00004000] OM - Memory_free> return (0x1)
@0x00157f3b:[T:0x00004000] OG - Global_exit> calling function *0x2038c()...
@0x001580d3:[T:0x00004000] OG - Global_exit> calling function *0x1bf58()...
@0x00158196:[T:0x00004000] OM - Memory_free> Enter(0x4c1e8, 0x18)
@0x00158234:[T:0x00004000] OM - Memory_free> return (0x1)
@0x001582c9:[T:0x00004000] OG - Global_exit> calling function *0x1f170()...
@0x00158363:[T:0x00004000] OM - Memory_free> Enter(0x4c198, 0x18)
@0x001583f7:[T:0x00004000] OM - Memory_free> return (0x1)
@0x00158484:[T:0x00004000] OG - Global_exit> calling function *0xf324()...
@0x00158514:[T:0x00004000] OG - Global_exit> calling function *0x217a4()...
@0x001585e7:[T:0x00004000] OG - Global_exit> calling function *0x22014()...
@0x00158686:[T:0x00004000] OG - Global_exit> calling function *0x208e8()...

Attachment: all.cfg
Description: Binary data

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to