Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OpenBoot Console Overview

The Charon-SSP SPARC virtual machines use a subset of the Sun OpenBoot console found on native Sun workstations and servers. The figure below shows the initial console screen at boot on a virtual SPARCstation 20.


           SMCC SPARCstation 20 Emulator by Stromasys
 
 
CPU_#0       TI, TMS390Z50(3.x)       0Mb External cache
 
CPU_#1       ****** NOT installed ******
CPU_#1       ****** NOT installed ******
CPU_#1       ****** NOT installed ******
 
           >>>>> Power On Self Test (POST) is running .... <<<<<
 
SPARCstation 20 (1 X 390Z50), No Keyboard
Emulate OBP Rev. 2.25, 64 MB memory installed, Serial #12648430.
Ethernet address 2:c:29:4a:d3:29, Host ID: 72c0ffee.
 
 
Type  help  for more information
 
Can not load boot block!
ok 


OpenBoot Console Command Reference

The following sections describe the currently supported console commands.

banner

Display power-on banner.

Syntax

banner

Description

Use this command to display the power-on banner.

...

The following example demonstrates the output of the banner command on Charon-SSP configured as a SPARCstation 20.

 ok banner

SPARCstation 20 (1 X 390Z50), No Keyboard
Emulate OBP Rev. 2.25, 64 MB memory installed, Serial #12648430.
Ethernet address 2:c:29:4a:d3:29, Host ID: 72c0ffee.

boot

Load operating system.

Syntax

boot [ device-alias ] [ boot-args ]

...

This parameter should only be used if there are problems when booting from ISO files resulting in a BAD TRAP error. This seems to happen quite frequently with Solaris 7 installation ISOs.

For more information about device aliases, see the devalias command.

...

The following example demonstrates the output of the boot command on Charon-SSP configured as a SPARCstation 20 and booting SunOS 4.1.4 from CD-ROM.

ok boot cdrom

Boot device: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@6,0:d    File and args: -v
Boot Release 4.1.4 (sun4m) #2: Fri Oct 14 11:07:52 PDT 1994
Copyright (c) 1983-1990, Sun Microsystems, Inc.
Boot: Romvec version 3.
root on /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@6,0:d fstype 4.2
Boot: vmunix
.Size: 868352.........................................................................................
...........................................................................................................
...........................................................................................................
.......................................................................................+2319136+75288 bytes
Statistics:
SuperSPARC: PAC ENABLED
SunOS Release 4.1.4 (MUNIX) #2: Fri Oct 14 11:09:07 PDT 1994
Copyright (c) 1983-1993, Sun Microsystems, Inc.

devalias

Display device aliases.

Syntax

devalias

Description

...

The following example demonstrates the output of the devalias command.

ok devalias
ttyb           /obio/zs@0,100000:b
ttya           /obio/zs@0,100000:a
keyboard!      /obio/zs@0,0:forcemode
keyboard       /obio/zs@0,0
floppy         /obio/SUNW,fdtwo
scsi           /iommu/sbus/espdma@f,400000/esp@f,800000
net-aui        /iommu/sbus/ledma@f,400010:aui/le@f,c00000
net-tpe        /iommu/sbus/ledma@f,400010:tpe/le@f,c00000
net            /iommu/sbus/ledma@f,400010/le@f,c00000
disk           /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0
cdrom          /iommu/sbus/espdma@f,400000/esp@f,800000/sd@6,0:d
tape           /iommu/sbus/espdma@f,400000/esp@f,800000/st@4,0
tape1          /iommu/sbus/espdma@f,400000/esp@f,800000/st@5,0
tape0          /iommu/sbus/espdma@f,400000/esp@f,800000/st@4,0
disk3          /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0
disk2          /iommu/sbus/espdma@f,400000/esp@f,800000/sd@2,0
disk1          /iommu/sbus/espdma@f,400000/esp@f,800000/sd@1,0
disk0          /iommu/sbus/espdma@f,400000/esp@f,800000/sd@0,0

help

Display OpenBoot console help.

Syntax

help [ command ]

Description

Use this command to display the list of commands supported by the OpenBoot console. For brief help on individual commands specify the command parameter.

Example

ok help
Following commands are supported by this version:

boot devalias nvalias nvunalias

printenv setenv probe-scsi show-devs

reset banner history help


Enter 'help command-name' for more help

Examples: help setenv

history

Display console command history.

Syntax

history

Description

This command displays a list of all commands previously entered at the OpenBoot Console.

...

The following example demonstrates the output of the history command.

ok history
   1   printenv
   2   help
   3   help devalias
   4   help history
   5   help probe-scsi
   6   probe-scsi
   7   show-devs
   8   banner

nvalias

Stores devalias values in nvramrc.

...

The following example demonstrates the use of the nvalias command to create and store a device alias named disk3 that represents a SCSI disk with a target ID of 3 on a SPARCstation 10 system

ok nvalias disk3 /pci@1f,0/pci@1,1/ide@3/disk@3,0

nvunalias

Removes a device alias from NVRAMRC.

...

Deletes the corresponding alias from NVRAMRC.

printenv

Display environment variables.

Syntax

printenv

Description

...

The following examples illustrate the output of the printenv command on Charon-SSP/4U.

ok printenv

Variable Name Value Default Value

auto-boot? false true

local-mac-address? true true

output-device ttya screen

input-device ttya keyboard

boot-file -v

boot-device /pci@1f,4000/scsi@3/disk@1,0:a disk net

ttya-mode 9600,8,n,1,- 9600,8,n,1,-

ttyb-mode 9600,8,n,1,- 9600,8,n,1,-

diag-file -v

diag-device net disk net

diag-switch? true true

probe-scsi

Scan SCSI bus for attached devices.

Syntax

probe-scsi

Description

...

The following example demonstrates the output of the probe-scsi command on system with a single virtual CD-ROM.

ok probe-scsi
Target 0
  Unit 0   Disk     virtual Scsicdrom (c)SRI0200

quit or poweroff

Turn off virtual machine.

Syntax

quit | poweroff

Description

Use this command to shut down the virtual machine.

reset

Restart the system.

Syntax

reset

Description

This command restarts the SPARC virtual machine.

setenv

Set console environment variables.

Syntax

setenv variable value

...

The following example illustrates the use of the setenv command.

ok setenv auto-boot? true
auto-boot? =          true

show-devs

Display device tree.

Syntax

show-devs

Description

This command displays the tree of devices visible from the console.

...

The following example demonstrates the output of the show-devscommand.

ok show-devs

/TI,TMS390Z50@f,f8fffffc
/SUNW,sx@f,80000000
/eccmemctl@f,0
/virtual-memory@0,0
/memory@0,0
/obio
/iommu@f,e0000000
/openprom
/aliases
/options
/packages
/obio/power@0,a01000
/obio/auxio@0,800000
/obio/SUNW,fdtwo@0,700000
/obio/interrupt@0,400000
/obio/counter@0,300000
/obio/eeprom@0,200000
/obio/zs@0,0
/obio/zs@0,100000
/iommu@f,e0000000/sbus@f,e0001000
/iommu@f,e0000000/sbus@f,e0001000/SUNW,bpp@f,4800000
/iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000

/iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010/le@f,c00000
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/st
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd
/packages/obp-tftp
/packages/deblocker
/packages/disk-label


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc