Sam, I suspect that RingIO may be disabled by default in the Codec Engine configuration for DSPLink. Can you check the /dsplink/config/CURRENTCFG.MK? This file has the information about enabled components. If USE_RINGIO is 0, then it means that RingIO is disabled, which is why you may be seeing issues in RingIO sample only. If you want to use RingIO, you need to enable it for DSPLink build.
Regards, Mugdha -----Original Message----- From: Sam Hague (shague) [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2008 4:00 AM To: Griffis, Brad; Kamoolkar, Mugdha; [email protected] Subject: RE: ringiogpp sample app error Brad, yes, I am using createFromServer. Below is the output from them .mpa file for the all.x64P, which also has the same failure results from the tests. Sam map ************************************************************************ ****** TMS320C6x COFF Linker Unix v6.0.16 ************************************************************************ ****** >> Linked Fri Mar 14 20:12:14 2008 OUTPUT FILE NAME: <evmDM6446/all.x64P> ENTRY POINT SYMBOL: "_c_int00" address: 86ea3820 MEMORY CONFIGURATION name origin length used unused attr fill ---------------------- -------- --------- -------- -------- ---- -------- ARM_RAM 10008000 00004000 00000000 00004000 RWIX CACHE_L2 11800000 00010000 00000000 00010000 RWIX CACHE_L1P 11e08000 00008000 00000000 00008000 RWIX L1DSRAM 11f04000 00010000 00010000 00000000 RWIX CACHE_L1D 11f14000 00004000 00000000 00004000 RWIX DDRALGHEAP 84800000 02600000 02600000 00000000 RWIX DDR2 86e00000 01100000 000a5a1a 0105a5e6 RWIX RESET_VECTOR 87f00000 00000200 00000000 00000200 RWIX DSPLINKMEM 87f00200 000ffe00 00000000 000ffe00 RWIX Sam Hague IPCBU Cisco Systems, Inc. 7025 Kit Creek Road RTP, NC 27709 Phone: 919 476-2794 Fax: 919 392-7065 [EMAIL PROTECTED] www.cisco.com -----Original Message----- From: Griffis, Brad [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2008 11:02 AM To: Sam Hague (shague); Kamoolkar, Mugdha; [email protected] Subject: RE: ringiogpp sample app error Are you using Enge.createFromServer() in your app.cfg file? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Sam Hague (shague) > Sent: Saturday, March 15, 2008 8:50 AM > To: Kamoolkar, Mugdha; [email protected] > Subject: RE: ringiogpp sample app error > > Mugdha, > > below is what my CFG_.c file looks like. It seems that the memEntry0 is > correct. Below is also what I have in the server.tcf file. I have gone > through the "Changing the memory map" wiki a million times and can't see > anything else that is missing. > > Thanks, Sam > > STATIC CONST LINKCFG_MemEntry LINKCFG_memTable_00 [] = { > { > 0, /* ENTRY : Entry number */ > "DSPLINKMEM", /* NAME : Name of the memory > region */ > 0x87FF8000, /* ADDRPHYS : Physical address */ > 0x87FF8000, /* ADDRDSPVIRT : DSP virtual address > */ > (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address > (if known) */ > 0x8000, /* SIZE : Size of the memory > region */ > TRUE /* SHARED : Shared access memory? > */ > }, > { > 1, /* ENTRY : Entry number */ > "DSPLINKMEM1", /* NAME : Name of the memory > region */ > 0x87F00200, /* ADDRPHYS : Physical address */ > 0x87F00200, /* ADDRDSPVIRT : DSP virtual address > */ > (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address > (if known) */ > 0xF7E00, /* SIZE : Size of the memory > region */ > TRUE /* SHARED : Shared access memory? > */ > }, > { > 2, /* ENTRY : Entry number */ > "RESETCTRL", /* NAME : Name of the memory > region */ > 0x87F00000, /* ADDRPHYS : Physical address */ > 0x87F00000, /* ADDRDSPVIRT : DSP virtual address > */ > (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address > (if known) */ > 0x00000200, /* SIZE : Size of the memory > region */ > FALSE /* SHARED : Shared access memory? > */ > }, > { > 3, /* ENTRY : Entry number */ > "DDR", /* NAME : Name of the memory > region */ > 0x86E00000, /* ADDRPHYS : Physical address */ > 0x86E00000, /* ADDRDSPVIRT : DSP virtual address > */ > (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address > (if known) */ > 0x1100000, /* SIZE : Size of the memory > region */ > FALSE /* SHARED : Shared access memory? > */ > }, > { > 4, /* ENTRY : Entry number */ > "DSPL1DRAM", /* NAME : Name of the memory > region */ > 0x11F04000, /* ADDRPHYS : Physical address */ > 0x11F04000, /* ADDRDSPVIRT : DSP virtual address > */ > (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address > (if known) */ > 0x10000, /* SIZE : Size of the memory > region */ > FALSE /* SHARED : Shared access memory? > */ > } > } ; > > Sam Hague > IPCBU > > Cisco Systems, Inc. > 7025 Kit Creek Road > RTP, NC 27709 > Phone: 919 476-2794 > Fax: 919 392-7065 > [EMAIL PROTECTED] > www.cisco.com > > -----Original Message----- > From: Kamoolkar, Mugdha [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 15, 2008 6:17 AM > To: Sam Hague (shague); [email protected] > Subject: RE: ringiogpp sample app error > > Sam, > > RingIO shared memory structures get placed into memEntry 0, while all > others get placed into memEntry 1. That may be why you are seeing issues > only in RingIO app. > { > 0, /* ENTRY : Entry number */ > "DSPLINKMEM", /* NAME : Name of the memory > region */ > 0x8FE00000, /* ADDRPHYS : Physical address */ > 0x8FE00000, /* ADDRDSPVIRT : DSP virtual address > */ > (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address > (if known) */ > 0x5000, /* SIZE : Size of the memory > region */ > TRUE /* SHARED : Shared access memory? > */ > }, > { > 1, /* ENTRY : Entry number */ > "DSPLINKMEM1", /* NAME : Name of the memory > region */ > 0x8FE05000, /* ADDRPHYS : Physical address */ > 0x8FE05000, /* ADDRDSPVIRT : DSP virtual address > */ > (Uint32) -1, /* ADDRGPPVIRT : GPP virtual address > (if known) */ > 0xFB000, /* SIZE : Size of the memory > region */ > TRUE /* SHARED : Shared access memory? > */ > }, > Please check if your configuration for memEntry 0 is also correctly > changed for 128M config. > > Regards, > Mugdha > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sam Hague (shague) > Sent: Saturday, March 15, 2008 4:29 AM > To: [email protected] > Subject: ringiogpp sample app error > > Anyone seen this error when running the ringiogpp sample app from the > dsplink package? I have run the messagegpp with success. I have changed > the memory map from 256MB to 128MB. but I assume there must be some > other config for ringio that I have not set successfully. > > Also below, is similar debug but from the video_copy app when ran using > the same dsplink. Error 0x52, configuration error is returned, but from > what I can tell I have the same config in the .tcf file for the server > as what is in the CFG_.c file for DSPLink. > > Thanks, Sam > > 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] > > > > 8000 S:0x0ec91b84] OM - Memory_alloc> Enter(0x2c) > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b84] OM - Memory_alloc> return > (0x3d718) > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b94] CE - > rserverOpen('video_copy.x64P') > , count = 0 > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b64] OP - Processor_create> > Enter(imageN ame='video_copy.x64P', linkCfg='(null)', attrs=0xec91bf0) > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b54] OM - Memory_alloc> > Enter(0x24) > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b54] OM - Memory_alloc> return > (0x3d748) > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b4c] OP - doCmd> Enter (cmdId=1, > proc=0x > 3d748) > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b3c] ti.sdo.ce.osal.Sem - > Entered Sem_po > st> sem[0x3d3e8] > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b4c] ti.sdo.ce.osal.Sem - > Leaving Sem_po > st> sem[0x3d3e8] > @2,771,717us: [+0 T:0x04008000 S:0x0ec91b34] ti.sdo.ce.osal.Sem - > Entered Sem_pe > nd> sem[0x3d400] timeout[0xffffffff] > @2,771,717us: [+0 T:0x048a64e0 S:0x048a5e5c] ti.sdo.ce.osal.Sem - > Leaving Sem_pe > nd> sem[0x3d3e8] status[0] > @2,771,717us: [+0 T:0x048a64e0 S:0x048a5e74] OP - getCmd_d> Exit > (result=1) > @2,771,717us: [+0 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Enter(proc > =0x3d748) > @2,771,717us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Initializi ng DSP PROC... > @2,771,717us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Using DspL ink config data for entry #0 [server 'video_copy.x64P'] > @2,771,717us: [+0 T:0x048a64e0 S:0x048a5e64] OM - Memory_alloc> > Enter(0xe0) > @2,771,717us: [+0 T:0x048a64e0 S:0x048a5e64] OM - Memory_alloc> return > (0x3d770) > @2,771,717us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Adding DSP segment #0 to Link configuration: name='DDR2', > startAddress=0x86e00000, sizeInB ytes=0x1100000, shared=1 > @2,771,717us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', > startAddress=0x87f00200, s izeInBytes=0xffe00, shared=1 > @2,771,717us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Adding DSP segment #2 to Link configuration: name='RESET_VECTOR', > startAddress=0x87f00000, sizeInBytes=0x200, shared=0 > @2,771,717us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Adding DSP segment #3 to Link configuration: name='DDRALGHEAP', > startAddress=0x84800000, s izeInBytes=0x2600000, shared=0 > @2,771,717us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > DOPOWERCON TROL was=0; now=0 > @2,781,718us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Attaching to DSP PROC... > @2,781,718us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Opening MS GQ pool... > @2,781,718us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Loading vi deo_copy.x64P on DSP (1 args)... > @2,871,719us: [+2 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Starting D SP PROC... > @15,111,924us: [+7 T:0x048a64e0 S:0x048a5e74] OP - Processor_create_d> > Loading a nd starting DSP server 'video_copy.x64P' FAILED, > status=[0x80008052] (look for e rror code 'DSP_EBASE + 0x52' in > dsplink*/packages/dsplink/gpp/inc/errbase.h) > @15,111,924us: [+0 T:0x048a64e0 S:0x048a5e5c] OP - Processor_delete_d> > Enter (pr > oc=0x3d748) > @15,111,924us: [+2 T:0x048a64e0 S:0x048a5e5c] OP - Processor_delete_d> > Closing r emote transport... > @15,111,924us: [+6 T:0x048a64e0 S:0x048a5e5c] OP - Processor_delete_d> > Closing r emote transport FAILED, status=0x80008000. > @15,111,924us: [+2 T:0x048a64e0 S:0x048a5e5c] OP - Processor_delete_d> > Stopping DSP... > @15,111,924us: [+6 T:0x048a64e0 S:0x048a5e5c] OP - Processor_delete_d> > Stopping DSP FAILED, status=0x80008000 > @15,111,924us: [+2 T:0x048a64e0 S:0x048a5e5c] OP - Processor_delete_d> > Closing p ool... > @15,111,924us: [+2 T:0x048a64e0 S:0x048a5e5c] OP - Processor_delete_d> > Detaching from DSP... > > Sam Hague > IPCBU > > Cisco Systems, Inc. > 7025 Kit Creek Road > RTP, NC 27709 > Phone: 919 476-2794 > Fax: 919 392-7065 > [EMAIL PROTECTED] > www.cisco.com > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
