!http://www.sun.com/bigadmin/home/images/bigadminHeaderWikiThumb.jpg!
{section:border=false}
{column:width=25%}
{include:TOC for Tech Tips}
{column}
{column:width=75%}
h4. Firmware Flash Utility for SAS Expanders
h5. Purpose
Sun provides a [Firmware Flash Utility|https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SunFWFlashUtil-1.9-S-G-F@CDS-CDS_SMI] for updating the expander firmware on SPARC and X64 based platforms. The utility provides a command line interface for installing updated firmware for systems with a SAS expander attached using the {{mpt(7d)}} driver. A man page is also provided for reference on the firmware flash utility usage.
This is an unbundled product and requires Solaris 10 10/08 or later. The utility allows customers to upgrade the SAS expander firmware on the Sun Fire T5140/T5240, Sun Storage J4200/J4300/J4400/J4500/J4650/J5100 Arrays, and also some storage blades.
h5. Installation Instructions
Verify that the required patches (138888-05 or later for SPARC systems, 138889-05 or later for X64 systems) are installed on your system. (SPARC example shown below in the following steps)
{noformat}
# showrev -p | grep 138888
{noformat}
You can obtain the patches from [SunSolve|http://sunsolve/show.do?target=home]. Download the patch to {{/tmp}} and install on your system.
Install the required patch:
{noformat}
# patchadd /tmp/138888-05
{noformat}
Reboot your system after patch installation:
{noformat}
# reboot
{noformat}
[Download the Firmware Flash Utility package|https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SunFWFlashUtil-1.9-S-G-F@CDS-CDS_SMI]. Save the downloaded tar archive into {{/tmp}} and extract the package.
{noformat}
# tar -xvf /tmp/SUNWfirmwareflash-1_9-sparc.tar
{noformat}
Install the Firmware Flash Utility package on your system.
{noformat}
# pkgadd -d /tmp SUNWfirmwareflash
{noformat}
Use the {{firmwareflash}} utility to list all the flashable {{ses}} devices in the system.
A flashable {{ses}} node will look similar to this:
{noformat}
# /usr/sbin/firmwareflash -l
List of available devices:
Device[0] /devices/pci@0/pci@0/pci@2/scsi@0/ses@3,0:ses
Class [sgen]
Target port WWN : 500605b00002453d
Vendor : SUN
Product : 16Disk Backplane
Firmware revision: 5021
{noformat}
Obtain the correct firmware flash image files for your system from your Sun Support representative.
Flash the firmware onto each applicable {{ses}} device.
{noformat}
# /usr/sbin/firmwareflash -d <ses device path> \
-f <bootrecord>,<mfgImg>,<core fw>
{noformat}
Note that you will need the full {{ses device path}} to complete this operation. See the example output in the steps above for details.
The {{<bootrecord>}} filename will look similar to {{filename.rxp}}
The {{<mfgImg>}} filename will look similar to {{mfgImageCust03V.bin}}
The {{<core fw>}} filename will look similar to {{sasxfwnv.5.02.10.00.fw}}
During the flashing process you should expect to see entries in {{/var/adm/messages}} about your {{ses}} device going offline and coming online. These messages are normal and expected.
If {{firmwareflash}} does not successfully flash each image, repeat the flash operation separately for the images which did not work. It might be necessary to wait for up to 90 seconds after the previous flash operation has concluded before flashing the next image onto the {{ses}} node.
You must now power cycle the system to run the newly flashed firmware.
{noformat}
# shutdown -i0 -g0 -y
{noformat}
Wait until the server displays the OpenBoot PROM {{ok}} prompt or the following menu:
{noformat}
r)eboot, o)k prompt, h)alt?
{noformat}
Power off the system.
{noformat}
sc> poweroff -fy
{noformat}
Wait until the system displays the following message:
{noformat}
Chassis | critical: Host has been powered off
{noformat}
Power on the server and boot to Solaris.
{noformat}
sc> poweron -c
{noformat}
{column}
{section}
{section:border=false}
{column:width=25%}
{include:TOC for Tech Tips}
{column}
{column:width=75%}
h4. Firmware Flash Utility for SAS Expanders
h5. Purpose
Sun provides a [Firmware Flash Utility|https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SunFWFlashUtil-1.9-S-G-F@CDS-CDS_SMI] for updating the expander firmware on SPARC and X64 based platforms. The utility provides a command line interface for installing updated firmware for systems with a SAS expander attached using the {{mpt(7d)}} driver. A man page is also provided for reference on the firmware flash utility usage.
This is an unbundled product and requires Solaris 10 10/08 or later. The utility allows customers to upgrade the SAS expander firmware on the Sun Fire T5140/T5240, Sun Storage J4200/J4300/J4400/J4500/J4650/J5100 Arrays, and also some storage blades.
h5. Installation Instructions
Verify that the required patches (138888-05 or later for SPARC systems, 138889-05 or later for X64 systems) are installed on your system. (SPARC example shown below in the following steps)
{noformat}
# showrev -p | grep 138888
{noformat}
You can obtain the patches from [SunSolve|http://sunsolve/show.do?target=home]. Download the patch to {{/tmp}} and install on your system.
Install the required patch:
{noformat}
# patchadd /tmp/138888-05
{noformat}
Reboot your system after patch installation:
{noformat}
# reboot
{noformat}
[Download the Firmware Flash Utility package|https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SunFWFlashUtil-1.9-S-G-F@CDS-CDS_SMI]. Save the downloaded tar archive into {{/tmp}} and extract the package.
{noformat}
# tar -xvf /tmp/SUNWfirmwareflash-1_9-sparc.tar
{noformat}
Install the Firmware Flash Utility package on your system.
{noformat}
# pkgadd -d /tmp SUNWfirmwareflash
{noformat}
Use the {{firmwareflash}} utility to list all the flashable {{ses}} devices in the system.
A flashable {{ses}} node will look similar to this:
{noformat}
# /usr/sbin/firmwareflash -l
List of available devices:
Device[0] /devices/pci@0/pci@0/pci@2/scsi@0/ses@3,0:ses
Class [sgen]
Target port WWN : 500605b00002453d
Vendor : SUN
Product : 16Disk Backplane
Firmware revision: 5021
{noformat}
Obtain the correct firmware flash image files for your system from your Sun Support representative.
Flash the firmware onto each applicable {{ses}} device.
{noformat}
# /usr/sbin/firmwareflash -d <ses device path> \
-f <bootrecord>,<mfgImg>,<core fw>
{noformat}
Note that you will need the full {{ses device path}} to complete this operation. See the example output in the steps above for details.
The {{<bootrecord>}} filename will look similar to {{filename.rxp}}
The {{<mfgImg>}} filename will look similar to {{mfgImageCust03V.bin}}
The {{<core fw>}} filename will look similar to {{sasxfwnv.5.02.10.00.fw}}
During the flashing process you should expect to see entries in {{/var/adm/messages}} about your {{ses}} device going offline and coming online. These messages are normal and expected.
If {{firmwareflash}} does not successfully flash each image, repeat the flash operation separately for the images which did not work. It might be necessary to wait for up to 90 seconds after the previous flash operation has concluded before flashing the next image onto the {{ses}} node.
You must now power cycle the system to run the newly flashed firmware.
{noformat}
# shutdown -i0 -g0 -y
{noformat}
Wait until the server displays the OpenBoot PROM {{ok}} prompt or the following menu:
{noformat}
r)eboot, o)k prompt, h)alt?
{noformat}
Power off the system.
{noformat}
sc> poweroff -fy
{noformat}
Wait until the system displays the following message:
{noformat}
Chassis | critical: Host has been powered off
{noformat}
Power on the server and boot to Solaris.
{noformat}
sc> poweron -c
{noformat}
{column}
{section}