This repository adds udev rules and dkms support to the Xilinx XDMA driver.
git submodule init && git submodule update
mkdir build && cd build && cmake ..
sudo make install
make package
There is a unmerged PR on the Xilinx driver following a breaking change in the DMA API. Until Xilinx merges this, the fix has to be applied manually.
cd dma_ip_drivers
git remote add fix git@github.com:vkomenda/dma_ip_drivers.git
git pull fix
git checkout fix/dma-compat-fix-linux-5.19
Invoke cmake with -DXDMA_DEBUG='1'
.
So the preparation step from above becomes:
git submodule init && git submodule update
mkdir build && cd build && cmake -DXDMA_DEBUG='1' ..