NVRAM(8) | Linux on Power Service Tools | NVRAM(8) |
NAME¶
nvram - format data stored in non-volatile RAM
SYNOPSIS¶
/usr/sbin/nvram [ options ]
DESCRIPTION¶
Nvram is used to print and modify data stored in the non-volatile RAM (NVRAM) on a PowerPC-64 system. NVRAM on these systems is partitioned into data sections that each have their own format. The print options to this command selects what to print and how to format it.
The nvram utility can also be used to update the data in certain NVRAM partitions of PowerPC-64 systems. Nvram can update the value of a name/value pair for NVRAM partitions formatted as a set of name=value pairs. On many systems, the following NVRAM partitions contain data formatted as name=value pairs: common, of-config, and ibm,setupcfg.
OPTIONS¶
- --print-config[=var]
- print value of a config variable, or print all variables in the specified (or all) partitions.
- --update-config name=value
- update the config variable in the specified partition; the -p option must also be specified..
- -p partition
- specify a partition; required with the --update-config option, optional with the --print-config option.
- --print-vpd
- print vital product data (VPD) collected by the system in NVRAM. This data may also be viewed with the lscfg(1) command directly from the devices.
- --print-all-vpd
- print viral product data (VPD) collected by the system in NVRAM including vendor specific data.
- --print-err-log
- print the checkstop error log generated by the service processor whenever the system checkstops.
- --print-event-scan
- print the event scan log stored in NVRAM.
- --partitions
- print the contents of all the NVRAM partition headers.
- --nvram-file path
- read nvram data from a given file rather than /dev/nvram. To capture NVRAM for later use, simply copy /dev/nvram into a file.
- --verbose (-v)
- be more verbose.
- --help
- print usage information including other low level options useful for debugging nvram.
- --ascii name
- print partition contents as ASCII text
- --dump name
- raw dump of partition (use --partitions to see names)
- --nvram-size
- specify size of nvram data, must in multiples of 16 Bytes (for repair operations)
- --unzip name
- decompress and print compressed data from partition
- --zero | 0
- terminate config pairs with a NULL character
FILES¶
/dev/nvram
AUTHOR¶
Writtem by Todd Inglett, Nathan Fontenot, and Michael Strosaker
May 2004 | Linux |