C H A P T E R  8

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


procedure icon  To Switch From the sc> Prompt to the ok Prompt

single-step bulletDo one of the following:


procedure icon  To Switch From the ok Prompt to the sc> Prompt

1. 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.



2. 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).

single-step bulletTo 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. Type the following command:


ok setenv auto-boot? false 

3. Type the following command:


ok reset-all

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


ok .sc 

For example:


CODE EXAMPLE 8-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