Dell S4148F-ON Open Networking Hardware Diagnostic Guide June 2018 - Page 55

nvramtool, Tests, CLI option, OutputRead outputWrite output, Output, Read output

Page 55 highlights

With traffic commands, use the -d option, which displays the BCM.0> shell. To check counters and if the link is up, use the ps and show c commands. nvramtool To read and write the NVRAM bits, use the nvramtool. The BIOS uses the NVRAM bits to control testing. The EDA tools also use the NVRAM bits. The NVRAM is an area, usually in a battery backed-up device such as an RTC chip. The NVRAM bits do not change across reboots or power cycles. These bits control how devices boot and how the system performs tests. The nvramtool controls both the BIOS and EDA for testing. The bits are not common across platforms and are defined in the configuration file. When using this tool, you must write the correct bits because the tool does not know the register details it is writing. The nvramtool displays the bit-level detail in the NVRAM registers, depending on how you define it in the configuration file. Tests There are no tests of the NVRAM. This tool only controls the bits. CLI option DellEmc Diag - NVRAM Tool version 1.5, x.xx.x.x-x build, 2017/05/23, Syntax: nvramtool Show this help:= nvramtool --h (or) nvramtool -h Read all or specfic register NVRAM values:= nvramtool --read [--reg=] (or) nvramtool -r [-R ] Write NVRAM value:= nvramtool --write [--reg= --val=] (or) nvramtool -w [-R -V ] Execute repeatedly command by count:= nvramtool --iteration=max/ [option1] [option2]...(or) nvramtool -I max/ [option1] [option2]... Usage: -h, --h -r, --read -w, --write -I, --iteration= -R, --reg= -V, --val= Show the help text Read operation Write operation Iteration command execution Register Value to be set Output Read output root@dell-diag-os:~# nvramtool --read NVRAM Values: 0x00 0x9f 0x00 0xe6 0x03 0x03 0x00 0xea Test Status Fail Bits : offset 0x50 = 0x0 7 NVRAM test = 0 Dell EMC DAIG-OS tools 55

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86

With
traffic
commands, use the
–d
option, which displays the
BCM.0>
shell. To check counters and if the link is up, use the
ps
and
show
c
commands.
nvramtool
To read and write the NVRAM bits, use the
nvramtool
. The BIOS uses the NVRAM bits to control testing. The EDA tools also use the
NVRAM bits.
The NVRAM is an area, usually in a battery backed-up device such as an RTC chip. The NVRAM bits do not change across reboots or
power cycles. These bits control how devices boot and how the system performs tests. The
nvramtool
controls both the BIOS and EDA
for testing. The bits are not common across platforms and are
defined
in the
configuration
file.
When using this tool, you must write the
correct bits because the tool does not know the register details it is writing. The
nvramtool
displays the bit-level detail in the NVRAM
registers, depending on how you
define
it in the
configuration
file.
Tests
There are no tests of the NVRAM. This tool only controls the bits.
CLI option
DellEmc Diag - NVRAM Tool
version 1.5, x.xx.x.x-x
build, 2017/05/23,
Syntax:
nvramtool <option>
Show this help:=
nvramtool --h
(or)
nvramtool -h
Read all or specfic register NVRAM values:=
nvramtool --read [--reg=<register>]
(or)
nvramtool -r [-R <register>]
Write NVRAM value:=
nvramtool --write [--reg=<register> --val=<value>]
(or)
nvramtool -w [-R <register> -V <value>]
Execute repeatedly command by count:=
nvramtool --iteration=max/<count> [option1] [option2]...(or)
nvramtool -I max/<count> [option1] [option2]...
Usage:
-h, --h
Show the help text
-r, --read
Read operation
-w, --write
Write operation
-I, --iteration=
Iteration command execution
-R, --reg=
Register
-V, --val=
Value to be set
Output
Read output
root@dell-diag-os:~# nvramtool --read
NVRAM Values:
0x00 0x9f 0x00 0xe6 0x03 0x03 0x00 0xea
Test Status Fail Bits : offset 0x50 = 0x0
7 NVRAM test = 0
Dell EMC DAIG-OS tools
55