Product Documentation and Knowledge Base - HomeDocumentation


Charon-SSP


OpenBoot Console

Contents

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.

Example

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 ]

Description

This command boots the specified device-alias passing any optional boot-args to the kernel. The boot-args must be recognized as valid by the Solaris kernel used. Booting from a ZFS disk is supported starting with Charon-SSP version 1.4.1 if the Solaris version supports this feature.

Starting from Charon-SSP version 2.0.5 there is a special boot argument when booting from CD-ROM:

boot cdrom -slow=<sec>

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.

Example

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

These commands display the current device aliases. This shows the link between the aliases, such as cdrom and the devices shown in the device tree, listed by show-devs.

Example

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.

Example

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.

Syntax

nvalias <alias> <device-path>

Description

Stores the device aliases in in NVRAMRC. The alias persists until the nvunalias or set-defaults command is executed.

Example

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.

Syntax

nvunalias <alias>

Description

Deletes the corresponding alias from NVRAMRC.

printenv

Display environment variables.

Syntax

printenv

Description

Use this command to print the current and default values of OpenBoot console variables.


Example

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

This command scans the SCSI bus to locate attached devices.

Example

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

setenv variable --

Description

This command sets a console configuration variable to a specific value. The current and default values of the variables are shown by the printenv command. To restore a variable to its default value, specify ‘--‘ in place of the value. For a complete list of possible variable names and their descriptions, see the list below.

  • auto-boot?  -  If true, boots automatically after power on or reset.
  • local-mac-address?  -  If true, the MAC address of the network card is used instead of the system MAC address.

  • output-device  -  Output device used at power-on

  • input-device  -  Input device used at power-on.

  • boot-device  -  Space delimited list of devices to define boot attempt sequence.

  • boot-file  -  A string of arguments to be passed to the boot loader (e.g. -a or -v).

  • ttya-mode  -  Serial line configuration for ttya

  • ttyb-mode  -  Serial line configuration for ttyb

  • diag-file  -  Diagnostic mode boot arguments.

  • diag-device  -  ​Diagnostic startup source device.

  • diag-switch?  -  Indicates if system should run in diagnostics mode.

(info) Changes to environment variables are stored in NVRAM and are permanent. However, they only take effect after executing the reset command.

Example

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.

Example

The following example demonstrates the output of the show-devs command.

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





© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.