C H A P T E R  7

Using OpenBoot PROM

Some features in the OpenBoot PROM support ALOM. To use these features, type a command at the ok prompt. This chapter contains information on the following headings:


Switching between the ALOM Command Shell and the OpenBoot PROM Prompt

If the Solaris Operating System is running on the host server, type the following commands at the sc> prompt:

sc> break 
Are you sure you want to send a break to the system [y/n]? y 
sc> console 
ok 

If the host server is already at the OpenBoot PROM prompt (ok), type the following command at the sc> prompt:

sc> console 
ok 

To switch from the OpenBoot PROM prompt to the ALOM command shell, type the following command at the ok prompt:

ok #. 
sc>



Note - #. (pound-period) is the default escape character sequence to switch to the ALOM command prompt. To change the escape character sequence, use the sc_escapechars variable. See sc_escapechars.



To return to the Solaris Operating System from the ok prompt, type the following command:

ok go


The reset-sc Command

Use the reset-sc command to reset ALOM from the OpenBoot PROM prompt (ok).

To use the command, type reset-sc at the ok prompt.

For example:

ok reset-sc


The .sc Command

Use the .sc command to probe ALOM and to obtain its status from the OpenBoot PROM (ok) prompt.

To use the command, follow these steps:

1. At the sc> prompt in ALOM, type the following command:

sc> break -y 

2. At the ok prompt in OpenBoot PROM, type the following command:

ok setenv auto-boot? false 

3. At the ok prompt, type the following command:

ok reset-all

4. At the ok prompt, type the following command:

ok .sc 

For example:

CODE EXAMPLE 7-1 Example of the .sc Command Output
ok .sc 
SEEPROM: OK 
I2C: OK 
Ethernet: OK 
Ethernet (2): OK
CPU: OK 
RAM: OK 
Console: OK 
SC Control line: OK 
FlashRAM Boot CRC: OK 
FlashRAM Main CRC: OK