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 GPMC using DMA

Hi, I have a user-space application that reads/writes data to an external memory using GPMC. Also I have a kernel-space application (module) that transfers data from memory to memory. How should I send the addresses of source and destination buffers into the module in order to make a dma-transaction in it? In user-space I use mmap-function to operate with the GPMC (I asked about it in this topic: https://e2e.ti.com/support/arm/sitara_arm/f/791/t/447099 ) and in kernel-space I use EdmaTest application from here: processors.wiki.ti.com/.../EDMA_sample_test_application. I can send an integer or string variable to the module, but I can't understand how to send a correct address because, in my opinion, there are different address spaces in user and kernel spaces. Maybe there is another way to send data through GPMC using DMA on am335x-processor, I don't know. Please, get me some useful advice how to solve this problem (I'm using Linux kernel 3.12 from TI SDK).