KastnerRG / riffa

The RIFFA development repository
https://riffa.ucsd.edu
Other
746 stars 310 forks source link

Executed ./testutil 0 command displaying 0 devices, but use lspci displaying Xilinx Corporation Device 7028, anybody know why? #56

Open qingcai52 opened 3 years ago

qingcai52 commented 3 years ago

图片

marzoul commented 3 years ago

This is expected if your FPGA is not programmed, or has just been programmed but the operating system may desire to reboot. I had an issue with behavior different between 2 machines, both same distrib and up to date ArchLinux: Boot the PC, program the FPGA with USB port, rescan PCIe : with one PC the device was visible and immediately usable, but on another PC, not at all. For the reluctant PC, the only solution I found was to reboot the PC while keeping the FPGA board on external power. That way the FPGA keeps its config, so the BIOS and OS do see the board and allow to use it. Once the PC is booted that way, the FPGA board can be re-programmed with no issue.