Forum Discussion

yankapok's avatar
yankapok
Icon for New Contributor rankNew Contributor
4 years ago

How to solve the problem during updating the FIM and BMC firmware

Hi,

I have installed Intel Acceleration Stack for Runtime v1.2.1 and OPAE package successfully. But when I want to update the FIM and BMC firmware, I met the following problem.

I run the command

sudo fpgaotsu /usr/share/opae/a10*/fpgaotsu/base/otsu-09C4.json

then the error occurred.

[2021-12-16 15:39:12,632] [INFO    ] [MainThread] Intel PAC with Intel Arria 10 GX FPGA 0000:08:00.0 is not secure.
[2021-12-16 15:39:12,638] [WARNING ] [MainThread] Update starting. Please do not interrupt.
[2021-12-16 15:39:12,638] [INFO    ] [0000:08:00.0] Updating Intel PAC with Intel Arria 10 GX FPGA : 0000:08:00.0
[2021-12-16 15:39:12,638] [INFO    ] [0000:08:00.0] Erasing flash@0x7fd0000 for 196608 bytes
[2021-12-16 15:39:12,838] [INFO    ] [0000:08:00.0] Writing flash@0x7ff0000 for 104 bytes (RushCreek_Release_key_blk2)
(100%) [████████████████████] [104/104 bytes][Time:0:00:00.001080]              
[2021-12-16 15:39:12,840] [INFO    ] [0000:08:00.0] Reading flash@0x7ff0000 for 104 bytes for verification
(100%) [████████████████████] [104/104 bytes][Time:0:00:00.013918]              
[2021-12-16 15:39:12,854] [INFO    ] [0000:08:00.0] Verified flash@0x7ff0000 for 104 bytes (RushCreek_Release_key_blk2)
[2021-12-16 15:39:12,854] [INFO    ] [0000:08:00.0] Erasing flash@0x1800000 for 41943040 bytes
[2021-12-16 15:39:28,459] [ERROR   ] [0000:08:00.0] [Errno 110] Connection timed out
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/opae/admin/tools/fpgaotsu.py", line 509, in process_flash_item
    self.erase(flash, mtd_dev)
  File "/usr/lib/python2.7/dist-packages/opae/admin/tools/fpgaotsu.py", line 317, in erase
    (erase_end + 1) - erase_start)
  File "/usr/lib/python2.7/dist-packages/opae/admin/utils/mtd.py", line 149, in erase
    fcntl.ioctl(fp.fileno(), self.IOCTL_MTD_MEMERASE, iodata)
IOError: [Errno 110] Connection timed out
[2021-12-16 15:39:28,480] [INFO    ] [MainThread] Total time: 0:00:15.841772
[2021-12-16 15:39:28,480] [ERROR   ] [MainThread] Intel PAC with Intel Arria 10 GX FPGA 0000:08:00.0: [Errno 110] Connection timed out
[2021-12-16 15:39:28,480] [ERROR   ] [MainThread] One-Time Secure Update failed

This is OPAE and FIM information

ii  opae-a10-gx-pac-fpgaotsu-base              1.2.1                                           all          Intel PAC one-time-update
ii  opae-a10-gx-pac-super-rsu-base             1.2.1                                           all          Intel PAC super-rsu
ii  opae-ase                                   1.1.2                                           amd64        OPAE AFU Simulation Environment
ii  opae-devel                                 1.1.2                                           amd64        OPAE headers, sample source, and documentation
ii  opae-intel-fpga-driver                     2.0.3                                           all          DKMS-enabled Intel FPGA driver source code.
ii  opae-libs                                  1.1.2                                           amd64        OPAE runtime
ii  opae-tools                                 1.1.2                                           amd64        OPAE base tool binaries
ii  opae-tools-extra                           1.1.2                                           amd64        OPAE extra tool binaries
ii  python-opae.admin                          1.0.2                                           all          OPAE Administration
ii  python3-opae.pac-sign                      1.0.3-1                                         amd64        opae.pac_sign provides Python classes for interfacing withOP
Board Management Controller, microcontroller FW version 26889
Last Power Down Cause: POK_CORE
Last Reset Cause: None
//****** FME ******//
Object Id                     : 0xEE00000
PCIe s:b:d:f                  : 0000:08:00:0
Device Id                     : 0x09C4
Socket Id                     : 0x00
Ports Num                     : 01
Bitstream Id                  : 0x123000200000185
Bitstream Version             : 1.2.3
Pr Interface Id               : 69528db6-eb31-577a-8c36-68f9faa081f6
Boot Page                     : user

Can anyone help me?

Thanks.

2 Replies