UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor viggy
Visitor
759 Views
Registered: ‎11-28-2018

Installing xdma drivers on Linux...

I'm trying to install and use the xdma PCIe drivers from https://www.xilinx.com/support/answers/65444.html, however the device files are not being created in '/dev/'. I ran "make" and "make install" in the unzipped "xdma" directory, and I get the kernel driver. I can load it:

viggy@FPGA:~/Xilinx_Answer_65444_Linux_Files_rel20180420/tests$ lsmod | grep xdma
xdma                   69632  0
adxdma                143360  0

However, there are no device files created in the "/dev" directory. I did run the provided "xdma-udev-command.sh" script, but nothing.

Is there a step I'm missing? Or, are the AlphaData drivers interfering with the install?

Thanks!
Mike

0 Kudos
2 Replies
Highlighted
Visitor viggy
Visitor
751 Views
Registered: ‎11-28-2018

Re: Installing xdma drivers on Linux...

Oh, and the 'run_test.sh' script fails with:

viggy@FPGA:~/Xilinx_Answer_65444_Linux_Files_rel20180420/tests$ sudo ./run_test.sh
Error at line 96, file reg_rw.c (2) [No such file or directory]
./run_test.sh: line 28: [: ==: unary operator expected
Error at line 96, file reg_rw.c (2) [No such file or directory]
./run_test.sh: line 28: [: ==: unary operator expected
Error at line 96, file reg_rw.c (2) [No such file or directory]
./run_test.sh: line 28: [: ==: unary operator expected
Error at line 96, file reg_rw.c (2) [No such file or directory]
./run_test.sh: line 28: [: ==: unary operator expected
Info: Number of enabled h2c channels = 0
Error at line 96, file reg_rw.c (2) [No such file or directory]
Error at line 96, file reg_rw.c (2) [No such file or directory]
Error at line 96, file reg_rw.c (2) [No such file or directory]
Error at line 96, file reg_rw.c (2) [No such file or directory]
Info: Number of enabled c2h channels = 0
Info: The PCIe DMA core is memory mapped.
Error: No PCIe DMA channels were identified.
0 Kudos
Visitor evgeny.jungo
Visitor
615 Views
Registered: ‎05-31-2018

Re: Installing xdma drivers on Linux...

Hello,

I saw your post and as it seems, you are having trouble with driver development for Linux I would like to offer you to try out our driver development toolkit - WinDriver.

WinDriver is a toolkit for PCI/USB devices for the OS's of Windows/Linux, that automatically generates a driver that is specific to your hardware.
WinDriver provides a sample of our XDMA PCIe driver that you can try out.
 
The toolkit enables you to access your hardware and implement your device functionality, without having to develop in the kernel mode. For more information click here PCIe Online Demo.
 
In order to download WinDriver's free trial version please click here
 
For more information please contact me via email: evgenym@jungo.com or phone: 1-408-600-0851 ext.651
 
Best regards, 
 
Evgeny Moss
Account Manager 
0 Kudos