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; davinci-linux-open-source@linux.davincidsp.com
> 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); davinci-linux-open-source@linux.davincidsp.com
> 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: davinci-linux-open-source@linux.davincidsp.com
> 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
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to