bperez77 / xilinx_axidma

A zero-copy Linux driver and a userspace interface library for Xilinx's AXI DMA and VDMA IP blocks. These serve as bridges for communication between the processing system and FPGA programmable logic fabric, through one of the DMA ports on the Zynq processing system. Distributed under the MIT License.
MIT License
464 stars 227 forks source link

How to Specify the physical address of the DMA destination address #77

Closed majicjq closed 5 years ago

majicjq commented 5 years ago

Hi,Brandon I have a Bram connect on the s2mm of DMA , and I want to DMA a image from PS to this Bram . Then FPGA will use the data of this file. I have to give a physical address for DMA destination. I have already put a file into this Bram,but the address of the file is random.I want to modify “axidma_mmap()” function in axidma_chardev.c but it is difficult want your help ! thank you !

majicjq commented 5 years ago

struct scatterlist sg_list,this will Specify the physical address