Forum Discussion

HSuh01's avatar
HSuh01
Icon for New Contributor rankNew Contributor
5 years ago
Solved

Our host PC can't discover Stratix 10 MX devkit as a PCIe device, even after a successful configuration and a proper installation of Linux driver.

We are trying to use Intel's DMA IP and PCIe Hard IP+ to communicate to the HBM memory. So far, we've tested AN881 design, AVMM PCIe Hard IP+ example design, and the PCIe golden design that comes with the board.

None of them was successful, and we can't discover our FPGA board as a PCIe device on the Linux server (host PC) that we are using.

the driver was compiled with GCC compiler (gcc version 4.8.5 20150623) that is used to compile our Redhat Linux kernel (3.10.0-1062.9.1.el7.x86_64)

We verified that the driver is installed and correctly loaded by typing "lsmod"

>> intel_fpga_pcie_drv 22470 0

<< Environmental info >>

Quartus version: 19.2

Design used: AN881 design example, PCIe Hard IP+ design example

FPGA power source: 8-Pin from ATX power supply unit

Configuration scheme used: JTAG via FPGA Blaster II (USB)

*FPGA board was enumerated correctly after we configure the bitstream for PCIe communication. We kept FPGA board powered on so it can retain the configuration after the host PC's reboot.

So far, even with the successful configuration and a proper driver installation, we couldn't discover our FPGA board as a PCIe device on the host PC.

The FPGA devkit is sitting on the PCIe slot 3, but it was not there when we searched PCIe devices by "lspci" command. It should be shown as "In use", not "Available." (since it means the slot is empty.)

Also, we can see some devices are power failing when we boot up the host PC.

Here are the device lists that are power failing. We searched for them by bus number.

Also, we tested a golden design file that comes with the devkit. The design itself is working and we can verify it through the Board Test System(BTS) utility on windows. However, we can't still discover the board in the PCIe device list even with this golden design.

Is there any specific way of setting FPGA board, so that it can be recognized as a proper PCIe device on the host PC?

Any input will be welcomed. Thank you.

  • Hi Hsuh,

    The initial post was mention about AN811 but now become AN881. So I just curious if you already tested the AN881.

    1. For the AN881 example design, it is using v19.1 pro. Did you run the Post-processing Script (section 2.2) if you re-generate the Platform designer or upgrade the design?
    2. Is your MX board consist of the following device? 1SM21BHU2F53E1VG
    3. Are you using the driver that comes with the AN881 example design?
    4. Do you have a chance to validate it on the CentOS 7.0 and see if there is any OS dependency?
    5. Could you please capture ltssmstate[5:0], currentspeed[1:0], lane_act[4:0] and link_up signal from Signaltap? This can help to confirm if the link training is up correctly.

    Regards -SK

15 Replies