1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

upgrading firmware in a U10 through netboot?

Discussion in 'Sun Hardware' started by Mauricio Tavares, Mar 30, 2005.

  1. If I am going to upgrage the firmware in a U10, do I have to
    put the file in its HD and then boot from it or can I put it in my
    netboot server and tell the U10 to boot net?
     
    Mauricio Tavares, Mar 30, 2005
    #1
    1. Advertisements

  2. http://sunsolve.sun.com/search/advs...e=collections&queryKey5=106121&toDocument=yes

    Patch Installation instructions (in detail):
    ============================================

    The required steps are explained in greater detail below.

    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

    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 "prtconf -V" output. Find
    the revision number and compare with the revision on the entries below
    that of the "flash-update-Ultra510-latest" line;

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

    -10 flash-update-Ultra510-10
    All Models
    OBP: 3.27 Version 0 created 2000/08/23 15:45
    POST: 3.1.0

    -14 flash-update-Ultra510-14
    All Models
    OBP: 3.29 Version 0 created 2000/12/20 18:45
    POST: 3.1.0

    -16 flash-update-Ultra510-16
    All Models
    OBP: 3.31 Version 0 created 2001/07/25 20:36
    POST: 3.1.0

    LATEST flash-update-Ultra510-18; flash-update-Ultra510-latest
    All Models
    OBP: 3.31 Version 0 created 2001/07/25 20:36
    POST: 3.1.0

    3) Is the UPGRADE NECESSARY?

    If the current Flash PROM revision matches the version numbers
    given under
    the flash-update-Ultra510-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 latest "flash-update" file 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.

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

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

    e) Set JP2 to write enable at 2+3. Default is write protect at 1+2
    Locate jumper JP2.

    Jumper JP2 provides a write enable/disable mechanism for the
    Flash PROM. JP2 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 JP2 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 JP2 then consult Figure 1-3 in the
    "Sun Flash PROM Guide for Workstations and Workgroup Servers -
    Standalone Version").

    f) 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-Ultra510-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.5
    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 ++++++++++++++++++++++++++
     
    Bruno Saverio Delbono, Mar 31, 2005
    #2
    1. Advertisements

  3. Thank you for posting the entire readme fil for the flash prom updating
    procedure. This way people will not only know where I got the the
    firmware update file but also see the official procedure, described in
    steps 4 and 5, prescribes copying the flash upgrade file to the local
    hard drive and then booting from the disk using the file as boot image.
    Perhaps someone will be able to then answer my question which is whether
    this flash upgrade file, as it is being used as boot image, would work
    if it is used as network boot image (rarpd/tftpd).
     
    Mauricio Tavares, Mar 31, 2005
    #3
  4. Mauricio Tavares

    Martin Paul Guest

    And thank *you* for quoting the complete files once again.
    Check out 802-3233-20.ps ("Sun Flash PROM Guide ..") which comes
    with 106121-18.zip. Chapter 3 is named "Setting up a Flash PROM Boot
    Server". Maybe that is of help (I never tried it).

    mp.
     
    Martin Paul, Apr 1, 2005
    #4
  5. Mauricio Tavares

    Scott Howard Guest

    Either will work.

    Scott
     
    Scott Howard, Apr 1, 2005
    #5
  6. I put it in the mini-root directory on a boot server and
    do a 'boot net /filename'. I never tried to tftpboot it.
    It is too complicated if you already have a jumpstart framework
    in place. :)

    /wfr
    Fredrik
     
    Fredrik Lundholm, Apr 3, 2005
    #6
  7. go for a network flash update, if not possible here's how to
    make a cd flash update.
    /J├Ârgen

    ------------2003-10-22--------------------------------------
    here is what i use to do, for making "flash" update cd's for
    non networked connected workstations that needs update
    and they dont have to have a disk installed.
    the media used was S9ea.

    ----- create sparc boot cd -------
    1.find the name of the cdrom device,insert a solaris cd/dvd and
    do:volcheck ; df -lk
    2. as root: shutdown vold: /etc/init.d/volmgt stop
    3. create a directory, on where i have atleast 1300mb space
    4. dd if=/dev/rdsk/"cdrom"s0 of=cdrom.s0 bs=512
    dd if=/dev/rdsk/"cdrom"s1 of=cdrom.s1 bs=512
    dd if=/dev/rdsk/"cdrom"s2 of=cdrom.s2 bs=512
    dd if=/dev/rdsk/"cdrom"s3 of=cdrom.s3 bs=512
    dd if=/dev/rdsk/"cdrom"s4 of=cdrom.s4 bs=512
    dd if=/dev/rdsk/"cdrom"s5 of=cdrom.s5 bs=512
    /etc/init.d/volmgt start ; eject cdrom
    5. lofiadm -a /the_actual_directory/cdrom.s1
    tunefs -m 1 /dev/lofi/1
    # there is now some (10-16mb) free on slice 1
    mount /dev/lofi/1 /mnt
    cp flash-update-U510-latest to /mnt
    umount /mnt
    6.cat cdrom.s0 cdrom.s1 cdrom.s2 cdrom.3 cdrom.s4 cdrom.s5>image
    7. insert a blank and cdrw or cdrecord the iso: image
    ------end create sparc boot cd -----

    ok boot cdrom /flash.....
     
    Jorgen Moquist, Apr 4, 2005
    #7
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.