Regarding the missing header file, are you a DVSDK user?
 
If so, you can probably find EDMA3 LLD product in the DVSDK, and should
be able to add its packages/ directory to your XDCPATH (depending on
your build flow, this may be in an xdcpaths.mak file, or explicitly set
in your environment).
 
If you're not a DVSDK user, you'll need to get the EDMA3 LLD product
from here:
https://www-a.ti.com/downloads/sds_support/targetcontent/psp/edma3_lld/i
ndex.html
 
A few things to note:
   * Codec Engine doesn't have a direct dependency on this EDMA3 LLD
product, which explains why it's not in the cetools/packages directory
and isn't mentioned in the CE release notes.  (It's a fine line between
where cetools is today, and it becoming a mini-DVSDK.  I don't want to
throw everything in there... but I can sympathize with you on this
particular issue)
   * Framework Components _does_ have a dependency on it, so you _will_
find the required version in the FC release notes.  And if you get FC
2.00 standalone release - independent of the DVSDK - you'll also find
"the right version" of the EDMA3 LLD in FC 2.00's fctools/packages
directory.
   * A quick peek at FC 2.00's release notes shows that "the right
version" of the EDMA3 LLD product is the 1.01 release.
 
I know this is confusing, but there is some [attempted, and continuously
improving?] logic to it.  There are some details about the cetools and
fctools philosophy here:
http://wiki.davincidsp.com/index.php?title=Codec_Engine_FAQ#Why_do_some_
distributions_have_a_cetools_directory_and_others_don.27t.3F
 
I can't address the DMA question, but others on the list probably can.
 
Chris


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of prashanth shankar
        Sent: Monday, June 02, 2008 7:19 AM
        To: [email protected]
        Subject: EDMA channel acqusition through IRES using Codec Engine
2.00 onDM6446
        
        
        Hi,
         
        I have Codec Engine 2.00 package for DM6446 and it has ce_tools
packages inside it.
        I want to acquire EDMA channels through IRES for my codec.
        I first tried to acquire the EDMA channels by adding the IRES
interface functions in the viddec_copy example.
        It is required to include the header file #include
<ti/sdo/fc/ires/edma3chan/iresman_edma3Chan.h> in the server main.c
file. 
        But this header file inturn asks for the header file #include
<ti/sdo/edma3/rm/edma3_rm.h> and the folder ti/sdo/edma3 is not present
in Codec Engine 2.00 package. Hence I am not able to build the server
exectuable.
        Also, I want to know how to configure the transfer on thus
acquired channel. Should I have to get the physical address of the Event
Set Register and perform AND opertion on this register with the contents
of "esrBitMaskL" and "esrBitMaskM" values that are present in the
IRES_EDMA3CHAN_Obj that is returend after the EDMA channel resource is
acquired. Also should I have to get the physical address of the
Interrupt pending register and perform AND opertion on this register
with the contents of "iprBitMaskL" and "iprBitMaskM" values that are
present in the IRES_EDMA3CHAN_Obj and poll on the corresponding bit for
the transfer complete.
         
        I would require some help to reslove this issue.
         
        Thanks and Regards,
        Prashanth
         
         
         
         

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

Reply via email to