efi下升级fw,相比之前的ftp升级简单很多,不用架设ftp服务器,不用一个一个指定文件
1.mp下sysrev查看当前的fw版本,下载最新的4.11b
2.ftp上传至/tmp/fw目录
3.解压缩文件
gunzip PF_CRUSASYS0415EFI.tar.gz
tar -xvf PF_CRUSASYS0415EFI.tar
4.查看根盘分区(11.31系统)
lvdisplay -v /dev/vg00/lvol3 | more
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/disk/disk5_p2 320 320
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/disk/disk5_p2 00994 current
5.cp至efi分区
#/usr/sbin/efi_mkdir -d /dev/rdisk/disk5_p1 /efi/hp/firmware
#/usr/sbin/efi_ls -d /dev/rdisk/disk5_p1 /efi/hp/firmware
FileName Last Modified Size
. 8/12/2010 0
.. 8/12/2010 0
total space 523218944 bytes, free space 520212480 bytes
# /usr/sbin/efi_cp -d /dev/rdisk/disk5_p1 update_SFW.nsh /efi/hp/firmware/update_SFW.nsh
# /usr/sbin/efi_cp -d /dev/rdisk/disk5_p1 fweupdate_1p90.efi /efi/hp/firmware/fweupdate_1p90.efi
# /usr/sbin/efi_cp -d /dev/rdisk/disk5_p1 fweupdate_prerun_s0415_b0526_mF0225.efi /efi/hp/firmware/fweupdate_prerun_s0415_b0526_mF0225.efi
# /usr/sbin/efi_ls -d /dev/rdisk/disk5_p1 /efi/hp/firmware
FileName Last Modified Size
. 8/12/2010 0
.. 8/12/2010 0
update_SFW.nsh 8/12/2010 24
fweupdate_1p90.efi 8/12/2010 10168320
fweupdate_prerun_s0415_b0526_mF0225.efi
8/12/2010 223744
total space 523218944 bytes, free space 509812736 bytes
# /usr/sbin/shutdown -ry 0
6.重启最近efi shell,升级fw
Shell> map
Device mapping table
fs0 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Scsi(Pun7,Lun0)/HD(Part1,Sig2144DAF6-C740-11DD-8000-D6217B60E58
fs1 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Scsi(Pun7,Lun0)/HD(Part3,Sig2144DB50-C740-11DD-8000-D6217B60E5
8
blk0 : Acpi(HWP0002,PNP0A03,0)/Pci(2|1)/Usb(0, 0)
blk1 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C5000EE78989,Lun0)
blk2 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C5000EEA9181,Lun0)
blk3 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Scsi(Pun7,Lun0)
blk4 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Scsi(Pun7,Lun0)/HD(Part1,Sig2144DAF6-C740-11DD-8000-D6217B60E58
blk5 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Scsi(Pun7,Lun0)/HD(Part2,Sig2144DB3C-C740-11DD-8000-D6217B60E58
blk6 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Scsi(Pun7,Lun0)/HD(Part3,Sig2144DB50-C740-11DD-8000-D6217B60E58
Shell> fs0:
fs0:\> dir
Directory of: fs0:\
12/11/08 05:01a
he downrev checking.
N = User non-interactive mode enabled.
U = Smart FPGA update enabled.
F = Flash embedded images or specified file
Using Embedded Image(s) : System FW, BMC FW, MP FW
Verifying integrity of BMC Image...
BMC Image Integrity Verified.
Verifying integrity of System Image...
System Image Integrity Verified.
Verifying integrity of MP Image...
MP Image Integrity Verified.
This recipe supports Product ID = rx6600
Current Time: 08/12/10 11:17a
FW Component Sys Rev New Rev Status
---------------------- -------- -------- ------------------
SFW................... 04.03 04.15 UpRev
BMC................... 05.23 05.26 UpRev
MP.................... F0217 F0225 UpRev
PDH................... 50.07 50.07 Identical
DHPC.................. 01.23 01.23 Identical
UCIO.................. 03.0b 03.0b Identical
HFC................... 00.04 00.04 Identical
>>> Identical images will not be reflashed. Use -o to override.
Alternate ROM contains SFW 4.03 and will be overwritten...
Warning: You have initiated an automatic firmware update.
Update may take up to 7 minutes.
If you do not wish to update please press any key
within the next 10 seconds..........
*************************************************************************
***************** Warning ! Warning ! Warning ! *********************
*************************************************************************
**** ****
**** !!!! DO NOT POWER OFF SYSTEM AT THIS TIME !!!! ****
**** Any loss of power to the system during this procedure ****
**** will render the system unusable. ****
**** ****
**** DO NOT update MP firmware via the network ****
**** while this program is running. ****
**** ****
*************************************************************************
Executing external support app:
fs0:\EFI\hp\firmware\fweupdate_prerun_s0415_b0526_mF0225.efi
PCIe switch configuration update application revision 5.
Function ID = 0x0000122E
No update necessary.
Support app completed successfully
Previous contents of System Alternate ROM: 4.03
Updating System firmware image to: 4.15
................................................................
Performing System Alternate ROM checksum:
................................................................
System Alternate ROM checksum good.
Updating BMC firmware image...
...................
.........................................................................
............
.............................................................
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.................................................
Please wait, Resetting BMC...
Updating MP firmware image...
After updating, the MP will reset, and the MP console will be disconnected.
You will need to reconnect to the MP manually.
MP package component #1 (PDH)
...skipping
MP package component #2 (DHPC)
...skipping
MP package component #3 (MP)
Transferring MP File F0225.bin
Checksumming downloaded image
...
Writing MP component
........................
MP package component #4 (MP)
Transferring MP File F0225_Resources.out
Checksumming downloaded image
.
Writing MP component
..............
MP package component #5 (MP)
Transferring MP File F0225_version.dat
Checksumming downloaded image
Writing MP component
MP package component #6 (UCIO)
...skipping
MP package component #7 (HFC)
...skipping
-> MP firmware upgrade complete - All connections will be dropped.
MP will now reset....
MP Download Finished
Enabling ROM swap... Flash1 will be validated and activated on next boot...
FWEUPDATE FINISHED:
Waiting for MP reset
..HP Management Processor
Firmware Revision F.02.25 Feb 10 2010,22:30:29
(c) Copyright Hewlett-Packard Company 1999-2010. All Rights Reserved.
*************************************************************************
This is a private system.
Do not attempt to login unless you are an authorized user.
Any authorized or unauthorized access or use may be monitored and can
result in criminal or civil prosecution under applicable law.
*************************************************************************
*************************************************************************
Only default users are configured.
Use one of the following user/password pairs to login:
Admin/Admin
Oper/Oper
进入cm
sysrev验证
升级完成后,删除之
#/usr/sbin/efi_rm -d /dev/rdisk/disk5_p1 /efi/hp/firmware/update_SFW.nsh
#/usr/sbin/efi_rm -d /dev/rdisk/disk5_p1 /efi/hp/firmware/fweupdate_prerun_s0415_b0526_mF0225.efi
#/usr/sbin/efi_rm -d /dev/rdisk/disk5_p1 /efi/hp/firmware/fweupdate_1p90.efi
搞定收工