免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8935 | 回复: 6
打印 上一主题 下一主题

rx6600 efi下升级fw [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-08-14 19:05 |只看该作者 |倒序浏览
本帖最后由 hp-ux民工 于 2010-08-14 20:15 编辑

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-D6217B60E58
  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 <DIR>          4,096  EFI
  12/11/08  05:01a                  296  startup.nsh
          1 File(s)         296 bytes
          1 Dir(s)


fs0:\> cd efi

fs0:\EFI> dir
Directory of: fs0:\EFI

  12/11/08  05:01a <DIR>          4,096  .
  12/11/08  05:01a <DIR>              0  ..
  12/11/08  05:01a <DIR>          4,096  HPUX
  12/11/08  05:01a <DIR>          4,096  Intel_Firmware
  12/11/08  05:01a <DIR>          4,096  diag
  12/11/08  05:01a <DIR>          4,096  hp
  12/11/08  05:01a <DIR>          4,096  tools
          0 File(s)           0 bytes
          7 Dir(s)


fs0:\EFI> cd hp

fs0:\EFI\hp> dir
Directory of: fs0:\EFI\hp

  12/11/08  05:01a <DIR>          4,096  .
  12/11/08  05:01a <DIR>          4,096  ..
  12/11/08  05:01a <DIR>          4,096  tools
  08/12/10  06:57p <DIR>          4,096  firmware
          0 File(s)           0 bytes
          4 Dir(s)


fs0:\EFI\hp> cd firmware

fs0:\EFI\hp\firmware> dir
Directory of: fs0:\EFI\hp\firmware

  08/12/10  06:57p <DIR>          4,096  .
  08/12/10  06:57p <DIR>          4,096  ..
  08/12/10  07:00p                   24  update_SFW.nsh
  08/12/10  07:00p           10,168,320  fweupdate_1p90.efi
  08/12/10  07:01p              223,744  fweupdate_prerun_s0415_b0526_mF0225.efi

          3 File(s)  10,392,088 bytes
          2 Dir(s)


fs0:\EFI\hp\firmware> update_SFW.nsh
update_SFW.nsh> fweupdate_1p90.efi -mnuF
*************************************************************************
****                                                                 ****
****                         FWEUPDATE                               ****
****         EFI Firmware Update Utility for IPF Systems             ****
****      (c) Copyright Hewlett-Packard Company, 2001-2006           ****
****                    All rights reserved.                         ****
****                                                                 ****
****                           v1.00                                 ****
****                                                                 ****
*************************************************************************
Executing Command line options: -mnuF
Opening logfile: fs0:\EFI\hp\firmware\fweupdate_history.log
System Product ID = rx6600
M = Bypass the 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

搞定收工

评分

参与人数 1可用积分 +5 收起 理由
yuio654 + 5 支持原创

查看全部评分

论坛徽章:
5
CU大牛徽章
日期:2013-09-18 15:16:55CU大牛徽章
日期:2013-09-18 15:18:22CU大牛徽章
日期:2013-09-18 15:18:432015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:49:45
2 [报告]
发表于 2010-08-15 00:46 |只看该作者
看起来蛮复杂的

论坛徽章:
0
3 [报告]
发表于 2010-08-16 20:45 |只看该作者
好贴,顶一个。

论坛徽章:
0
4 [报告]
发表于 2010-08-17 21:02 |只看该作者

论坛徽章:
0
5 [报告]
发表于 2011-05-16 21:59 |只看该作者
顶一个写的太好了

论坛徽章:
0
6 [报告]
发表于 2011-09-07 00:46 |只看该作者
{:3_190:}  好帖  必顶!!

论坛徽章:
0
7 [报告]
发表于 2012-03-22 22:47 |只看该作者
顶一下,好东西,有些地方那个看不懂。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP