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. (by bperez77)
udmabuf
User space mappable dma buffer device driver for Linux. (by ikwzm)
xilinx_axidma | udmabuf | |
---|---|---|
1 | 3 | |
428 | 520 | |
- | - | |
10.0 | 6.5 | |
over 1 year ago | 6 months ago | |
C | C | |
MIT License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xilinx_axidma
Posts with mentions or reviews of xilinx_axidma.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-08.
-
Petalinux <---> FPGA using DMA
I recently got this kind of working, using this driver https://github.com/bperez77/xilinx_axidma. Even after using this driver I had to make changes to the auto generated device tree to get it up and running. This driver also comes with a userspace library and examples that work. I was unable to get the axidmatest.c provided by Xilinx to work.
udmabuf
Posts with mentions or reviews of udmabuf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-08.
-
Petalinux <---> FPGA using DMA
I started off by using udmabuf to map regions of my memory to the userspace ensuring that there are no conflicts with the kernel and app.
-
Petalinux and DMA with Xilinx SoC
Install the u-dma-buf kernel module to map a section of your virtual address space to be contiguous in your physical address space.
-
[BEGINNER] How to send Ethernet packets from HPS to FPGA on Cyclone V ? (DMA)
Lastly, what I think would be the way - DMA so that the CPU doesn't really have to copy each and every packet into RAM - but I have no idea how to go about this, but I've seen some syscalls that shall be able to tell Linux to actually 'put' packets there (I really am a beginner, sorry guys, I'm trying my best tho!). And I've had a slight experience with u-dma-buf kernel module (https://github.com/ikwzm/udmabuf), which might be the place we wanna Linux to put packets to. Then, we'd give the FPGA the address of the buffer allocated by u-dma-buf and it would simply start the processing from there. Is that correct or am I missing something ?
What are some alternatives?
When comparing xilinx_axidma and udmabuf you can also consider the following projects:
xpadneo - Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
ZynqMP-FPGA-Linux - FPGA+SoC+Linux+Device Tree Overlay+FPGA Manager U-Boot&Linux Kernel&Debian11 Images (for Xilinx:Zynq Ultrascale+ MPSoC)
corsair-void-driver - Corsair Void headset family device driver for the Linux kernel
dokany - User mode file system library for windows with FUSE Wrapper
tn40xx-driver - Linux driver for tn40xx from Tehuti Networks
linux-xlnx - The official Linux kernel from Xilinx