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

lpctool, CLI options, OutputRead output, Write output, memtool, Output, Read output

Page 45 highlights

lpctool To access devices on the LPC bus, use the lpctool. The lpctool allows access on the LPC bus by using I/O transactions at the processor level. This access does not include LPC interfaces in other devices. Other DIAG-OS tools use lpctool to read LPC-connected registers. CLI options DellEmc Diag - LPC Tool version 1.0, x.xx.x.x-x build, 2017/05/23, Syntax: lpctool Show the help-text:= lpctool --h (or) lpctool -h Read the specified address:= lpctool --read --addr= --count= [--size=] (or) lpctool -r -a -C [-z ] Write data at the specified address:= lpctool --write --addr=address --val=data [--size=b,w or l] (or) lpctool -w -a -V [-z ] Execute repeatedly command by count:= lpctool --iteration=max/ [option1] [option2]... (or) lpctool -I max/ [option1] [option2]... Usage:= -h, --h Show the help text -w, --write Write operation -r, --read Read operation -z, --size= Size -I, --iteration= Iteration command execution -C, --count= Count -a, --addr= Address Output Read output root@dell-diag-os:/opt/dellemc/diag/bin# ./lpctool --read --addr=102 Byte Port 0x102 : 0xde Write output root@dell-diag-os:/opt/dellemc/diag/bin# ./lpctool --write --addr=102 --val=10 memtool The memtool tests the physical memories in the system. The memtool performs address bus and data tests that moves 1s or 0s through the bus lines to detect stuck, missing, bridged, or other issues found during board tests. The tool also places hamming values or addresses into memory to test and report failing bits. All tests are similar to the memtest86 application but are available through the CLI. Dell EMC DAIG-OS tools 45

  • 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

lpctool
To access devices on the LPC bus, use the
lpctool
.
The
lpctool
allows access on the LPC bus by using I/O transactions at the processor level. This access does not include LPC interfaces
in other devices. Other DIAG-OS tools use
lpctool
to read LPC-connected registers.
CLI options
DellEmc Diag - LPC Tool
version 1.0, x.xx.x.x-x
build, 2017/05/23,
Syntax: lpctool <option>
Show the help-text:=
lpctool --h
(or)
lpctool -h
Read the specified address:=
lpctool --read --addr=<address> --count=<number_of_bytes> [--size=<b,w or l>] (or)
lpctool -r -a <address> -C <number_of_bytes> [-z <b,w or l>]
Write data at the specified address:=
lpctool --write --addr=address --val=data [--size=b,w or l]
(or)
lpctool -w -a <address> -V <data> [-z <b,w or l>]
Execute repeatedly command by count:=
lpctool --iteration=max/<count> [option1] [option2]...
(or)
lpctool -I max/<count> [option1] [option2]...
Usage:=
-h, --h
Show the help text
-w, --write
Write operation
-r, --read
Read operation
-z, --size=
Size
-I, --iteration=
Iteration command execution
-C, --count=
Count
-a, --addr=
Address
Output
Read output
root@dell-diag-os:/opt/dellemc/diag/bin# ./lpctool --read --addr=102
Byte Port 0x102 : 0xde
Write output
root@dell-diag-os:/opt/dellemc/diag/bin# ./lpctool --write --addr=102 --val=10
memtool
The
memtool
tests the physical memories in the system.
The
memtool
performs address bus and data tests that moves 1s or 0s through the bus lines to detect stuck, missing, bridged, or other
issues found during board tests. The tool also places hamming values or addresses into memory to test and report failing bits. All tests are
similar to the
memtest86
application but are available through the CLI.
Dell EMC DAIG-OS tools
45