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.

AM335x: Triggering EDMA from linux user space example



Hi

I am debugging a video grabber cape board for BeagleBone Black and need to speed up the transfer of an image buffer in FIFO ( in the cape ) to a buffer in memory ( in BBB ) using EDMA through GPMC interface.

Currently I am doing this using  ordinary memory read  ( mmap ) from a user space application to a buffer ( YCrCb format ) that is converted to a PNG file. This is working fine, but is slow.

I am looking for a faster way to do such transfer and EDMA could  be an option. But, there is the physical to virtual address translations issue and, really, I don't know how to handle this.

If someone have an example available, let me know, please.

Sergio