免费注册 查看新帖 |

Chinaunix

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

(轉貼)如何升級OBP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-09 00:18 |只看该作者 |倒序浏览
1)  Determine the System's Current Firmware Revisions
    -------------------------------------------------

    While the OS is running the following command may be used to
    determine the current system firmware revisions;

        /usr/sbin/prtconf -V
        or
        /usr/platform/sun4u/sbin/prtdiag -v | grep OBP

    The firmware revisions may also be determined from the PROM monitor's
    "ok" prompt with the following command;

        .version

2)  Compare the current Flash PROM firmware revision with the available or
    latest Flash PROM firmware revisions.

    Compare the output of the OBP line in the "prtdiag -v" or "prtconf -V"
    output. Find the revision number and compare with the revision on the
    entries below that of the "flash-update-Ultra1-Modelxxx-latest" line

      Available Firmware Revisions
      ----------------------------

-09/140 Model 140: flash-update-Ultra1-Model140-latest
         Sun Ultra 1 SBus 3.35 Version 0 created 2004/04/19 12:15
         Sun Ultra Enterprise 1 SBus POST 3.10.6 10/18/1996 10:19 AM

-09/170 Model 170: flash-update-Ultra1-Model170-latest
         Sun Ultra 1 SBus 3.35 Version 0 created 2004/04/19 12:16
         Sun Ultra Enterprise 1 SBus POST 3.10.6 10/18/1996 10:19 AM


3)  Is the UPGRADE NECESSARY?

    If the current Flash PROM revision matches the version numbers given under
    the flash-update-Ultra1-latest line, then STOP Here. This UPGRADE IS NOT
    NECESSARY.

    If the current Flash PROM firmware revision is lower than the latest
    firmware revision in this patch, then proceed to the next step.

4) Preparing the System
   ---------------------

  a) As root, copy the "flash-update" files from the directory containing the
     patch to the root directory as follows:

     # cp flash*latest  /
     # chmod 755 /flash-update*

     In order to boot the binary, it must be located within the root
     partition.  If it is not already located within the root partition
     then move it to /.  If the binary is already located elsewhere
     within the root partition then note the exact filepath so that the
     binary can be booted later.

  b) As root, exit the OS such that the system returns to the PROM's "ok"
     prompt:

     # halt

       ok

  c) Power off the system.
     Check that you have security-mode = none in the PROM setup.
     This is necessary because it is possible the upgrade process
     will corrupt the PROM password.

       ok printenv

     If you do, set the security mode to none

       ok setenv security-mode none

  d) Power off the system.

  ** CAUTION **  Do not attempt to access any part of the system hardware
                  with the system power still on!

  e) Remove the system top cover.  (If you unsure how to do this then
     consult your system "Installation Guide" or "Service Manual".)

  f) Set J2003 to write enable at 2+3. Default is write protect at 1+2

     Locate jumper J2003.  NOTE that a plug-in card may be installed in
     the system which covers J2003 - if this is the case then you will
     have to remove the plug-in card in order to access J2003.

     Jumper J2003 provides a write enable/disable mechanism for the
     Flash PROM.  J2003 normally connects pins 1+2, which causes the
     Flash PROM to be write protected.  To enable patch installation,
     write enable the Flash PROM by MOVING the J2003 jumper from pins 1+2
     to pins 2+3.

     **IMPORTANT NOTE**: If this jumper is NOT set to WRITE ENABLE, the
     Flash update will fail.

     (If you have difficulty locating J2003 then consult Figure 1-1 in the
     "Sun Flash PROM Guide for Workstations and Workgroup Servers -
     Standalone Version".

     If a plug-in card was removed to access J2003 in the step above
     then reinstall the card now.

  g) Replace the system top cover.


5)  Running the Flash Update Utility
    --------------------------------

  a) Power on the system

     Wait for the PROM's banner to appear, and then

  b) use the Stop-A keys (or Break key, if running from a serial line) to
     abort the auto-boot sequence.

     ** NOTE **  If the flash update completes normally then the values
     contained within the system's Non-Volatile RAM (NVRAM) configuration
     variables will be retained.  However, if the update process is some-
     how interrrupted then it is possible that any non-default values
     contained in NVRAM will be lost.  For this reason it is recommended
     that you note down on paper the contents of any NVRAM configuration
     variable which has been customized so that they may be manually
     restored at a later time, if necessary.  (Use the PROM's "printenv"
     command to list the variables and their values.)

  c) The system should now display the PROM monitor's "ok" prompt.
     Now boot the Flash update utility as given below:

     CAUTION: Do not boot/run revisions lower than the latest unless you
              are absolutely sure that that is what you want to do!

     ok boot disk /flash-update-Ultra1-latest

     NOTE: If your system's boot device is not "disk" then you will
           have to specify the appropriate devalias (e.g. disk2).
           If the binary is located in a location other than / then
           provide the entire filepath after the boot device.

     Answer the questions as prompted by the utility.


+++++++++++++++++++++ example Flash update follows +++++++++++++++++++++++
++++++++ Note that this is an example only.  Much of the information ++++++
++++++++ which is displayed by your system will be different from    ++++++
++++++++ what is shown below.                                        ++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Standalone Flash PROM Update Utility, Rev. 2.4
                        Ultra(tm) 1
                        Ultra(tm) 2
                        Ultra(tm) 5/10
                        Ultra(tm) 30
                        Ultra(tm) 60 / E220R
                        Ultra(tm) 80 / E420R
                        Ultra(tm) Enterprise(tm) 250
                        Ultra(tm) Enterprise(tm) 450


This utility allows you to interactively update the firmware
revisions in specific system Flash PROM components.

Type h for help, q to quit, Return or Enter to continue:

Every precaution should be taken to prevent the loss of system
power during the Flash PROM programming process!

Type h for help, q to quit, Return or Enter to continue:


       Firmware Release(s)                Firmware Release(s)
Currently Existing in the System      Available for Installation  /  Install?
---------------------------------- -------------------------------------------
OBP 3.1.2 1996/03/28 17:08         OBP 3.1.5 1996/08/27 16:13           no
POST 3.1.4 1996/04/09 03:23        POST 3.1.5 1996/06/28 11:54          no

Type sa if you wish to select all available firmware releases for
installation.  Type h for help, quit to exit, or cont to continue: sa



       Firmware Release(s)                Firmware Release(s)
Currently Existing in the System      Available for Installation  /  Install?
---------------------------------- -------------------------------------------
OBP 3.1.2 1996/03/28 17:08         OBP 3.1.5 1996/08/27 16:13           YES
POST 3.1.4 1996/04/09 03:23        POST 3.1.5 1996/06/28 11:54          YES

Type sa if you wish to select all available firmware releases for
installation.  Type h for help, quit to exit, or cont to continue: cont


The Flash programming process is about to begin.

Type h for help, q to quit, Return or Enter to continue:

Erasing the top half of the Flash PROM.
Programming OBP into the top half of the Flash PROM.
Verifying OBP in the top half of the Flash PROM.

Erasing the bottom half of the Flash PROM.
Programming OBP into the bottom half of Flash PROM.
Verifying OBP in the bottom half of the Flash PROM.

Erasing the top half of the Flash PROM.
Programming POST into the top half of Flash PROM.
Verifying POST in the top half of the Flash PROM.

Programming was successful.

Resetting ...


Restoring previous NVRAM environment settings...

<If any NVRAM configuration variables have custom values installed then
you will see a list of the variables/values which are being restored.>;
#power-cycles =       10
auto-boot? =          false
security-#badlogins =  0
OK
Resetting ...


+++++++++++++++++++++ example Flash update ends ++++++++++++++++++++++++++

  Note that the section "Restoring previous NVRAM environment settings..."
  up to the "Resetting ..." line will only be displayed on serial port A.
  If you are running from the keyboard/console devices then you will not
  see those lines displayed.

  Once the PROM's banner reappears then use the Stop-A keys (or Break
  key, if running from a serial line) to abort the auto-boot sequence
  if the system begins to boot.

6)  Verifying successful Flash PROM Update

    Verify from the results of the .version command that the OBP
    version matches the OBP version given above under the
    flash-update-Ultra1-latest entry in Step 2.

7)  Restoring the system

    The system should be restored to the original set-up as follows:

    a) Turn the power to the system off.
    b) Remove the top cover and move jumper J2003 to pins 1+2.
    c) Replace the top cover.

    If any problems should be encountered during the firmware upgrade
    then consult the "Sun Flash PROM Guide for Workstations and Workgroup
    Servers - Standalone Version".

  Resume operations

    a) Turn on the system power and allow the system to boot the
       operating system.

    b) Once the system has rebooted you may wish to remove the Flash Update
       binaries and documents since they will no longer be needed.

       # rm /flash-update*

    c) Remember to remove the files from their original location if
       they were not extracted directly into the root directory.


9)  Restoring PROM security mode settings

    If you wish to turn on security-mode=command or security-mode=full
    in the PROM, ensure you set the password first. For example:

      ok  setenv password

      ok  setenv security-mode command

    Failing to set the password before the security-mode can leave you
    locked out of the system.

Special Install Instructions:
-----------------------------

**************************************************************************
**************************************************************************
**WARNING:****WARNING:****WARNING:****WARNING:****WARNING:****WARNING:**

*  PLEASE READ THE INSTRUCTIONS CAREFULLY AND ENTIRELY.  PLEASE FOLLOW THE
   INSTRUCTIONS EXACTLY AS THEY ARE STATED.

*  FAILURE TO FOLLOW INSTRUCTIONS COULD EITHER RESULT IN A DEFECTIVE BOARD OR
   UNSUCCESSFUL FLASH PROM UPDATE.

*  THIS IS NOT A STANDARD PATCH in that it does not use the installpatch
   and backoutpatch scripts.

*  THIS PATCH CANNOT BE INSTALLED ON AN ONLINE OPERATING SYSTEM BECAUSE
   THE INSTALL INSTRUCTIONS REQUIRES THAT THE SYSTEM BE BROUGHT DOWN.
   BE SURE TO SCHEDULE DOWN TIME TO INSTALL THIS PATCH.

*  INSTALLATION OF THIS PATCH REQUIRES A HARDWARE JUMPER CHANGE. IF YOU ARE
   UNSURE ON HOW TO OPEN THE SYSTEM BOX, PLEASE ENSURE THAT A QUALIFIED
   PERSON, WITH THE STATIC WRIST STRAP KIT NEEDED TO SERVICE ELECTRONIC
   EQUIPMENT, IS AVAILABLE TO COMPLETE THIS ACTIVITY. FAILURE TO USE STATIC
   PROTECTION KIT OR IMPROPER HANDLING COULD RESULT IN THE DAMAGE OF THE
   SYSTEM BOARD.

*  PLEASE REVIEW NOT ONLY THIS README BUT ALSO ADDITIONAL DOCUMENTATION
   GIVEN.
   The file "802-3233-xx.ps" (where xx stands for the latest numeric
   revision) is a PostScript copy of the "Sun Flash PROM Guide for Workstations
   and Workgroup Servers - Standalone Version", which  provides the following;

   (i) A board-level diagram that gives the approximate location of the
       hardware jumpers (that will need to be changed).

   (ii) Emergency instructions in the unlikely event that the Flash
        update should fail.

   Note, however, that The Flash PROM Guide was originally written for
   a user who is running the Flash PROM update utility from a bootable
   CDROM, and thus it will not contain the proper boot commands for
   installation of this patch.  Also note that the instructions in
   the document for installing packages are not valid for this patch.

**WARNING:****WARNING:****WARNING:****WARNING:****WARNING:****WARNING:**
**************************************************************************
**************************************************************************

论坛徽章:
0
2 [报告]
发表于 2004-07-09 09:43 |只看该作者

(轉貼)如何升級OBP

不错,加精!

论坛徽章:
0
3 [报告]
发表于 2004-07-09 10:10 |只看该作者

(轉貼)如何升級OBP

要注意一点~j2003的跳线只有U60以上需要跳到2+3,在电源下面找~

论坛徽章:
0
4 [报告]
发表于 2006-05-18 22:36 |只看该作者
看着有点眼熟,好像是升级OBP文件里面的readme文件

论坛徽章:
0
5 [报告]
发表于 2006-05-19 10:48 |只看该作者
是啊,README

论坛徽章:
0
6 [报告]
发表于 2006-05-19 11:00 |只看该作者
up,任何动作前,看README就对了

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
7 [报告]
发表于 2006-05-19 11:03 |只看该作者
呵呵,README也贴啊,根本不用这么麻烦的,在系统里执行那个sh的脚本就可以搞定。。。。。

论坛徽章:
0
8 [报告]
发表于 2006-05-19 11:07 |只看该作者
同意楼上的,在系统里执行sh可执行文件较方便。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP