Intel Acceleration Stack Quick Start Guide for Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA

ID 683633
Date 12/04/2020
Public
Document Table of Contents

4.2. Ubuntu: Installing the OPAE Framework from Prebuilt Binaries (deb)

Before you can install and build the OPAE software, you must install the required packages by running the following two commands:
sudo apt-get -f install cmake dkms libjson-c3 uuid-dev libhwloc-dev\
 python-pip libjson-c-dev libhwloc-dev linux-headers-$(uname -r) libtbb-dev
sudo pip install intelhex
Complete the following steps to install the OPAE framework:
  1. Remove any previous version of the OPAE framework.
    sudo apt-get remove opae*
    sudo apt-get remove python-opae.admin
    sudo apt-get remove python3-opae.pac-sign
  2. Change to the OPAE installation software directory.
    cd $OPAE_PLATFORM_ROOT/sw
  3. Install the latest OPAE driver and framework.
    sudo dpkg -i *.deb
    Note: If dpkg fails due to missing dependencies, please run the following command to resolve:
    sudo apt-get install -f
  4. Check the Linux kernel installation.
    lsmod | grep fpga

    Sample Output:

    intel_fpga_pac_iopll    16384  0
    intel_fpga_pac_hssi    24576  0
    intel_fpga_fme         90112  0
    intel_fpga_afu         36864  0
    intel_fpga_pci         28672  2 intel_fpga_fme,intel_fpga_afu
    fpga_mgr_mod           16384  1 intel_fpga_fme
    ifpga_sec_mgr          16384  2 intel_max10,intel_fpga_fme
  5. After completing the OPAE installation, the binaries and libraries are available in the following directories:
    Directory OPAE Driver Package Content
    /usr/bin

    opae-tools*

    opae-tools-extra*

    OPAE tool binaries. For a full listing of the tools and their purpose, refer to the OPAE FPGA TOOLS section on the Open Programmable Acceleration Engine web page.
    /usr/include opae-devel* The header files required for linking host applications.
    /usr/lib

    opae-libs*

    opae-ase*

    The OPAE shared object libraries.
  6. Verify deb packages installation:
    dpkg -l | grep opae
    Sample Output:
    opae-a10-gx-pac-fpgaotsu-base              1.2.1              all          Intel PAC one-time-update
    opae-a10-gx-pac-super-rsu-base             1.2.1              all          Intel PAC super-rsu
    opae-ase                                   1.1.2              amd64        OPAE AFU Simulation Environment
    opae-devel                                 1.1.2              amd64        OPAE headers, sample source, and documentation
    opae-intel-fpga-driver                     2.0.3              all          DKMS-enabled Intel FPGA driver source code.
    opae-libs                                  1.1.2              amd64        OPAE runtime
    opae-samplesrasescriptsc                   1.1.2              amd64        Open Programmable Acceleration Engine
    opae-tools                                 1.1.2              amd64        OPAE base tool binaries
    opae-tools-extra                           1.1.2              amd64        OPAE extra tool binaries
    python-opae.admin                          1.0.2              all          OPAE Administration
    python3-opae.pac-sign                      1.0.3-1            amd64        opae.pac_sign provides Python classes for interfacing withOP