Xilinx / dma_ip_drivers

Xilinx QDMA IP Drivers
https://xilinx.github.io/dma_ip_drivers/
581 stars 420 forks source link

lspci command has detected the device. But where I run load_driver.sh, report there is no xdma in /proc/devices dir #86

Closed haojiwei closed 4 years ago

haojiwei commented 4 years ago

when using lspci, I can detect the device.

$ lspci | grep Xi
04:00.0 Serial controller: Xilinx Corporation Device 4b88
04:00.1 Serial controller: Xilinx Corporation Device 4b87

But I sudo execute load_driver.sh, It reported did not recoginise the device.

xdma                   69632  0
Loading driver...
Error: The Kernel module installed correctly, but no devices were recognized.
 FAILED

It caused by there are xdma in /proc/devices dir.

I have reboot the machine, but it did not work.

Some post says that is caused by bios setting. But until I get what to do to set the bios well, I will not rush in the lab.

haojiwei commented 4 years ago

The ubuntu kernel version is 4.15.0-107-generic.

lesjokolat commented 4 years ago

Try newer Kernel. 4.19.x or 5.x(I ve used up to 5.3.x)

If you still want to use this kernel then may have to use older XDMA driver.