InfoDoc ID   Synopsis   Date
41723   Updating the Sun Fire [TM] X800 series Flash Proms!   15 Jan 2003

Status Issued

Description
 The purpose of this document is to show how to update the Flash Prom of
 the Sun Fire 6800/4810/4800/3800 systems. This particular example uses 
 a Sun Fire 6800 system and will update the firmware version from 5.11.9 
 to 5.11.5 via Patch 112127-07. The firmware version will vary with more
 recent releases of the flashupdate patch. 
 
-------------------------------------------------------------------------- 
                              NOTE!!!                            
  
 For the most recent information regarding the upgrade of the firmware
 you should consult the latest version of the Release notes. 
 (Systems_Firmware_5.13.4_Release_Notes.pdf) 
 The latest patch number is 112494. Below is the directory listing
 for patch 112494-07. 
 The rest of the procedure shows the installation of patch 
 112127, but the installation of patch 112494 will use the same 
 process.  
 

Warning!!!!
	It is essential with the new firmware release that you update SC1 
	before updating SC0. Failure to do so could result in problems, such
	as, crashed domains, lost configuration information, and inaccessible
	domains. For more information regarding this please consult the 
	"Install.info" file under the 112494-XX directory.

	# ls
	Install.info
	README.112494-07
	System_Controller_Command_Reference_Manual.pdf
	Systems_Dynamic_Reconfiguration_User_Guide.pdf
	Systems_Firmware_5.13.4_Release_Notes.pdf
	Systems_Platform_Administration_Manual.pdf
	copyright
	sgcpu.flash
	sgiowci.flash
	sgiowci_sp.flash
	sgpci.flash
	sgrtos.flash
	sgsc.flash
	sgwci.flash
	#            

--------------------------------------------------------------------------
 
 This document is divided into 3 steps.
 
 1) Download the firmware patch (112127-XX) from Sunsolve.
 2) Connect to the Sun Fire systems controller and run the flashupdate
    command.
 3) Verify that the firmware was updated.
 
--------------------------------------------------------------------------
                               STEP 1 
                                      			                                                          
 Download the firmware update patch (112127-XX) from Sunsolve onto your     	  
 system. Copy over the 112127-XX.zip to the Admin Station (ib-sf6800-admin) 	  
 from the web or from a remote system. In this example I created a          		  
 directory named Flash under root. I copied the file from the remote 
 systems "/tmp" directory and placed it into the "/Flash" directory. 
                              
--------------------------------------------------------------------------

Logon to the Admin Station via telnet.
# telnet ib-sf6800-admin
Trying 129.184.11.21...
Connected to ib-sf6800-admin.
Escape character is '^]'.


SunOS 5.8

login: root
password:
Last login: Wed Nov  7 07:51:14 from rocky
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000

You have new mail.

ib-sf6800-admin# pwd/
ib-sf6800-admin#
ib-sf6800-admin# mkdir /Flash   <--------------- This is optional !!!!!!!!!
ib-sf6800-admin# rcp REMOTE_SYSTEM:/tmp/112127-01.zip /Flash
ib-sf6800-admin# cd Flash
ib-sf6800-admin# ls
112127-01.zip
ib-sf6800-admin# unzip 112127-01.zip
Archive:  112127-01.zip
   creating: 112127-01/
  inflating: 112127-01/sgcpu.flash   
  inflating: 112127-01/sgpci.flash   
  inflating: 112127-01/sgrtos.flash  
  inflating: 112127-01/sgsc.flash    
  inflating: 112127-01/Install.info  
  inflating: 112127-01/copyright     
  inflating: 112127-01/README.112127-01  
  inflating: 112127-01/Platform_Admin_Manual.pdf  
  inflating: 112127-01/System_Controller_Command_Ref_Manual.pdf  
  inflating: 112127-01/System_Software_Release_Notes.pdf  
ib-sf6800-admin# ls
112127-01      112127-01.zip

--------------------------------------------------------------------------    
                               STEP 2                                        			
                                                                             				  
 Connect to the 6800's system controller and run the flashupdate command.   	  
 This example uses "tip" to access the system controller, but telnet will    		
 work just as well. You'll also need to go through the following steps prior to
 running the "flashupdate" command to verify that the system is ready to
 update the prom.
                                                         			 
--------------------------------------------------------------------------                                                

A) Connect to the system controller.
	ib-sf6800-admin# tip -9600 /dev/cua/a
	   connected

	   System Controller 'ib-sf6800-sc0':

    	   Type  0  for Platform Shell

   	   Type  1  for domain A console
    	   Type  2  for domain B console
    	   Type  3  for domain C console
    	   Type  4  for domain D console

    	Input: 0
B) In EACH domain shell that has an active domain, halt the Solaris 
   Operating System and then set the keyswitch position to "standby".
	ib-sf6800-sc0:SC> console b	
        ib-sf6800-sc0:B> resume
	Connected to Domain B
	# init 0	
        ib-sf6800-sc0:B> setkeyswitch standby
	ib-sf6800-sc0:B> disconnect	
        ib-sf6800-sc0:SC>

C) Verify That all CPU/Memory boards and I/O assemblies are powered
   on by using the "showboards" command on the system controller in
   the platform shell.
	ib-sf6800-sc0:SC> showboards

D) If any CPU/Memory boards or I/O assemblies are not powered on
   then use the poweron command from the platform shell to power 
   on those components.
	ib-sf6800-sc0:SC> poweron "component_names"

--------------------------------------------------------------------------
    
										 
 		 Sun Fire - flashupdate (command syntax)	                 	 
										 
  flashupdate -f ftp://root:password@ip/path_to_patches all										 
  ip - Is the ip add. of the system where the flash patch is located.   
  password - Is the root password of system where flash patch is located.
										 
  NOTE! For security reasons - You may want to change the root password
          prior to running this. Then change it back later.                    
										 
										 
    The following command uses the admin station as the patch source           
	(ib-6800-admin / Ip address = 129.184.11.21)                             

--------------------------------------------------------------------------

ib-sf6800-sc0:SC> flashupdate -f ftp://root:root_passwd@129.184.11.21/ \
Flash/112127-01 all
 
RTOS will be upgraded automatically during the next boot.
ScApp will be upgraded automatically during the next boot.
After this update you must reboot each active domain that was upgraded.
As part of this update, the system controller will automatically reboot.
Do you want to continue? [no] yes
Retrieving: 
ftp://root:root_passwd@129.184.11.21/Flash/112127-01/sgcpu.flash
Validating  ............. Done
Current firmware version: 5.11.9
New firmware version: 5.12.5

Programming /N0/SB0 PROM 0
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Programming /N0/SB0 PROM 1
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Programming /N0/SB2 PROM 0
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Programming /N0/SB2 PROM 1
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Programming /N0/SB3 PROM 0
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Programming /N0/SB3 PROM 1
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Programming /N0/SB5 PROM 0
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Programming /N0/SB5 PROM 1
Erasing     ............ Done
Programming ............ Done
Verifying   ............ Done

Retrieving: ftp://root:root_passwd@129.184.11.21/Flash/112127-01/sgpci.flash
Validating  ..... Done
Current firmware version: 5.11.9
New firmware version: 5.12.5

Programming /N0/IB7 PROM 0
Erasing     .... Done
Programming .... Done
Verifying   .... Done

Programming /N0/IB8 PROM 0
Erasing     .... Done
Programming .... Done
Verifying   .... Done

Programming /N0/IB9 PROM 0
Erasing     .... Done
Programming .... Done
Verifying   .... Done

Rebooting the SC to automatically complete the upgrade.

Rebooting. All telnet connections closed. Reestablish any needed connections.


Software Reset...


@(#) SYSTEM CONTROLLER(SC) POST 18 2001/06/14 11:20
PSR = 0x044010e5
PCR = 0x04004000


Basic sanity checks done.
Skipping POST ...
ERI Device Present
Getting MAC address for SSC0
MAC address is 8:0:20:d8:8c:4b
Hostname: ib-sf6800-sc0
Address: 129.184.11.22
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 129.184.11.248
Invalid DNS server ("0.0.0.0"); ignoring
Invalid DNS server ("0.0.0.0"); ignoring

Adding 2851 symbols for standalone.
interrupt: 10 Mbps half duplex link up

        Copyright 2001 Sun Microsystems, Inc.  All rights reserved.

RTOS version: 18
ScApp version: 5.11.9
SC POST diag level: off

Auto Flashupdate

Retrieving: ftp://root:root_passwd@129.184.11.21/Flash/112127-01/sgrtos.flash

Retrieving: ftp://root:root_passwd@129.184.11.21/Flash/112127-01/sgsc.flash
Validating  .............................................................. Done

Updating: RTOS
Erasing     ........... Done
Programming ........... Done
Verifying   ........... Done

Updating: ScApp from version 5.11.9 to version 5.12.5
Erasing     .............................................................. Done
Programming .............................................................. Done
Verifying   .............................................................. Done


Flashupdate completed successfully.
The SC is being rebooted to use the new images. 

Software Reset...

@(#) SYSTEM CONTROLLER(SC) POST 19 2001/08/08 14:42
PSR = 0x044010e5
PCR = 0x04004000

Basic sanity checks done.
Skipping POST ...
ERI Device Present
Getting MAC address for SSC0
MAC address is 8:0:20:d8:8c:4b
Hostname: ib-sf6800-sc0
Address: 129.184.11.22
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 129.184.11.248
Invalid DNS server ("0.0.0.0"); ignoring
Invalid DNS server ("0.0.0.0"); ignoring
interrupt: 10 Mbps half duplex link up

Adding 2854 symbols for standalone.

          Copyright 2001 Sun Microsystems, Inc.  All rights reserved.

Sun Fire 3800-6800 System Controller
RTOS version: 19
ScApp version: 5.12.5
SC POST diag level: off

The date is Wednesday, November 7, 2001, 6:10:31 AM EST.

Nov 07 06:10:31 ib-sf6800-sc0 Platform.SC: Boot: ScApp 5.12.5, RTOS 19
Nov 07 06:10:35 ib-sf6800-sc0 Platform.SC: Clock Source: 75MHz
Nov 07 06:10:37 ib-sf6800-sc0 Platform.SC: Master System Controller
Nov 07 06:10:45 ib-sf6800-sc0 Platform.SC: Chassis is in dual partition mode.
Nov 07 06:11:26 ib-sf6800-sc0 Platform.SC: Starting SNMP agent.
ib-sf6800-sc0:SC>
System Controller 'ib-sf6800-sc0':

    Type  0  for Platform Shell

    Type  1  for domain A console
    Type  2  for domain B console
    Type  3  for domain C console
    Type  4  for domain D console

    Input:

--------------------------------------------------------------------------
                               STEP 3 
                                       			                      
 Verify that the firmware was updated by using the "showboards"
 and "prtconf" commands.
     
--------------------------------------------------------------------------

ib-sf6800-sc0:SC>
System Controller 'ib-sf6800-sc0':

    Type  0  for Platform Shell

    Type  1  for domain A console
    Type  2  for domain B console
    Type  3  for domain C console
    Type  4  for domain D console

    Input: 0

Platform Shell

ib-sf6800-sc0:SC> 
ib-sf6800-sc0:SC> showboards -p proms

Component Device    Type  Version  Date       Time  
--------- ------    ----  -------  ----       ----  
SSC0                ScApp 5.12.5   09/26/2001 15:51 
SSC0                Info  5.12.5   09/26/2001 15:51 
/N0/IB7   SBBC 0    iPOST 5.12.5   09/26/2001 15:47 
/N0/IB7   SBBC 0    Info  5.12.5   09/26/2001 15:48 
/N0/IB8   SBBC 0    iPOST 5.12.5   09/26/2001 15:47 
/N0/IB8   SBBC 0    Info  5.12.5   09/26/2001 15:48 
/N0/SB0   SBBC 0    POST  5.12.5   09/26/2001 15:47 
/N0/SB0   SBBC 0    OBP   5.12.5   09/26/2001 15:47 
/N0/SB0   SBBC 0    Info  5.12.5   09/26/2001 15:47 
/N0/SB0   SBBC 1    POST  5.12.5   09/26/2001 15:47 
/N0/SB0   SBBC 1    OBP   5.12.5   09/26/2001 15:47 
/N0/SB0   SBBC 1    Info  5.12.5   09/26/2001 15:47 
/N0/SB2   SBBC 0    POST  5.12.5   09/26/2001 15:47 
/N0/SB2   SBBC 0    OBP   5.12.5   09/26/2001 15:47 
/N0/SB2   SBBC 0    Info  5.12.5   09/26/2001 15:47 
/N0/SB2   SBBC 1    POST  5.12.5   09/26/2001 15:47 
/N0/SB2   SBBC 1    OBP   5.12.5   09/26/2001 15:47 
/N0/SB2   SBBC 1    Info  5.12.5   09/26/2001 15:47 
/N0/IB9   SBBC 0    iPOST 5.12.5   09/26/2001 15:47 
/N0/IB9   SBBC 0    Info  5.12.5   09/26/2001 15:48 
/N0/SB3   SBBC 0    POST  5.12.5   09/26/2001 15:47 
/N0/SB3   SBBC 0    OBP   5.12.5   09/26/2001 15:47 
/N0/SB3   SBBC 0    Info  5.12.5   09/26/2001 15:47 
/N0/SB3   SBBC 1    POST  5.12.5   09/26/2001 15:47 
/N0/SB3   SBBC 1    OBP   5.12.5   09/26/2001 15:47 
/N0/SB3   SBBC 1    Info  5.12.5   09/26/2001 15:47 
/N0/SB5   SBBC 0    POST  5.12.5   09/26/2001 15:47 
/N0/SB5   SBBC 0    OBP   5.12.5   09/26/2001 15:47 
/N0/SB5   SBBC 0    Info  5.12.5   09/26/2001 15:47 
/N0/SB5   SBBC 1    POST  5.12.5   09/26/2001 15:47 
/N0/SB5   SBBC 1    OBP   5.12.5   09/26/2001 15:47 
/N0/SB5   SBBC 1    Info  5.12.5   09/26/2001 15:47 

ib-sf6800-sc0:SC> showboards

Slot     Pwr Component Type                 State      Status     Domain
----     --- --------------                 -----      ------     ------
SSC0     On  System Controller              -          Passed     -        
SSC1     On  System Controller              -          -          -        
ID0      On  Sun Fire 6800 Centerplane      -          OK         -        
PS0      On  A152 Power Supply              -          OK         -        
PS1      On  A152 Power Supply              -          OK         -        
PS2      On  A152 Power Supply              -          OK         -        
PS3      On  A152 Power Supply              -          OK         -        
PS4      On  A152 Power Supply              -          OK         -        
PS5      On  A152 Power Supply              -          OK         -        
FT0      On  Fan Tray                       Low Speed  OK         -        
FT1      On  Fan Tray                       Low Speed  OK         -        
FT2      On  Fan Tray                       Low Speed  OK         -        
FT3      On  Fan Tray                       Low Speed  OK         -        
RP0      On  Repeater Board                 -          OK         -        
RP1      On  Repeater Board                 -          OK         -        
RP2      On  Repeater Board                 -          OK         -        
RP3      On  Repeater Board                 -          OK         -        
/N0/SB0  On  CPU Board                      Assigned   Passed     B
/N0/SB2  On  CPU Board                      Assigned   Not tested B
/N0/SB3  On  CPU Board                      Assigned   Not tested D
/N0/SB5  On  CPU Board                      Assigned   Not tested D
/N0/IB7  On  PCI I/O Board                  Assigned   Not tested B
/N0/IB8  On  PCI I/O Board                  Assigned   Not tested B
/N0/IB9  On  PCI I/O Board                  Assigned   Not tested D

Note! 	As a test I powered on Domain B and booted it up to check the 
	prom version using the "prtconf -V" command.                                             

ib-sf6800-sc0:SC> console b

Connected to Domain B

Domain Shell for Domain B

ib-sf6800-sc0:B> showkeyswitch
keyswitch is: standby
ib-sf6800-sc0:B> setkeyswitch on
Powering boards on ...
Testing CPU Boards ...
Loading the test table from board SB2 PROM 0 ...
{/N0/SB2/P0} Running CPU POR and Set Clocks
{/N0/SB2/P2} Running CPU POR and Set Clocks
...
...                                                                                                                        

(Power On Messages...)

...
...

{/N0/SB0/P0} Decompress OBP done
Entering OBP ...


Sun Fire 6800
OpenFirmware version 5.12.5 (09/26/01 15:46)
Copyright 2001 Sun Microsystems, Inc.  All rights reserved.
SmartFirmware, Copyright (C) 1996-2001.  All rights reserved.
8192 MB memory installed, Serial #14191688.
Ethernet address 8:0:20:d8:8c:48, Host ID: 80d88c48.


Auto-boot in 0 seconds - press ESC to abort, ENTER to boot:        
SunOS Release 5.8 Version Generic_108528-11 64-bit
Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
Hardware watchdog enabled
configuring IPv4 interfaces: hme1.
Hostname: ib-sf6800-B
The system is coming up.  Please wait.
starting rpc services: rpcbind done.
Setting netmask of hme1 to 255.255.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway ib-sf6800-B
syslog service starting.
Print services started.
Nov  7 06:43:23 ib-sf6800-B 
volume management starting.
The system is ready.


ib-sf6800-B console login: root
Password: 
Last login: Tue Nov  6 12:32:50 from pabst
Nov  7 06:44:22 ib-sf6800-B login: ROOT LOGIN /dev/console
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000


# prtconf -V
OBP 5.12.5 09/26/01 15:46
                                                                                 

Updated 1/6/03

SOLUTION SUMMARY:

INTERNAL SUMMARY:

SUBMITTER: David Bevans APPLIES TO: AFO Vertical Team Docs/Install/Boot ATTACHMENTS:


Copyright (c) 1997-2003 Sun Microsystems, Inc.