Forum Discussion
FIM and BMC Firmware not available on Acceleration Board A10
I was installing OPAE on host machine, my PC, for Intel Programmable Acceleration Card with Intel Arria 10 GX FPGA and encounted the attached problem when ruuning the following command
$ sudo fpgainfo fme
Any helpful suggestion ?
Thanks
Hi,
Since your PAC card is from 1.0Beta version, you will need to update it to 1.1 version before proceeding to 1.2.
So you will need to update the board to 1.1 PV before updating to 1.2 PV. Sorry for the inconvenience.
Follow the "Identifying and Updating FIM" section of the 1.1PV version of the Intel Acceleration Stack Quick Start Guide for Intel Programmable Acceleration Card with Intel Arria 10 GX FPGA to first update to 1.1PV FIM (dcp_1_1.rpd).
Note: • It is acceptable to leverage the 1.2 OPAE packages when following the FIM update instructions from the 1.1PV version of the Intel Acceleration Stack Quick Start Guide for Intel Programmable Acceleration Card with Intel Arria 10 GX FPGA.
• 1.1PV runtime download package can be located here. For access to the previous version of the Intel Acceleration Stack Quick Start Guide for Intel Programmable Acceleration Card with Intel Arria 10 GX FPGA, refer to the "Intel Acceleration Stack Quick Start Guide for Intel Programmable Acceleration Card with Intel Arria 10 GX FPGA Archives" section.
2. Follow the instructions in the "Updating FPGA Flash and BMC Firmware" section in the current version of this document
43 Replies
- JohnT_Altera
Regular Contributor
Hi,
May I know which acceleration stack version are you using for your installation? The board that you are using is from Acceleration Stack 1.1. So if you are using Acceleration Stack 1.2 or 1.2.1 then I would recommend you to update your board to the Acceleration Stack software you are using before moving forward.
- FL
Occasional Contributor
Right, I guess I used the 1.1 version of acceleration stack but I directly download from here
which I thought it could be installed as 1.2.1 version. Then I found the upgrade page here
Is it right for updating the FIM and BMC version?
Thanks!
- FL
Occasional Contributor
Hi, now I have a new issue during updating process:
It always stops here when I run setup.sh even after I install this package dependency.
- JohnT_Altera
Regular Contributor
Hi,
I would recommend you to download Acceleration Stack 1.2 from https://www.intel.com/content/www/us/en/programmable/solutions/acceleration-hub/archives.html and update the FIM and BMC.
- FL
Occasional Contributor
Thanks but that's the one I've downloaded for updating and the problem emerged during the process. There is always a conflict between opae-lib and libjson
- JohnT_Altera
Regular Contributor
Hi,
May I know if the issue is fixed after you removed the conflict?
- FL
Occasional Contributor
The problem is still there. Even happens when I reinstall the previous 1.2.1 version, which did not happen before. Now I remove the card and put it on another PC trying to install the 1.2 version.
- JohnT_Altera
Regular Contributor
Hi,
May I know what is the issue that you are observing? If it is related to the initial screenshot then this is related to system setup issue and not related to PAC card.
- FL
Occasional Contributor
I know the problem is about system setup as I attached a screenshot describing the conflict between OPAE-lib and libjson. But this issue never happened before when I installed the 1.2.1 acceleration stack at very first time.
To be specific, in the after installation process, when I launch the setup.sh and answer all questions with Yes and set path to the default, the script will quit with a dependency problem(opae-lib depend on libjson) but I already have the libjson at the newest version, which makes me confused.
Now I put the PAC board on another PC and install the acceleraiton stack 1.2, finding it is the problem of lower version of FIM and BMC firmware on PAC board (1.1). I'm contacting the Bitware to get the BittWorks II Toolkit Lite software as I see the instruction about how to update FIM and BMC version to 1.2 on the quick start guide. Hope this will solve the problem and bring up the PAC board.
- JohnT_Altera
Regular Contributor
Hi,
When you install the version 1.2, I think you didn't uninstall the 1.2.1 which causes the conflict. Usually I would recommend user to uninstall the previous library use in order to downgrade the acceleration stack version.
- FL
Occasional Contributor
That could be the problem but I didn't find any uninstall instruction provided on the guide and I've already removed the OPAE using command line. Is there any other way to uninstall the stack?
Thanks!
- JohnT_Altera
Regular Contributor
Hi,
If you look into the quick userguide, you will observed "sudo yum remove opae-*.x86_64" which is to remove all the OPAE library.
- JohnT_Altera
Regular Contributor
Hi,
Have you try power cycle your system? Are you able to detect the PAC card?
- FL
Occasional Contributor
Yes, I did reboot the system and the device was detected as well. The script still stopped there.
- JohnT_Altera
Regular Contributor
Hi,
When you mention reboot, do you performed soft reboot or hard reboot? I would recommend you to shut down your system and power on again to see if the issue is still observed.
- FL
Occasional Contributor
I did both but the issue is still there. Is this problem normal?
- JohnT_Altera
Regular Contributor
Hi.
Could provide me the step you used and where it is stuck?
- FL
Occasional Contributor
Here are my steps: first executing script, then answering Y, typing 1, and providing the directory where I put the Bitware Tool. It always stuck on sudo setpci ... this step and quit.
- FL
Occasional Contributor
This is my specific log in terms of updating.
Starting the updating process:
sl@v-pc:~/inteldevstack/a10_gx_pac_ias_1_2_pv$ ./setup_fim_and_bmc.sh -b 01 -d 0 -f 0 -p /home/sl/inteldevstack/a10_gx_pac_ias_1_2_pv
Pre-requisites
- Intel FPGA driver and OPAE must be installed
- 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
- Only one PAC card must be connected to the host server using the Intel FPGA Download cable
- 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): y
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 ]: 1
Provide directory path to BMC firmware and Bootloader: /home/sl/inteldevstack
[sudo] password for sl:
>>> Running cmd:
bwconfig --scan=usb
Scanning for devices
[result]: Board Type (Name), Serial, VendorID, DeviceID, USB-Address
[0]: 0x5f (A10SA4) 203511 0x2528 0x0004 0x6
Updating the FIM Image
>>> Running cmd:
sudo fpgaflash user /home/sl/inteldevstack/a10_gx_pac_ias_1_2_pv/hw/blue_bits/dcp*.rpd 0000:01:00.0
flash size is 134217728
reversing bits
erasing flash
writing flash
reading back flash
verifying flash
flash successfully verified
>>> Running cmd:
bwmonitor --dev=0 --type=bmc --flags=0x81 --write
BMC flags set to 81
Mon Jul 13 15:19:46 2020
Disable AER for PCIe Root Port
>>> Running cmd:
sudo setpci -s 0000:00:01.0 ECAP_AER+0x08.L=0xFFFFFFFF
setpci: 0000:00:01.0: Extended capability 0001 not found
Command: "sudo setpci -s 0000:00:01.0 ECAP_AER+0x08.L=0xFFFFFFFF" exited with error code: 1
Here is where the error occurs and quits the script.
- JohnT_Altera
Regular Contributor
Hi,
Could you try "lspci -vv | grep 09c[45] " and provide me the screenshot the information?
- FL
Occasional Contributor
Here is the result.