From Wiki-UX.info

Wiki-UX / Fibre Channel / How to update FCD Driver-Based FLASH ROM
Jump to: navigation, search

How to update FCD Driver-Based FLASH ROM

Abstract

This article demostrates how to update the FLASH ROM of FCD Driver-Based and FC/GigE Combo fibre cards using the HP-UX fcmsutil command. A demostration of the update process of a A9784A 2GB Combo Fibre Channel Host Bus Adaptor illustrates the procedure.

Always update the EFI (Integrity) FLASH ROM first follow by the PA-RISC (HP 9000). There is a know issue with some firmware releases that does not allow to complete the PA-RISC update due to lack of FLASH ROM space. The required space is released updating the EFI portion first.

Contents


Obtain the latest Firmware for the Fibre Channel Host Bus Adaptor

Determine the system Fibre Channel HBA device special file

# ioscan -fnkC fc
Class     I  H/W Path     Driver S/W State   H/W Type     Description
===================================================================
fc        0  0/4/1/0/4/0  fcd   CLAIMED     INTERFACE    HP A9784-60002 PCI/PCI-X Fibre Channel FC/GigE Combo Adapter (FC Port 1)
                         /dev/fcd0

Check current Firmware version

# fcmsutil /dev/fcd0 vpd
                V I T A L   P R O D U C T   D A T A
                ---------   -------------   -------

 Product Description    : "HP 2Gb Fibre Channel FC/GigE-TX Combo Adapter              "

 Part number            : "A9784-60002"

 Engineering Date Code  : "A-4550"

 Part Serial number     : "PRA0613ML6"

 Misc. Information      : "PW=25W;PCI 66MHZ;PCI-X 133MHZ"

 Mfd. Date              : "4616"

 Check Sum              : 0x72

 EFI version            : "001.47"

 ROM Firmware version   : "003.003.154"

 Asset Tag              : "NA"

Upload the Fimware files to /var/tmp directory

According to the software bundle README file, the required firmware binary files are:

  • ql2312ef.bin: 2 Gb fibre channel adapter EFI driver image file Version 1.50
  • ql2312fw.bin: 2 Gb fibre channel adapter RISC firmware file Version 3.03.171

Upload the files to a temporary directory (/var/tmp). Check the uploaded files:

# ll /var/tmp/ql2312*.bin
-rw-r--r--   1 root       sys          50176 Feb  4 10:45 /var/tmp/ql2312ef.bin
-rw-r--r--   1 root       sys          75264 Feb  4 10:45 /var/tmp/ql2312fw.bin

Update EFI (Integrity) firmware

Use the fcmsutil command efi_drv_update option to upload the corresponding EFI image to the HBA.

# /opt/fcms/bin/fcmsutil /dev/fcd# efi_drv_update <firmware.bin>

Example:

# /opt/fcms/bin/fcmsutil /dev/fcd0 efi_drv_update /var/tmp/ql2312ef.bin
 
WARNING: This is a DESTRUCTIVE operation.
This might result in failure of current I/O requests.
Do you want to continue? (y/n) [n]...y
 
##### IMPORTANT NOTICE:
 
If boot disks are connected to this HBA and your system is
not configured with LVM or if LVM is configured without
failover capability, this operation can cause significant
system downtime in case any error occurs during the ROM
update operation.
 
Do you want to continue? (y/n) [n]...y
 
Please save the below Vital Product Data (VPD) information.
If the ROM update fails due to an irrecoverable error, this
data may be lost forever. In such a scenario, contact HP and
provide this data to restore the VPD back onto the ROM.
 
                V I T A L   P R O D U C T   D A T A
                ---------   -------------   -------
 
 Product Description    : "HP 2Gb Fibre Channel FC/GigE-TX Combo Adapter              "
 
 Part number            : "A9784-60002"
 
 Engineering Date Code  : "A-4550"
 
 Part Serial number     : "PRA0613ML6"
 
 Misc. Information      : "PW=25W;PCI 66MHZ;PCI-X 133MHZ"
 
 Mfd. Date              : "4616"
 
 Check Sum              : 0x72
 
 EFI version            : "001.47"
 
 ROM Firmware version   : "003.003.154"
 
 Asset Tag              : "NA"
 
This operation may take upto 30 secs to complete...
ROM has been updated successfully. The new firmware and VPD will take effect
after the system has been rebooted.

Update PA-RISC (HP 9000) firmware

Use the fcmsutil command rom_fw_update option to upload the corresponding PA-RISC image to the HBA.

# /opt/fcms/bin/fcmsutil /dev/fcd# rom_fw_update <firmware.bin>

Example:

# /opt/fcms/bin/fcmsutil /dev/fcd0 rom_fw_update /var/tmp/ql2312fw.bin
 
WARNING: This is a DESTRUCTIVE operation.
This might result in failure of current I/O requests.
Do you want to continue? (y/n) [n]...y
 
##### IMPORTANT NOTICE:
 
If boot disks are connected to this HBA and your system is
not configured with LVM or if LVM is configured without
failover capability, this operation can cause significant
system downtime in case any error occurs during the ROM
update operation.
 
Do you want to continue? (y/n) [n]...y
 
Please save the below Vital Product Data (VPD) information.
If the ROM update fails due to an irrecoverable error, this
data may be lost forever. In such a scenario, contact HP and
provide this data to restore the VPD back onto the ROM.
 
                V I T A L   P R O D U C T   D A T A
                ---------   -------------   -------
 
 Product Description    : "HP 2Gb Fibre Channel FC/GigE-TX Combo Adapter              "
 
 Part number            : "A9784-60002"
 
 Engineering Date Code  : "A-4550"
 
 Part Serial number     : "PRA0613ML6"
 
 Misc. Information      : "PW=25W;PCI 66MHZ;PCI-X 133MHZ"
 
 Mfd. Date              : "4616"
 
 Check Sum              : 0x72
 
 EFI version            : "001.47"
 
 ROM Firmware version   : "003.003.154"
 
 Asset Tag              : "NA"
 
This operation may take upto 30 secs to complete...
ROM has been updated successfully. The new firmware and VPD will take effect
after the system has been rebooted.

Reboot the system

# shutdown -ry 0

Check the new firmware information

Use the fcmsutil command vpd option to check that the new firmware images are recognized.

# fcmsutil /dev/fcd0 vpd
                V I T A L   P R O D U C T   D A T A
                ---------   -------------   -------

 Product Description    : "HP 2Gb Fibre Channel FC/GigE-TX Combo Adapter              "

 Part number            : "A9784-60002"

 Engineering Date Code  : "A-4550"

 Part Serial number     : "PRA0613ML6"

 Misc. Information      : "PW=25W;PCI 66MHZ;PCI-X 133MHZ"

 Mfd. Date              : "4616"

 Check Sum              : 0x72

 EFI version            : "001.50"

 ROM Firmware version   : "003.003.171"

 Asset Tag              : "NA"

Reference

  • HP Reference - fcmsutil(1M) - HP-UX 11i Version 3: February 2007
  • HP Reference - fcmsutil(1M) - HP-UX 11i Version 2: September 2004
  • HP Reference - fcmsutil(1M) - HP-UX 11i Version 1: September 2005

Authors

This page was last modified on 16 July 2010, at 02:14. This page has been accessed 2,515 times.