EEPROM(8S)

NAME
eeprom - EEPROM display and load utility

SYNOPSIS

  SUN-3, SUN-4 SYSTEMS
eeprom [-] [-c] [-i] [-f device ] [field[=value] ...]

  Desktop SPARCsystems, SPARCsystem 600MP SERIES
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.

OPTIONS

-c  Correct bad checksums. (Ignored on Desktop SPARCsystems and SPARCsystem 600MP series.)

-i  Ignore bad checksums. (Ignored on Desktop SPARCsystems and SPARCsystem 600MP series.)

-f device
    Use device as the EEPROM device.

FIELDS and VALUES

  SUN-3, SUN-4 SYSTEMS
hwupdate
    a valid date (including today and now)
memsize
    8 bit integer (megabytes of memory on machine)
memtest
    8 bit integer (megabytes of memory to test)
scrsize
    1024x1024, 1152x900, 1600x1280, or 1440x1440
watchdog_reboot
    true or false
default_boot
    true or false
bootdev
    charchar(hex-int, hex-int,hex-int) (with char a character, and hex-int a hexadecimal integer.)
kbdtype
    8 bit integer (0 for all Sun keyboards)
keyclick
    true or false
console
    b&w or ttya or ttyb or color
custom_logo
    true or false
banner
    banner string
diagdev
    %c%c (%x,%x,%x) — diagnostic boot device
diagpath
    diagnostic boot path
ttya_no_rtsdtr
    true or false
ttyb_no_rtsdtr
    true or false
ttya_use_baud
    true or false
ttyb_use_baud
    true or false
ttya_baud
    baud rate (16-bit decimal integer)
ttyb_baud
    baud rate (16-bit decimal integer)
columns
    number of columns on screen (8-bit integer)
rows
    number of rows on screen (8-bit integer)
secure
    none, command, or 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.
bad_login
    number of bad login tries (16-bit unsigned integer, 0 if reset). The field bad_login maintains the count of bad login tries. It may be reset to zero (0) by specifying bad_login=reset.
password
    PROM monitor password (8-bytes). 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.

  Desktop SPARCsystems, SPARCsystem 600MP SERIES
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()vmunix); defaults to vmunix. (SPARCstation 1 systems only)
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 Sun banner
oem-banner
    80 chars for custom banner string
oem-logo?
    true or false; true to display custom logo instead of Sun 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()vmunix. (SPARCstation 1 systems only)
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. (SPARCstation 1 systems only)
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. (SPARCstation 1 systems only)
sunmon-compat?
    true or false. Defaults to true.
security-mode
    none, command, or full. See above, the secure field.
security-password
    password associated with security-mode. The content of the security-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 security-password=
    eeprom prompts for a new password to be entered and re-entered.
security-#badlogins
    number of bad login tries (16-bit unsigned integer, 0 if reset). The field security-#badlogins maintains the count of bad login tries. It may be reset to zero (0) by specifying security-#badlogins=reset.
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.
boot-file
    Default boot file and arguments when diag-switch? is false; defaults to vmunix. (SPARCstation 2, SPARCsystem 600MP series only)
boot-device
    Default boot device specifier when diag-switch? is false; defaults to disk. (SPARCstation 2, SPARCsystem 600MP series only)
diag-file
    Default boot file and arguments when diag-switch? is true; defaults to vmunix (SPARCstation 2, SPARCsystem 600MP series only)
diag-device
    Default boot device specifier when diag-switch? is true; defaults to net. (SPARCstation 2, SPARCsystem 600MP series only)
local-mac-address?
    true or false. Defaults to false. (SPARCstation 2, SPARCsystem 600MP series only)
nvramrc
    Contents of NVRAMRC. (SPARCstation 2, SPARCsystem 600MP series only)
use-nvramrc?
    true or false; true to execute commands in NVRAMRC during PROM start-up; defaults to false. (SPARCstation 2, SPARCsystem 600MP series only)
vme-ipi-probe-list
    Defaults to 0123. (SPARCsystem 600MP series only)
skip-vme-loopback?
    true or false. true to skip some of the VME loopback tests on POST. Defaults to false. (SPARCsystem 600MP series only)
tpe-link-test?
    true or false. true to enable TPE (Twisted-Pair Ethernet) link integrity test. Defaults to true. (SPARCstation 10 system only)

FILES

  SUN-3, SUN-4 SYSTEMS
/dev/eeprom

  Desktop SPARCsystems, SPARCsystem 600MP SERIES
/dev/openprom

SEE ALSO
passwd(1)

Open Boot PROM 2.0 Toolkit User's Guide