How to upgrade Field Programmable Device (FPD) on Cisco IOS-XR

How to upgrade Field Programmable Device (FPD) on Cisco IOS XRAs per Cisco official documentation, the definition of FPD as follows:
An FPD refers to any programmable hardware device on a router, which includes a Field Programmable Gate Array (FPGA) and Read Only Memory Monitor (ROMMON). Cisco IOS® XR routers use a number of FPDs that are crucial for the function of route processors, line cards, shared port adapters (SPAs), SPA Interface Processors (SIPs), and fan trays.1. Use the command ‘show hw-module’ to provide information about the FPD
admin show hw-module fpd location all
Sample:RP/0/RSP0/CPU0:CISCO-A9K#admin show hw-module fpd location all===================================== ==========================================
Existing Field Programmable Devices
==========================================
HW                       Current SW Upg/
Location     Card Type                Version Type Subtype Inst   Version   Dng?
============ ======================== ======= ==== ======= ==== =========== ====
0/RSP0/CPU0  A9K-RSP880-TR              1.0   lc   cbc     0      34.38     No
lc   rommon  0      10.59     No
lc   fpga2   0       0.57     No
lc   fsbl    0       1.103    No
lc   lnxfw   0       1.103    No
lc   fpga3   0       0.16     No
lc   fpga4   0       0.16     No
lc   fpga5   0       0.12     No
lc   fpga6   0       0.06     No
——————————————————————————–
0/FT0/SP     ASR-9010-FAN-V2            1.0   ft   cbc     7      29.12     No
——————————————————————————–
0/FT1/SP     ASR-9010-FAN-V2            1.0   ft   cbc     8      29.12     No
——————————————————————————–
0/BPID0/SP   ASR-9010-BPID2             1.0   bp   cbc     11      7.105    No
——————————————————————————–
0/PS0/M0/SP  PWR-6KW-AC-V3              1.0   pm   fpga11  13      4.03^    Yes
pm   fpga12  13      4.01^    Yes
pm   fpga13  13      4.02^    Yes
——————————————————————————–
0/PS0/M1/SP  PWR-6KW-AC-V3              1.0   pm   fpga11  14      4.03^    Yes
pm   fpga12  14      4.01^    Yes
pm   fpga13  14      4.02^    Yes
——————————————————————————–
0/PS1/M0/SP  PWR-6KW-AC-V3              1.0   pm   fpga11  17      4.03^    Yes
pm   fpga12  17      4.01^    Yes
pm   fpga13  17      4.02^    Yes
——————————————————————————–
0/PS1/M1/SP  PWR-6KW-AC-V3              1.0   pm   fpga11  18      4.03^    Yes
pm   fpga12  18      4.01^    Yes
pm   fpga13  18      4.02^    YesNOTES:
1.  One or more FPD needs an upgrade.  This can be accomplished
using the “admin> upgrade hw-module fpd <fpd> location <loc>” CLI.
2.  ^ One or more FPD will be intentionally skipped from upgrade using CLI with option “all” or during “Auto fpd”.
It can be upgraded only using the “admin> upgrade hw-module fpd <fpd> location <loc>” CLI with exact location.

Note: As you can see those FANs and RSPs no longer require upgrade as from the column Upg/Dng? are stated as “No”, while those PWR-6KW power supply are stated as “Yes”.
From the message above, it was mentioned that upgrade can be accomplished using the command
“admin> upgrade hw-module fpd <fpd> location <loc>”
It can be upgraded by using this command:

upgrade hw-module fpd all location all

This is to upgrade all the fpd of all the linecards inserted in the router. But not always works as some fpd need to specify the location.

RP/0/RSP0/CPU0:CISCO-A9K(admin)#upgrade hw-module fpd all location all

This can take some time for a full chassis.
Ensure that system is not power cycled during the upgrades.
Please consult the documentation for more information.

***** UPGRADE WARNING MESSAGE: *****
*  This upgrade operation has a maximum timout of 90 minutes.  *
*  If you are executing the cmd for one specific location and  *
*  card in that location reloads or goes down for some reason  *
*  you can press CTRL-C to get back the RP’s prompt.           *
*  If you are executing the cmd for _all_ locations and a node *
*  reloads or is down please allow other nodes to finish the   *
*  upgrade process before pressing CTRL-C.                     *

% RELOAD REMINDER:
– The upgrade operation of the target module will not interrupt its normal
operation. However, for the changes to take effect, the target module
will need to be manually reloaded after the upgrade operation. This can
be accomplished with the use of “hw-module <target> reload” command.
– If automatic reload operation is desired after the upgrade, please use
the “reload” option at the end of the upgrade command.
– The output of “show hw-module fpd location” command will not display
correct version information after the upgrade if the target module is
not reloaded.
NOTE: Chassis CLI will not be accessible while upgrade is in progress.
Continue ? [no]: yes

No fpd on location 0/RSP0/CPU0 need upgrade at this time.
No fpd on location 0/RSP1/CPU0 need upgrade at this time.
No fpd on location 0/0/CPU0 need upgrade at this time.
No fpd on location 0/1/CPU0 need upgrade at this time.
No fpd on location 0/2/CPU0 need upgrade at this time.

Example:
RP/0/RSP0/CPU0:CISCO-A9K(admin)#upgrade hw-module fpd all location 0/PS0/M1/SP

***** UPGRADE WARNING MESSAGE: *****
*  This upgrade operation has a maximum timout of 90 minutes.  *
*  If you are executing the cmd for one specific location and  *
*  card in that location reloads or goes down for some reason  *
*  you can press CTRL-C to get back the RP’s prompt.           *
*  If you are executing the cmd for _all_ locations and a node *
*  reloads or is down please allow other nodes to finish the   *
*  upgrade process before pressing CTRL-C.                     *

% RELOAD REMINDER:
– The upgrade operation of the target module will not interrupt its normal
operation. However, for the changes to take effect, the target module
will need to be manually reloaded after the upgrade operation. This can
be accomplished with the use of “hw-module <target> reload” command.
– If automatic reload operation is desired after the upgrade, please use
the “reload” option at the end of the upgrade command.
– The output of “show hw-module fpd location” command will not display
correct version information after the upgrade if the target module is
not reloaded.
NOTE: Chassis CLI will not be accessible while upgrade is in progress.
Continue ? [no]: yes

FPD upgrade in progress on some hardware, reload/configuration change
on those is not recommended as it might cause HW programming failure
and result in RMA of the hardware.

Starting the upgrade/download of following FPDs:
=========== ==== ======= ======= =========== =========
Current    Upg/Dng
Location    Type Subtype Upg/Dng   Version    Version
=========== ==== ======= ======= =========== =========
0/PS0/M1/SP pm   fpga11  upg         4.03        4.04
pm   fpga12  upg         4.01        4.02
pm   fpga13  upg         4.02        4.03
——————————————————

Upgrading Delta Power Module Firmware
0/PS0/M1/SP : module: Delta AC V3, upgrade supprted: Parallel

Current power supply 0/PS0/M1/SP firmware version: (Logic 4.3) (Secondary 4.2) (Primary 4.1)

Starting firmware upgrade of power supply 0/PS0/M1/SP Primary 54V micro-controller 0
File path = /net/node0_RSP0_CPU0/disk0:/asr9k-fpd-6.2.3.sp4-1.0.0/fpd/ucode/delta_v3_ac_primary_mcu.bin.gz, Image start 0x1800, No of pages = 64, No of blocks/page = 4, xmit_size = 64

Unzipping the file /net/node0_RSP0_CPU0/disk0:/asr9k-fpd-6.2.3.sp4-1.0.0/fpd/ucode/delta_v3_ac_primary_mcu.bin.gz

Unzipping of file /net/node0_RSP0_CPU0/disk1a:/fpd/delta_v3_ac_primary_mcu.bin.gz complete

FPD upgrade in progress. Max timeout remaining 89 min.
Upgraded power supply 0/PS0/M1/SP firmware version: (Logic 4.3) (Secondary 4.2) (Primary 4.2)

FPD upgrade in progress. Max timeout remaining 88 min.

Upgrading Delta Power Module Firmware
0/PS0/M1/SP : module: Delta AC V3, upgrade supprted: Serial

Current power supply 0/PS0/M1/SP firmware version: (Logic 4.3) (Secondary 4.2) (Primary 4.2)

Starting firmware upgrade of power supply 0/PS0/M1/SP Secondary 5V micro-controller 0
File path = /net/node0_RSP0_CPU0/disk0:/asr9k-fpd-6.2.3.sp4-1.0.0/fpd/ucode/delta_v3_ac_sec5v_mcu.bin.gz, Image start 0x2000, No of pages = 896, No of blocks/page = 1, xmit_size = 64

Unzipping the file /net/node0_RSP0_CPU0/disk0:/asr9k-fpd-6.2.3.sp4-1.0.0/fpd/ucode/delta_v3_ac_sec5v_mcu.bin.gz

Unzipping of file /net/node0_RSP0_CPU0/disk1a:/fpd/delta_v3_ac_sec5v_mcu.bin.gz complete

FPD upgrade in progress. Max timeout remaining 87 min.
FPD upgrade in progress. Max timeout remaining 86 min.
FPD upgrade in progress. Max timeout remaining 85 min.
Upgraded power supply 0/PS0/M1/SP firmware version: (Logic 4.4) (Secondary 4.2) (Primary 4.2)

Upgrading Delta Power Module Firmware
0/PS0/M1/SP : module: Delta AC V3, upgrade supprted: Parallel

Current power supply 0/PS0/M1/SP firmware version: (Logic 4.4) (Secondary 4.2) (Primary 4.2)

Starting firmware upgrade of power supply 0/PS0/M1/SP Secondary 54V micro-controller 0
File path = /net/node0_RSP0_CPU0/disk0:/asr9k-fpd-6.2.3.sp4-1.0.0/fpd/ucode/delta_v3_ac_sec54v_mcu.bin.gz, Image start 0x2000, No of pages = 640, No of blocks/page = 1, xmit_size = 64

Unzipping the file /net/node0_RSP0_CPU0/disk0:/asr9k-fpd-6.2.3.sp4-1.0.0/fpd/ucode/delta_v3_ac_sec54v_mcu.bin.gz

Unzipping of file /net/node0_RSP0_CPU0/disk1a:/fpd/delta_v3_ac_sec54v_mcu.bin.gz complete

FPD upgrade in progress. Max timeout remaining 84 min.
FPD upgrade in progress. Max timeout remaining 83 min.
FPD upgrade in progress. Max timeout remaining 82 min.
FPD upgrade in progress. Max timeout remaining 81 min.
FPD upgrade in progress. Max timeout remaining 80 min.
Upgraded power supply 0/PS0/M1/SP firmware version: (Logic 4.4) (Secondary 4.3) (Primary 4.2)

Successfully upgraded    fpga11 for        PWR-6KW-AC-V3 on location 0/PS0/M1/SP from  4.03 to  4.04
Successfully upgraded    fpga12 for        PWR-6KW-AC-V3 on location 0/PS0/M1/SP from  4.01 to  4.02
Successfully upgraded    fpga13 for        PWR-6KW-AC-V3 on location 0/PS0/M1/SP from  4.02 to  4.03

FPD upgrade has ended.

2 Comments

  1. Hawbir said:

    hello there,
    can you please let me know, when you upgrade the power supply FPD.
    did it required a reload ?
    if yes, can we reload each one separately? to avoid reloading the ASR or outage?

    we have same thing that need to upgrade the PWR but since the ASR in the production we can’t take risk of reloading it.

    Thank you.

    Regards,
    Hawbir

    • yes need to reload, but you can do it separately. Make sure you have a redundant power supply so no outage. You can use the command “hw-module location (node) reload” , where node is the power module e.g. 0/PS0/M0/SP

Leave a Reply

Your email address will not be published. Required fields are marked *