eeprom(1M)
NAME
eeprom − EEPROM display and load utility
SYNOPSIS
/usr/kvm/eeprom [−] [−f device ] [field[=value] ...]
DESCRIPTION
eeprom displays or changes the values of fields in the EEPROM. It processes fields in the order given. When processing a field accompanied by a value, eeprom makes the indicated alteration to the EEPROM; otherwise it displays the field’s value. When given no field specifiers, eeprom displays the values of all EEPROM fields. A ‘−’ flag specifies that fields and values are to be read from the standard input (one field or field=value per line).
Only the super-user may alter the EEPROM contents.
eeprom verifies the EEPROM checksums and complains if they are incorrect; if the −i flag is specified, erroneous checksums are ignored. If the −c flag is specified, all incorrect checksums are recomputed and corrected in the EEPROM.
The PROM monitor supports three security modes designated by the secure field: none, command, and full.
If secure=none, the PROM monitor runs in the non-secure mode. In this mode, all PROM monitor commands are allowed with no password required.
If secure=command, the PROM monitor is in the command secure mode. In this mode, only the b (boot) command with no parameters and the c (continue) command with no parameters may be entered without a password being required. Any other command requires that the PROM monitor password be entered.
If secure=full, the PROM monitor is in the fully secure mode. In this mode, only the c (continue) command with no parameters may be entered without a password being required. Entry of any other command requires that the PROM monitor password be entered. Note: the system will not auto-reboot in fully secure mode. The PROM monitor password must be entered before the boot process will take place.
When changing the security mode from non-secure to either command secure or fully secure, eeprom prompts for the entry and re-entry of a new PROM password as in the passwd(1) command. Changing from one secure mode to the other secure mode, or to the non-secure mode does not prompt for a password. Changing to non-secure mode erases the password.
The content of the password field is never displayed to any user. If the security mode is not none, the super-user may change the PROM monitor password by entering:
example# eeprom password=
eeprom prompts for a new password to be entered and re-entered.
The field bad_login maintains the count of bad login tries. It may be reset to zero (0) by specifying bad_login=reset.
OPTIONS
−f device Use device as the EEPROM device.
FIELDS and VALUES
hardware-revision 7 chars (for example, 30Mar88)
selftest-#megs 32 bit decimal integer (megabytes of memory to test)
watchdog-reboot? true or false; true to reboot after watchdog reset
boot-from A string specifying boot string (for example, le()unix); defaults to unix
keyboard-click? true or false; true to enable clicking of keys on each keystroke
input-device A string specifying one of keyboard, ttya, or ttyb; if the specified device is unavailable, ttya is used for both input and output only if input-device specified the keyboard and output-device specified the screen.
output-device A string specifying one of screen, ttya, or ttyb; if the specified device is unavailable, ttya is used for both input and output only if input-device specified the keyboard and output-device specified the screen.
oem-banner? true or false; true to use custom banner string instead of Solaris banner
oem-banner 80 chars for custom banner string
oem-logo? true or false; true to display custom logo instead of SunSoft logo
oem-logo Name of file (in iconedit format) containing custom logo.
boot-from-diag 80 chars specifying diag boot string (for example, sd()dexec); defaults to le()unix
ttya-mode 16 chars to specify 5 comma-separated fields of configuration information (for example, 1200,8,1,n,−); defaults to 9600,8,1,n,−.
Fields, in left-to-right order, are:
baud rate: 110, 300, 1200, 4800, 9600...
data bits: 5, 6, 7, 8
parity: n(none), e(even), o(odd), m(mark), s(space)
stop bits: 1, 1.5, 2
handshake: −(none), h(hardware:rts/cts), s(software:xon/xoff)
ttyb-mode 16 chars to specify 5 comma-separated fields of configuration information (for example, 1200,7,1,n,s); defaults to 9600,8,1,n,−.
Fields, in left-to-right order, are:
baud rate: 110, 300, 1200, 4800, 9600...
data bits: 5, 6, 7, 8
stop bits: 1, 1.5, 2
parity: n(none), e(even), o(odd), m(mark), s(space)
handshake: −(none), h(hardware:rts/cts), s(software:xon/xoff)
ttyb-rts-dtr-off true or false. Defaults to false.
ttya-rts-dtr-off true or false. Defaults to false.
ttya-ignore-cd true or false. Defaults to true.
ttyb-ignore-cd true or false; true to ignore the CARRIER DETECT line. Defaults to true.
screen-#rows number of rows on output device; defaults to 34 (for some devices actual values used may be less)
screen-#columns number of columns on output device; defaults to 80 (for some devices actual values used may be less)
auto-boot? true or false; true to boot on power-on
scsi-initiator-id An integer between 0 and 7 that specifies the SCSI initiator ID of the onboard SCSI host adapter.
sd-targets An array of 8 integers that map SCSI disk unit numbers to SCSI target numbers. The unit number is used to index into this string. The default settings are 31204567, which means that unit 0 maps to target 3, unit 1 maps to target 1, and so on.
st-targets An array of 8 integers that map SCSI tape unit numbers to SCSI target numbers. The unit number is used to index into this string. The default settings are 45670123, which means that unit 0 maps to target 4, unit 1 maps to target 5, and so on.
sunmon-compat? true or false. Defaults to true.
sbus-probe-list Defaults to 0123.
fcode-debug? true or false. Defaults to false.
last-hardware-update Date the CPU board was manufactured or upgraded to the latest hardware revision. The format is a human-readable date string, such as 23May89.
testarea Defaults to 0.
mfg-switch? true or false. Defaults to false.
diag-switch? true or false. Defaults to true.
tpe-link-test? true or false. true to enable TPE (Twisted-Pair Ethernet) link integrity test. Defaults to true. (SPARCstation 10 system only)
FILES
/dev/openprom
SEE ALSO
Sun Microsystems — Last change: 25 Oct 1991