OpenBoot 2.x Command Reference Manual

Controlling Power-on Self-test

The power-on testing parameters are:

Most systems have a factory default of false for the diag-switch? parameter. To set diag-switch? to true, type:


ok setenv diag-switch? true 
ok

Enabling diag-switch? causes the system to perform more thorough self-tests during any subsequent power-on process. Once diag-switch? is enabled, additional status messages are sent out (some to TTYA and some to the specified output device), all of memory is tested, and different default boot options are used. The boot PROM tries to boot the program specified by the diag-file parameter, from the device specified by diag-device.


Note -

Some SPARC systems have a hardware diagnostic switch. The system runs the full tests on power-on if either the hardware switch or diag-switch? is set.


You can also force diag-switch? to true by using the Stop-D key sequence during power-on.

To set diag-switch? to false, type:


ok setenv diag-switch? false 
ok

When diag-switch? is false, the system does not call out the diagnostic tests as they are run (unless a test fails) and runs a reduced set of diagnostics.