xilinx_axidma | copy Linux driver and a userspace interface library
kandi X-RAY | xilinx_axidma Summary
kandi X-RAY | xilinx_axidma Summary
A zero-copy, high-bandwidth Linux driver and userspace interface library for Xilinx's AXI DMA and VDMA IP blocks. The purpose of this software stack is to allow userspace Linux applications to interact with hardware on the FPGA fabric. The driver and userspace library act as a generic layer between the procesor and FPGA, and abstracts away the details of setting up DMA transactions. The pupose of AXI DMA and VDMA IP blocks is to serve as bridges for communication between the processing system and the FPGA, through one of the DMA ports on the Zynq processing system. The driver enables userspace application to allocate zero-copy, physically contiguous DMA buffers for transfers, allowing for high bandwidth communication between the FPGA and ARM core. The driver exposes its functionality via a character device, which the library interacts with. This driver supports 4.x version Xilinx kernels. It has been tested with the mainline Xilinx kernel, and the Analog Devices' kernel on the Zedboard. The driver should work with any 4.x kernel and any board that uses a Zynq-7000 series processing system.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of xilinx_axidma
xilinx_axidma Key Features
xilinx_axidma Examples and Code Snippets
Community Discussions
Trending Discussions on xilinx_axidma
QUESTION
I am trying to build the axidma-benchmark application with the Xilinx-axidma driver (Github repo) provided by bperez77.
I am using Petalinux 20.2 to build Linux for my custom project.
In the new version of the kernel, some functions are changed and I get some errors when running petalinux-build
. I changed the driver files as mentioned here and build the kernel module successfully.
In the following, I create the custom application by running:
...ANSWER
Answered 2021-Feb-11 at 06:48I have forgotten to add the libaxidma.c
files into the file directory. By adding this file application was built successfully.
QUESTION
I need to bind a driver to my device tree entry. To accomplish this I need to set the device ID property from dma-channel@00000030 to "1"
It seems I'm not able to override the properties of these sub nodes. How can I do this?
The pl.dtsi file, where this snippet came from, cannot be altered as it is auto generated. It would be overwritten in an instant.
What I did prior to this question
I tried to override it all, instead of just altering the values I need. But this approach would need a new node name, which works until the dma driver want to bind itself to the node. Then it fails because the virtual file system entry is already there. Hence the first question. How can I overrule just property of a child's node?
...ANSWER
Answered 2019-Apr-17 at 11:29Kudos for @Ian Abbot for this answer.
When the next line is added after the main block in your master dts file. ( in this case: system-top.dts ) you can override even child node properties, even if the child nodes are having the same label.
You'll need to include the source file in which the entry occurs. ( In this case: pl.dtsi )
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xilinx_axidma
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page