Xilinx / dma_ip_drivers

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

could not find dev/xdma0_user #157

Open Ayden-hnliu opened 2 years ago

Ayden-hnliu commented 2 years ago

Hi! I encountered an issue when I finished installing the xdma driver to connect my Xilinx vc707 evaluation board with my host computer through PCIe. I want to use dnnweaver2 to run yolo on my fpga board, and the dnnweaver needs a device which is /dev/xdma0_user to interact with the hardware. However, when I loaded the xdma driver, there isn't xdma0_user in the /dev. When I run the bash: $lspci | grep Xilinx the output is as follows: 03:00.0 Serial controller: Xilinx Corporation Device 7021 which indicates that my vc707 board has been physically connected to the host through PCIe. However when I finished installing the xdma driver and run the following bash: $ cd /dev $ ls | grep xdma the outputs are as follows: xdma xdma0_c2h_0 xdma0_control xdma0_events_0 xdma0_events_1 xdma0_events_10 xdma0_events_11 xdma0_events_12 xdma0_events_13 xdma0_events_14 xdma0_events_15 xdma0_events_2 xdma0_events_3 xdma0_events_4 xdma0_events_5 xdma0_events_6 xdma0_events_7 xdma0_events_8 xdma0_events_9 xdma0_h2c_0 which indicates that there doesn't exist xdma0_user so that dnn_weaver could not interact with my fpga board correctly. Do you guys know what is going wrong? Thank you in advance!

nixnauy commented 1 year ago

If you want to find /dev/xdma0_user, please check PCIe to AXI Lite Master Interface in IP core. And data will be transmitted by the way of PIO mode.