This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/am5749:DMA-API

Other Parts Discussed in Thread: AM5749

Hello Support.

I use custom board based on AM5749(Processor SDK Linux RT for AM57x v05.03).

Programmers for our command would like to use DMA-API but they can't find dma-mappng.h and another files in built through SDK system.

They are using this one document: git.ti.com/.../DMA-API-HOWTO.txt

1.How to add it ?? If it is possible...

2.Is it possible to use EDMA module from user space?

BR,

Oleg

  • Hi Oleg,

    1. The dma-mapping.h is a header file available for kernel drivers. The header is defined in include/linux/dma-mapping.h. You would need to include  it using <linux/dma-mapping.h>

    2. The DMA interfaces are primarily for kernel-level drivers. What device/sub-system do you need the usage from?

    Also, which EDMA are you interested in - the System EDMA or the DSP EDMA? The EDMAs within DSP do not have a Linux presence, and they are meant to be used from the DSP-side software itself.

    regards

    Suman

  • Hello Anna,

    2. We are interested IVA-HD subsystem.

    We are interested  System EDMA.

    BR,

    Oleg

  • Hi Oleg,

    IVA-HD does not have any Linux driver representation, it is all controlled from one of the remote processors (IPU2 pre-dominantly).

    regards

    Suman