Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs
477 Discussions

How to update The FIM and BMC firmware for 2 INTEL PAC on same server

User1582192733150209
1,184 Views

Hello Sir/Madam,

 

Our server has 2 same Intel PAC Arria10 inserted.

When I check the cards using fpgainfo fme and found one of the BMC is not showing correct as below

[root@fig01 a10_gx_pac_ias_1_2_pv]# fpgainfo fme

Board Management Controller, microcontroller FW version 26889

Last Power Down Cause: POK_CORE

Last Reset Cause: None

//****** FME ******//

Object Id                    : 0xED00001

PCIe s:b:d:f                 : 0000:D8:00:0

Device Id                    : 0x09C4

Socket Id                    : 0x00

Ports Num                    : 01

Bitstream Id                 : 0x123000200000185

Bitstream Version            : 0x557B00030201

Pr Interface Id              : 69528db6-eb31-577a-8c36-68f9faa081f6

Board Management Controller, microcontroller FW version unavailable

Last Power Down Cause: unavailable

Last Reset Cause: unavailable (can't open)

//****** FME ******//

Object Id                    : 0xED00000

PCIe s:b:d:f                 : 0000:3B:00:0

Device Id                    : 0x09C4

Socket Id                    : 0x00

Ports Num                    : 01

Bitstream Id                 : 0x123000200000185

Bitstream Version            : 0x557B00030201

Pr Interface Id              : 69528db6-eb31-577a-8c36-68f9faa081f6

[root@fig01 a10_gx_pac_ias_1_2_pv]# lspci |grep 09c4

3b:00.0 Processing accelerators: Intel Corporation Device 09c4

d8:00.0 Processing accelerators: Intel Corporation Device 09c4

 

I was trying to update the FIM to latest version but failed as below, information in the last row mentioned the FIM version is already the latest one.

But from the output of fpgainfo FME , that is not true. Any suggestion is welcome. Thanks! Jim

 

[root@fig01 a10_gx_pac_ias_1_2_pv]# ./setup_fim_and_bmc.sh -b 3b -d 0 -f 0 -p $OPAE_PLATFORM_ROOT

 

Pre-requisites

1. Intel FPGA driver and OPAE must be installed

2. Bittware Tools must be installed

           CentOS tool version: sudo yum install bw2tk-lite-2018.4.0.el7.x86_64.rpm

           Ubuntu tool version: sudo dpkg -i bw2tk-lite-2018.4.0.u1604.amd64.deb

           Bittware tools must be added to PATH; export PATH=/opt/bwtk/2018.4.0L/bin/:$PATH

3. Only one PAC card must be connected to the host server using the Intel FPGA Download cable

4. Do not interrupt the script flow, this could brick the board

!!!Exit(Ctrl- C) and Refer to the Intel Acceleration Stack for Intel Programmable Acceleration Card with Intel A10 GX FPGA Quick Start Guide if above steps are not completed

 

Do you want to continue with the FIM and BMC upgrade? (Y/n):

 

Two part install process:

Part 1: Install FIM and program BMC application

<Power Cycle>; reboot is not sufficient

Part 2: Install BMC bootloader and update remainder of BMC application

 

Please type a selection or press Enter to accept default choice [ 1 ]:

 

 

Provide directory path to BMC firmware and Bootloader: /root/inteldevstack/FPGA

 

Multiple PAC cards on system is not recommended. Exit script if PAC's can be removed

Do you want to continue? (Y/n): y

>>> Running cmd:

     bwconfig --scan=usb

 

Scanning for devices

 

[result]: Board Type (Name),  Serial, VendorID, DeviceID, USB-Address

[0]:     0x5f (A10SA4)       203245 0x2528   0x0005   0x7

You have the latest FIM. To update to latest BMC, downgrade to FIM version 1.1PV and rerun the script to install latest FIM and BMC

0 Kudos
7 Replies
JohnT_Intel
Employee
973 Views

Hi,

 

Based on the message provided, you are connecting the USB-Blaster to only 1 of the device. Could you confirm that the blaster is connected to the board with older BMC? If no, please change the blaster to that board.

0 Kudos
User1582192733150209
973 Views

Dear JohnT,

thanks for your suggestion, which is very useful.

just like you mentioned ,there is only 1 USB blaster connected to one of them, but I do not know how to match the physical card with PCIE bus number?

Is there any diagnosing program I can use to know which PCIE Pac CARD has USB connection, because server is in remote location, from phisical view I can not match PCIE BDF with specific card.

I have tried 2 diagnosing program nlb_3 and DMA_AFU for both these 2 cards, totally 4 test cases worked correctly, I guess that is because that examples running use PCIE to download gbs, and does not involve usb-JTAG.

thanks

Jim​

0 Kudos
JohnT_Intel
Employee
973 Views

Hi,

 

From the "fpgainfo fme" print out, you have 2 cards. So now you need to change the blaster to the 2nd card in order to performed the upgrade.

0 Kudos
User1582192733150209
973 Views

Dear JohnT,

thanks for your suggestion, I will do it.

without FMC updating to correct version ,I thought that card would faled with diagnosing program running, but did not, any potential influence if that card faild to upgrade to correct FMC version?

 

thanks

 

jim ​

0 Kudos
JohnT_Intel
Employee
973 Views

Hi,

From the "fpgainfo fme", the FIM is updated but not the BMC. So you will need to make sure that the BMC is also updated to make it work correctly.

0 Kudos
User1582192733150209
973 Views

Dear JohnT,

well noted and thanks for your valuable suggestion.

best regard

 

Jim

0 Kudos
JohnT_Intel
Employee
973 Views

No problem. Let me know if the issue is still observed.

0 Kudos
Reply