Intel® Acceleration Stack User Guide: Intel® FPGA Programmable Acceleration Card N3000-N/2

ID 683362
Date 11/01/2021
Public
Document Table of Contents

7. Updating the Retimer Firmware

The Intel® FPGA PAC N3000-N/2 is preloaded with Retimer firmware version 101c.1064. To verify the Retimer firmware version:
$ sudo fpgainfo phy
Sample output for 4x25G configuration:
Board Management Controller, MAX10 NIOS FW version D.2.1.24
Board Management Controller, MAX10 Build version D.2.0.7
//****** PHY ******//
Object Id : 0xED00001
PCIe s:b:d.f : 0000:8a:00.0
Device Id : 0x0b30
Numa Node : 1
Ports Num : 01
Bitstream Id : 0x23000110010310
Bitstream Version : 0.2.3
Pr Interface Id : f3c99413-5081-4aad-bced-07eb84a6d0bb
//****** PHY GROUP 0 ******//
Direction : Line side
Speed : 25 Gbps
Number of PHYs : 4
//****** PHY GROUP 1 ******//
Direction : Host side
Speed : 40 Gbps
Number of PHYs : 4
//****** Intel C827 Retimer ******//
Port0 25G : Up
Port1 25G : Up
Port2 25G : Up
Port3 25G : Up
Retimer A Version : 101c.1064
Retimer B Version : 0000.0000
Note: When using the 4x25G network configuration, Retimer B is held in reset to reduce power. Therefore, Retimer B firmware version is not listed in the above output.
Sample output for 2x2x25G configuration:
Board Management Controller, MAX10 NIOS FW version D.2.1.24
Board Management Controller, MAX10 Build version D.2.0.7
//****** PHY ******//
Object Id                     : 0xF100002
PCIe s:b:d.f                  : 0000:b2:00.0
Device Id                     : 0x0b30
Numa Node                     : 1
Ports Num                     : 01
Bitstream Id                  : 0x23000410010310
Bitstream Version             : 0.2.3
Pr Interface Id               : a5d72a3c-c8b0-4939-912c-f715e5dc10ca
//****** PHY GROUP 0 ******//
Direction                     : Line side
Speed                         : 25 Gbps
Number of PHYs                : 4
//****** PHY GROUP 1 ******//
Direction                     : Host side
Speed                         : 40 Gbps
Number of PHYs                : 4
//****** Intel C827 Retimer ******//
Port0 25G                     : Up
Port1 25G                     : Up
Port2 25G                     : Up
Port3 25G                     : Up
Retimer A Version             : 101c.1064
Retimer B Version             : 101c.1064
The following steps are instructive and provide guidance on how to perform firmware update for future Retimer versions:
  1. Perform fpgasupdate to load the NIOS with Retimer firmware.
  2. Perform reset:
    $ sudo rsu bmcimg [PCIe B:D.F]
  3. Perform echo 1 to eeprom_load sysfs node of the card:
    $ echo 1 > /sys/class/fpga/intel-fpga-dev.0/intel-fpga-fme.0/spi-altera.0.auto/spi_master/spi0/spi0.0/pkvl/eeprom_load
  4. Check the eeprom_update_status node for completion, the value must be 0x1111.
    $ cat /sys/class/fpga/intel-fpga-dev.0/intel-fpga-fme.0/spi-altera.0.auto/spi_master/spi0/spi0.0/pkvl/eeprom_update_status
  5. Perform reset:
    $ sudo rsu bmcimg [PCIe B:D.F]
  6. Verify the Retimer firmware version:
    $ sudo fpgainfo phy