Intel® Agilex™ Device Configuration via Protocol (CvP) Implementation User Guide

ID 683763
Date 5/24/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.2.6. Programming the Core RBF file from the Updated Revision via PCIe Link

Before you begin the CvP update, confirmed the driver is fully installed and you programmed the FPGA using the base revision image through any configuration scheme.

Follow these steps to program the core .rbf:

  1. In the terminal window, type the following command to ensure you have an active PCIe link.
    lspci -vvv -d1172
  2. Follow these steps if you are using downstream driver:
    1. Copy the .core.rbf file to your working directory.
    2. Open a console in Linux. Change the directory to the same mentioned above where the file is copied.
    3. Program the core image by typing the following command:
      dd if=<filename>.core.rbf of=/dev/altera_cvp bs=4K
  3. Follow these steps if you are using upstream driver:
    1. Copy the core.rbf file into /lib/firmware directory.
    2. In the kernel source directory, run the following command to use the FPGA manager to configure the core image.
      • Run: su to get root access.
      • Run:
      • echo <filename>.core.rbf > /sys/kernel/debug/fpga_manager/fpga0/firmware_name
  4. You can see your core image running on the Intel® Agilex™ device PCIe* card. Alternatively, print out the kernel message using the dmesg to ensure the CvP is completed successfully.