Archive for the ‘solaris’ Category

Upgrading OBP and ALOM on a SunFire v210/v240

Sunday, July 24th, 2011

Recently I got my hands on a piece of oldish SUN equipment (SunFire V210/V240). It was in an ok condition. Not perfect, but still usable and I will be able to fix the smaller issues.

One of the issues was the really really old OBP and ALOM installed. In this post I will show how to upgrade OBP and ALOM. The key thing to remember is to

  1. Read ALL the attached readmes and whats not.
  2. Make sure ALL dependencies are met
  3. Upgrade the OBP before you upgrade the ALOM

And as usual. If you break your stuff following this post, then sorry but I can and will not be held responsible for anything you do. It worked for me. If it works for you, great. If it doesn’t, then tuff luck.

With that out of the way lets get started. First we need to obtain the ALOM and OPB patch. As a private person you might have a hard time getting hold of these files without an active support contract with oracle. I know I had. Mail  me if you run out of luck. You will need

  • 142700-02.zip – OBP 4.30.0
  • ALOM_1.6.10_fw_hw0.tar.gz – ALOM 1.6.10

Below is the raw output of the upgrade so you can see how it is done. OBP first

**** While in the OS download and unpack the OBP firmware

# wget http://someserver/142700-02.zip

# unzip 142700-02.zip

# cd 142700-02

# cp flash-update*  /

# chmod 755 /flash-update*

# halt

**** From the OBP prompt issue

ok boot disk /flash-update-SunFire240

Firmware Release(s)                Firmware Release(s)
Currently Existing in the System      Available for Installation  /  Install?
———————————- ——————————————-
OBP 4.11.4 2003/07/23 08:04        OBP 4.30.0 2010/01/06 14:48          YES
POST 4.30.4 2010/01/06 15:10         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 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.

SC Alert: Host System has Reset
SC Alert: Host System has read and cleared bootmode.

Configuring system memory & CPU(s)
Probing system devices
Probing memory
NOTICE: Initializing security keystore
Probing I/O buses

Sun Fire V210, No Keyboard
Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.30.4.a, 4096 MB memory installed, Serial #57866961.
Ethernet address 0:3:ba:72:fa:d1, Host ID: 8372fad1.

NOTICE: Updating OpenBoot NVRAM diagnostic configuration variables..
diag-script =  normal
diag-trigger =          error-reset power-on-reset
diag-level =            max
verbosity =             normal
service-mode? =         false
auto-boot-on-error? =   true
error-reset-recovery =  sync

Your OBP is now updated. Now to the ALOM. From the OS

# firmware

# /usr/platform/`uname -i`/sbin/scadm version

SC Version v1.3
SC Bootmon Version:  v1.3.0
SC Firmware Version:  v1.3.0

# /usr/platform/`uname -i`/sbin/scadm download boot alombootfw
……………….. (100%)
Download completed successfully

Please wait for verification

…………
Complete

# sleep 60
#  /usr/platform/`uname -i`/sbin/scadm version

SC Version v1.3
SC Bootmon Version:  v1.6.10
SC Firmware Version:  v1.3.0

# sleep 120
#  /usr/platform/`uname -i`/sbin/scadm version

SC Version v1.6
SC Bootmon Version:  v1.6.10
SC Firmware Version:  v1.6.10

You ALOM is now updated. Nothing fancy really.