EEPROM(8S) — MAINTENANCE COMMANDS
NAME
eeprom − EEPROM display and load utility
SYNOPSIS
eeprom [−] [−i] [−f filename ] [field [ =value ]] ...
eeprom [−i] [−c] [−f filename ]
SYNOPSIS — SPARCstation 1 SYSTEMS
eeprom [ field [ value ] ]
AVAILABILITY
Not available for Sun-2 systems.
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. The ‘−’ option specifies that fields and values are to be read from the standard input (one field or field=value per line).
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.
DESCRIPTION — SPARCstation 1 SYSTEMS
eeprom displays or changes the value of fields in the EEPROM in the order given. When given no field specifiers, eeprom displays the values of all EEPROM fields. If a filed is specified, just that field is displayed. If both a field and a value are specified, the field is set to that value, if possible. Both the old and new values are displayed for the specified field.
OPTIONS
−c Correct bad checksums.
−i Ignore bad checksums.
−f filename Use filename as the EEPROM device.
− Read field names and values from the standard input.
FIELDS and VALUES — non SPARCstation 1 SYSTEMS
hwupdate a valid date (including “today” and “now”)
memsize 8 bit decimal integer (megabytes of memory on machine)
memtest 8 bit decimal 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 decimal 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 decimal integer)
rows number of rows on screen (8-bit decimal integer)
FIELDS and VALUES — SPARCstation 1 SYSTEMS
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”
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-logo? “true” or “false”; true to display custom logo instead of Sun logo
oem-banner 80 chars for custom banner string
oem-banner? “true” or “false”; true to use custom banner string instead of Sun banner
boot-from-diag 80 chars specifying diag boot string (for example, “sd()dexec”); defaults to “le()vmunix”
ttya-mode 16 chars to specify 5 comma-seperated 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
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)
ttya-ignore-cd “true” or “false”; true to ignore the CARRIER DETECT line. Defaults to “true”.
ttyb-mode 16 chars to specify 5 comma-seperated 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 “false”.
FILES
/dev/eeprom
/usr/include/mon/eeprom.h
FILES — SPARCstation 1 SYSTEMS
/dev/openprom
Sun Release 4.0 — Last change: 2 May 1989