04-09-2018 07:18 AM
I've implemented an AXI CMDA engine in Vivado 2016.2 that I want to use to transfer a large amount of data from program space to a FIFO in PL in physical space. I'm using Xilinx SDK 2016.2 and running petaLinux.
From what I read, I need to use a function called: dma_alloc_coherent() to make sure I get a continuous block of memory in physical space and I need to use io_remap() to get the physical address from the virtual address. Is this correct or is there an easier/better way?
If this is so, where can I find these functions? I don't seem to be able to find them in the include directories.
04-10-2018 05:35 AM
04-10-2018 06:47 AM