Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

Flashing error with the Stratix 10SX

SBoro1
Beginner
925 Views

Hello,

 

we’ve got an Intel PAC 5005 Stratix 10 SX Card, connected the power and usb cables and upgraded the OS as required by the installer.

 

The OS is CentOS Linux release 7.6.1810, the kernel has been upgraded to 3.10.0-957.21.3.el7.x86_64, the intel devstack 2.0 has been installed with the provided d5005_pac_ias_2_0_beta_dev_installer

The card is detected as:

 

$ lspci | grep 0b2b

03:00.0 Processing accelerators: Intel Corporation Device 0b2b (rev 01)

 

$ fpgainfo fme

Board Management Controller, microcontroller FW version 1.0.12, RTL version 255.255.6, PCB info 'D'

Last Power Down Cause: unavailable

Last Reset Cause: unavailable (can't open)

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

Object Id : 0xF200000

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

Device Id : 0x0B2B

Socket Id : 0x00

Ports Num : 01

Bitstream Id : 0x202000200000250

Bitstream Version : 2.0.2

Pr Interface Id : a9f2d0f3-b398-57b0-b34f-d226bf364fee

MAC address : 64:4c:36:0:d:0

 

 

The flashing of the d5005_pac_max10_fw_revd_v1.0.12.hex image works, but the d5005_pac_max10_rtl_revd_v1.0.15_cfm1_auto.rpd does not:

 

./setup_fim_and_bmc.sh -b 03 -d 00 -f 0 -p $OPAE_PLATFORM_ROOT

 

Pre-requisites

1. Supported OS: RHEL 7.6, kernel 3.10

2. Intel FPGA driver and OPAE must be installed

3. Extract BMC firmware to known location

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

 

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

 

 

Provide directory path to BMC RTL and FW: /opt/intelstuff/d5005_pac_ias_2_0_beta_bmc

>>>Running cmd:

sudo fpgaflash bmc_fw /opt/intelstuff/d5005_pac_ias_2_0_beta_bmc/d5005_pac_max10_fw_revd_v1.0.12.hex 0000:03:00.0

 

using /dev/mtd0

2019-07-31 14:55:48.879072 erasing 0x00010000 bytes starting at 0x00000000

2019-07-31 14:55:49.085395 erasing 0x00010000 bytes starting at 0x00010000

2019-07-31 14:55:49.276609 writing 0x0001a03c bytes to 0x00000100

2019-07-31 14:55:51.116438 writing 0x00000100 bytes to 0x00000000

2019-07-31 14:55:51.554258 flash successfully verified

>>>Running cmd:

sudo fpgaflash bmc_img /opt/intelstuff/d5005_pac_ias_2_0_beta_bmc/d5005_pac_max10_rtl_revd_v1.0.15_cfm1_auto.rpd 0000:03:00.0

 

using /dev/mtd0

2019-07-31 14:55:53.847089 erasing 0x00048000 bytes starting at 0x00070000

2019-07-31 14:55:53.851898 reversing bits

2019-07-31 14:55:54.125425 erasing 0x00060000 bytes starting at 0x00010000

2019-07-31 14:55:54.130050 writing 0x000a8000 bytes to 0x00010000

[Errno 5] Input/output error

 

 

We’ve tried to power cycle the machine several times, but the output is identical: the first flash works, the second doesn’t.

What could be the problem?

0 Kudos
1 Reply
SengKok_L_Intel
Moderator
590 Views

Hi,

 

The Acceleration stack that you are using now is 2.0 pre-beta version. Could you please request the Acceleration stack 2.0 from the link below, and run the "setup_fim_and_bmc.sh" to update the FIM and BMC version. It works well from my site.

 

https://www.intel.com/content/www/us/en/programmable/products/boards_and_kits/dev-kits/altera/intel-fpga-pac-d5005/getting-started.html

 

Please share with us the fpgainfo fme output after you update the FIM and BMC?

 

 

Regards -SK Lim

0 Kudos
Reply