Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nvram(8) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nvram(7)

prom(8)

nvram(8)                        (RM400 only)                       nvram(8)

NAME
     nvram - print and modify nonvolatile memory data

SYNOPSIS
     /sbin/nvram [-fsa] [-b bootfile] [-B] [-S bootmode] [-i inetaddr]
                 [-t [args]] [-c [args]] [-0|1 args] [-n c|e] [-x [string]]
                 [-T flags] [device]

DESCRIPTION
     nvram prints and modifies nonvolatile memory data. It may be used, for
     example, to examine (and even to patch) configuration data. nvram also
     has some additional features that relate to teleservice requirements
     ("shadow console").

OPTIONS
     -f   Reads firmware parameters and prints them to screen. This func-
          tion prints: 1) Internet address; 2) console parameter: console
          type [MEM, SIO, GRAF], baudrate, v24 signals; 3) tty0; 4) tty1;
          5) teleservice parameter: baudrate, v24 signals, tty setups;
          6) graphic controller type; 7) graphic resolution; 8) graphic
          monitor; 9) network type.

     -s   Reads boot parameters and prints them to screen. This option is
          set by default. This function prints: bootmode, power on status,
          power on failcode, power on mask, reset PC, reset RA and memory
          parity switch. The parameters that are relevant for a remote ins-
          tallation are also output: the IP address of the server, the
          server name, the IP address of the gateway, the subnet network
          mask, and the installation type.

     -a   See -f and -s.

     -b bootfile
          Creates a bootfile entry in NVRAM. This entry is evaluated by the
          firmware if the system is started in boot mode "c" or manually
          with "auto". The string for bootfile can contain a maximum of 20
          characters.

          Example: nvram -b "dkncr(,,10)sash"

     -B   Outputs the bootfile string stored in NVRAM.

          Example: nvram -B

          The bootfile string stored in NVRAM is sent to stdout, e.g.
          Current bootfile: dkncr(0,0,10)sash.

     -S   Sets the bootmode in the NVRAM. This entry is evaluated by the
          firmware to determine the manner in which the system should power
          up after a reboot. The valid boot modes can be found in prom(8).

          Example: nvram -S r



Page 1                       Reliant UNIX 5.44                Printed 11/98

nvram(8)                        (RM400 only)                       nvram(8)

     -i inetaddr
          Sets the internet number in the NVRAM.

     -t   Displays the current status of the Tele-X-Link modem connection.

          Output: active or inactive.

     -t args
          Sets teleservice parameter. The following can be entered for
          args:

          baudrate          :300:600:1200:2400:4800:9600:19200:38400:

          bits per char     :cs7:cs8:

          stopbits          :stop1:stop2:

          parity            :parno:parodd:parevn:parinv:

          teleservice flags :tsa:tse:

          v24 signals       :s1:s2:s4:m1:m2:m3:m4:m5:

          Type ~ or ! for disabling teleservice flags or teleservice v24
          signals.

          Example: nvram -t 19200:cs8:~stop1:tsa:!tse:s1:~m5 -a

     -c args
          Sets console flags. The following can be entered for args:

          baudrate
               :75:110:134:150:300:600:1200:1800:2400:4800:9600:19200:38400:

          v24 signals       :s1:s2:m1:m5:

          Type ~ or ! for disabling console v24 signals.

          Example: nvram -c 19200:s1:!s2:~m1 -a

     -0 args
     -1 args
          Sets tty0 or tty1 parameter. The following can be entered for
          args:

          v24 signals       :s1:s2:m1:m2:m3:m5:

     -n c|e
          Switches between Cheapernet (c) and Ethernet (e).





Page 2                       Reliant UNIX 5.44                Printed 11/98

nvram(8)                        (RM400 only)                       nvram(8)

     -x string
          Sets an initialization string for BA80.

          string not specified: The current initialization string is
          displayed.

     -T flags
          Switches the console to teleservice and back.

          The following can be entered for flags:

          on       Connects to the teleservice port, switches to the
                   teleservice console ("shadow console").

          off      Switches back from the teleservice console to the local
                   console and disconnects.

          local    Just switches console back to the local console but does
                   not disconnect.

          status   Displays the current status of the Tele-X-Link port.

                   Output:

                   Modem status : on|off
                   Remote Console Connection : on|off

     device
          Optional parameter. device is set by default to /dev/nvram.

NOTES
     For creating of /dev/nvram type: mknod nvram c 129 10.

     Ensure your Reliant UNIX version recognizes a device driver called
     nvram, otherwise your system may crash.

FILES
     /dev/nvram

SEE ALSO
     nvram(7), prom(8).













Page 3                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026