OFS / linux-dfl

Linux kernel driver for the Device Feature List framework for FPGA devices
Other
22 stars 21 forks source link

Errors regarding OPAE-SDK and DFL Drivers #11

Open knmurth opened 2 years ago

knmurth commented 2 years ago

Hi all, I have build and compiled the newest available version of OPAE-SDK on a CPU which runs ubuntu 21.10.I am encountering an error while running fpgainfo fme,and also I request to kindly suggest a method to load DFL drivers.I am attaching the error as a screenshot.Please check and provide solution Thanks&Regards image

KN Ganendra Murthy

rweight commented 2 years ago

There is insufficient information here to determine if this is an opae-sdk issue or a driver issue. What card do you have in your system? What is the output for "lspci | grep cel"?

The easiest way to load the drivers is to build the fpga-ofs-dev-5.15-lts branch as described on the wiki and install the resulting kernel: https://github.com/OPAE/linux-dfl/wiki/Build-the-linux-dfl-kernel

If you want to port the drivers to the Ubuntu kernel, then I would recommend using the linux-dfl-backport repo which contains a driver only package. It is currently building for RHEL8 distributions. It may require additional work to get it to run on an Ubuntu kernel.

knmurth commented 2 years ago

Hai @rweight , Thank you for your valuable suggestions.I am posting information related to the device I am connecting to my system in the form of a screenshot.I am using Ubuntu 21.10 OS on Hifive Sifive Unmatched Board which contains RISC-V CPU as SoC.Kindly check and provide suitable solution to the problem.

Screenshot from 2022-01-31 11-54-47

knmurth commented 2 years ago

Hi, I am using Arria 10 GX PAC Card. I am working on with Hifive Sifive Unmatched Board which has a RISC-V CPU as SoC and a PCI express support. I am connecting the PAC card to the RISC-V CPU Board through PCI express. I am using Ubuntu 21.10 OS to boot up the RISC-V CPU. I am trying to program Intel PAC Card through RISC-V CPU using PCI interface.

On RISC-V CPU Ubuntu 21.10 OS terminal, lspci command is displaying the PAC card information. I am attaching the respective output image

I have installed OPAE-SDK. I am facing the error when I run sudo fpgainfo fme command. I am getting the following error. image

Kindly provide suitable solution to the problem.