UP | HOME

SPARC64

Table of Contents

Service Processor

Updating the Firmware via NET MGT

Upgating the FW is done via the Service Processor. The full doc is available here.

  1. Extract firmware to a machine on the same network as the SP (152475-09.zip is the latest as of [2020-05-27 Wed]).
  2. Start a tftpd server on the non-SP machine: tftpd -d -v -l 192.168.54.1 /root/tftp
  3. On the SP:
# Stop the System:
-> stop /SYS

# Set keyswitch state to normal:
-> set /SYS keyswitch_state=normal

# Load the FW:
-> load -source tftp://129.99.99.99/152475-09/Sun_System_Firmware-8_9_11-SPARC_T4-1.pkg

Using an external display

Once these values are changed the ok prompt will only load on the external screen. You will need to set these back to their previous values if you want to use the SP again.

ok setenv input-device keyboard
ok setenv output-device screen

Installing OpenBSD

Installing OpenBSD requires first dropping to the OpenBoot prompt ({0} ok).

To do this we issue a few commands at the SP:

# Disable auto-boot:
-> set /HOST/bootmode script="setenv auto-boot? false"

# Reset the system:
-> reset /SYS

# Attach to the console
-> start /HOST/console

This should drop us to the {0} ok prompt.

Next we need to boot from USB:

{0} ok setenv security-mode none
security-mode =         none
{0} ok show-disks
a) /ramdisk-root
b) /reboot-memory@0
c) /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@4/storage@1/disk
d) /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/hub@3/storage@2/disk
e) /pci@400/pci@2/pci@0/pci@4/scsi@0/disk
f) /pci@400/pci@1/pci@0/pci@4/scsi@0/disk
g) /iscsi-hba/disk
q) NO SELECTION
Enter Selection, q to quit: q
{0} ok boot /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@4/storage@1/disk@0:b bsd

I have miniroot67.img dd'd to a USB thumb drive that is connected to the front USB port. On my system, this corresponds to: /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@4/storage@1/disk

@0:b is magic. I don't know where it comes from \o/.

Author: Aaron Bieber

Created: 2022-08-23 Tue 13:14

Validate