SRDB ID   Synopsis   Date
26876   Sun Fire (3800-6800): Upgrading RTOS and/or SCapp without SCapp   30 Oct 2002

Status Issued

Description

SCapp won't load because of a problem with RTOS or a corrupted SCapp image.

SOLUTION SUMMARY:

Described here is a procedure to upgrade RTOS and SCapp from within RTOS without using the flashupdate command in SCapp.

We'll assume you are at a RTOS prompt (->). If you're not, and SCapp is running, use the flashupdate command to do the update.

flashupdate -y -f ftp://<yourftpserver> all rtos

1. Boot VxWorks without ScApp. Refer to SRDB 26849 on how to do this.

2. Ensure that the firmware files are accessible to the SC via NFS. In this example, our NFS server is the machine with IP address 172.20.21.50

3. Check for correct IP addresses. In this example, we are 172.20.10.195.

-> ifShow

eri (unit number 0):

Flags: (0x8063) UP BROADCAST MULTICAST ARP RUNNING

Type: ETHERNET_CSMACD

Internet address: 172.20.10.195

Broadcast address: 172.20.10.255

Netmask 0xffff0000 Subnetmask 0xffffff00

Ethernet address is 08:00:20:d8:87:1d

<text deleted>

4. Set the netmask and IP address if needed.

-> ifMaskSet("eri0", 0xffffff00)

value = 0 = 0x0

-> ifAddrSet("eri0", "172.20.10.195")

value = 0 = 0x0

5. hostAdd the NFS server where the firmware lives.

-> hostShow

hostname inet address aliases

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

mc-sg12i-sc0 172.20.10.195

localhost 127.0.0.1

value = 0 = 0x0

-> hostAdd "nfsserver", "172.20.21.50"

value = 0 = 0x0

-> hostShow

hostname inet address aliases

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

mc-sg12i-sc0 172.20.10.195

localhost 127.0.0.1

nfsserver 172.20.21.50

value = 0 = 0x0

6. If your nfs server is on a different subnet, and a default route (0.0.0.0) doesn't already exist pointing to your gateway/router, then you need to add a default route. In this example, our gateway's IP address is 172.20.10.254.

-> routeShow

ROUTE NET TABLE

destination gateway flags Refcnt Use Interface

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

172.20.10.0 172.20.10.195 101 0 0 eri0

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

<text deleted>

-> routeNetAdd "0.0.0.0","172.20.10.254"

value = 0 = 0x0

-> routeShow

ROUTE NET TABLE

destination gateway flags Refcnt Use Interface

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

0.0.0.0 172.20.10.254 3 0 0 eri0

172.20.10.0 172.20.10.195 101 0 0 eri0

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

<text deleted>

7. To reinstall RTOS:

-> updateBootFlash ("nfsserver:/export/firmware/5.11.4/sgrtos.flash")

Retrieving nfsserver:/export/firmware/5.11.4/sgrtos.flash via NFS

676072/676072 = 100%

Erasing 11 EEPROM sectors at address 0x20000000: 11 Done.

Programming: 11 Done.

value = 0 = 0x0

8. To reinstall SCapp:

-> updateScAppFlash("nfsserver:/export/firmware/5.11.4/sgsc.flash")

Retrieving nfsserver:/export/firmware/5.11.4/sgsc.flash via NFS

7337207/7337207 = 100%

Erasing 112 EEPROM sectors at address 0x36000000: 112 Done.

Programming: 112 Done.

value = 0 = 0x0

9. ^x to reboot.

INTERNAL SUMMARY:

Authors: Hal Mounce/John Cecere

SUBMITTER: George Bolduc APPLIES TO: Hardware/Sun Fire ATTACHMENTS:


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