Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
64 Views

Issues with updating Arria10 PAC for AFU

Hello,

Platform info: Arria 10 GX PAC

Host System: Ubuntu 18.04 ( 4.15.0 kernel), Xeon Gold 6226R CPU dual-socket server

We have two Arria10 PAC cards that we are trying to run the AFU Getting Started examples (UG 20166), but we need to update our cards to the latest 1.2.1 firmware. On one of the cards, the fpgaotsu update finished correctly, but super-rsu fails with the following error:

 

sudo super-rsu --log-level trace /usr/share/opae/a10-gx-pac/super-rsu/base/rsu-09c4.json
[2020-09-02 21:29:41,652] [DEBUG   ] [MainThread  ] - found fpga objects: ['/sys/class/fpga/intel-fpga-dev.0']
[2020-09-02 21:29:41,653] [DEBUG   ] [MainThread  ] - found device at 0000:89:00.0 -tree is
 [pci_address(0000:85:00.0), pci_id(0x8086, 0x2030)]
    [pci_address(0000:86:00.0), pci_id(0x10b5, 0x8747)]
        [pci_address(0000:87:08.0), pci_id(0x10b5, 0x8747)]
        [pci_address(0000:87:10.0), pci_id(0x10b5, 0x8747)]
            [pci_address(0000:89:00.0), pci_id(0x8086, 0x09c4)]

[2020-09-02 21:29:41,654] [DEBUG   ] [MainThread  ] - could not find: "/sys/class/fpga/intel-fpga-dev.0/intel-fpga-fme.0/ifpga_sec_mgr/ifpga_sec*"
[2020-09-02 21:29:41,654] [WARNING ] [MainThread  ] - [0000:89:00.0] does not support secure update
[2020-09-02 21:29:41,654] [ERROR   ] [MainThread  ] - missing one or more items required by rsu config
[2020-09-02 21:29:41,654] [INFO    ] [MainThread  ] - super-rsu exiting with code '78'

############ FME info ################
fpgainfo fme
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:89: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

 

It seems possible that we are missing some driver here, but I'm not sure what the next thing to check might be.  Does anyone have any suggestions?

0 Kudos
3 Replies
Highlighted
Employee
26 Views

Hi,


Could you try to remove 1 of the board and make sure that the board firmware is able to update to 1.2.1 correctly?


0 Kudos
Highlighted
Beginner
18 Views

Hi John,

I should clarify that we have 2x Arria10 PAC cards but they are in two separate servers both running the same version of Linux. I'm not sure that removing one card would change anything here since there is only one card in each server. Is there something else I could try, either just using the 1.2.0 firmware and an older stack or using a latest Github release, if available?

For more information - one card finishes the initial fpgaotsu update but fails at the super-rsu command (as in this post). The second card in a separate server won't even finish the initial fpgaotsu update process. I tried posting on the OPAE Github for this second issue (link here) but have not heard back yet.

[]$ sudo fpgaotsu /usr/share/opae/a10-gx-pac/fpgaotsu/base/otsu-09C4.json
[2020-09-02 21:12:14,385] [INFO    ] [MainThread] Intel PAC with Intel Arria 10 GX FPGA 0000:01:00.0 is not secure.
[2020-09-02 21:12:14,393] [WARNING ] [MainThread] Update starting. Please do not interrupt.
[2020-09-02 21:12:14,394] [INFO    ] [0000:01:00.0] Updating Intel PAC with Intel Arria 10 GX FPGA : 0000:01:00.0
[2020-09-02 21:12:14,396] [INFO    ] [0000:01:00.0] Erasing flash@0x7fd0000 for 196608 bytes
[2020-09-02 21:12:14,591] [INFO    ] [0000:01:00.0] Writing flash@0x7ff0000 for 104 bytes (RushCreek_Release_key_blk2)
(100%) [████████████████████] [104/104 bytes][Time:0:00:00.000068]              
[2020-09-02 21:12:14,593] [INFO    ] [0000:01:00.0] Reading flash@0x7ff0000 for 104 bytes for verification
(100%) [████████████████████] [104/104 bytes][Time:0:00:00.006021]              
[2020-09-02 21:12:14,600] [INFO    ] [0000:01:00.0] Verified flash@0x7ff0000 for 104 bytes (RushCreek_Release_key_blk2)
[2020-09-02 21:12:14,600] [INFO    ] [0000:01:00.0] Erasing flash@0x1800000 for 41943040 bytes
[2020-09-02 21:12:54,742] [INFO    ] [0000:01:00.0] Writing flash@0x1800000 for 41943040 bytes (dcp_1_2_1_rot_reversed.rpd)
(100%) [████████████████████] [41943040/41943040 bytes][Time:0:01:06.238681]    
[2020-09-02 21:14:01,045] [INFO    ] [0000:01:00.0] Reading flash@0x1800000 for 41943040 bytes for verification
(100%) [████████████████████] [41943040/41943040 bytes][Time:0:00:58.330970]    
[2020-09-02 21:14:59,404] [INFO    ] [MainThread] Total time: 0:02:45.010901
[2020-09-02 21:14:59,405] [ERROR   ] [MainThread] Intel PAC with Intel Arria 10 GX FPGA 0000:01:00.0: Verification of dcp_1_2_1_rot_reversed.rpd @0x25165824 failed
[2020-09-02 21:14:59,405] [ERROR   ] [MainThread] One-Time Secure Update failed

 

 

0 Kudos
Highlighted
Beginner
5 Views

Hi John,

As I mentioned above we only have one 1 card in the machine, and it is running with the listed supported OS of Ubuntu 18.04.

Do you have any other suggestions we could try? For example, should we just use the 1.2.0 acceleration stack until Intel releases a better fix? Alternatively, can we use the 2.0.1 stack for the D5005 PAC to see if that works appropriately?

Thanks,

Jeff

0 Kudos