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

OutputList outputListdevicenames outputRead outputWrite outputTest output

Page 67 highlights

-L, --listdevicenames -r, --read -w, --write -I, --iteration= -n, --devname= -D, --dev= -R, --reg= -V, --val= -d, --dump List Device name Read operation Write operation Iteration command execution Device name Device (should be assigned 0 for lpc access) Register Value to be set Dump the values in the registers of a device Output List output root@dell-diag-os:~# pltool --list CPLD1 0 cpld lpc 0 (U5) 0x100 CPLD_VERSION bits:8 RO val:0 mask:0xff test:0 ver:0x0 7:4 MAJOR_VER RO 0 3:0 MINOR_VER RO 0 0x101 BOARD_TYPE bits:8 RO val:0xff mask:0xff test:0 ver:0x0 7:0 BOARD_TYPE RO 0x1 3 Board 0x102 SW_SCRATCH bits:8 RW val:0xde mask:0xff test:1 ver:0x0 7:0 SW_SCRATCH RW 0xde 0x103 CPLD_ID bits:8 RO val:0xff mask:0xff test:0 ver:0x0 7:0 CPLD_ID RO 0x1 0x10f BOARD_REV bits:8 RO val:0xff mask:0xff test:0 ver:0x0 7:0 BOARD_REV RO 0 0x110 CPLD_SEP_RST0 bits:8 RO val:0xff mask:0xff test:0 ver:0x0 7 Reset Extender CPLD 4 RW 0x1 0 Reset 1 Not Reset 6 Reset Extender CPLD 3 RW 0x1 0 Reset 1 Not Reset 5 Reset Extender CPLD 2 RW 0x1 0 Reset 1 Not Reset 4 PCA9548_RST7 RW 0x1 0 Reset 1 Not Reset 3 PCA9548_RST6 RW 0x1 0 Reset 1 Not Reset 2 PCA9548_RST5 RW 0x1 0 Reset 1 Not Reset 1 PCA9548_RST4 RW 0x1 0 Reset 1 Not Reset output Listdevicenames Based from the output of --devicenames, you can decide if you must use the --devname= option in the read or write functions. You can access CPLD1 being at deviceaddress 0, using the register value for the register you want, such as: root@dell-diag-os:~# pltool -listdevicenames 0x0 : CPLD1 0x3e : CPLD2 0x3e : CPLD3 Dell EMC DAIG-OS tools 67

  • 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

-L, --listdevicenames
List Device name
-r, --read
Read operation
-w, --write
Write operation
-I, --iteration=
Iteration command execution
-n, --devname=
Device name
-D, --dev=
Device
(should be assigned 0 for lpc access)
-R, --reg=
Register
-V, --val=
Value to be set
-d, --dump
Dump the values in the registers of a device
Output
List output
root@dell-diag-os:~# pltool --list
CPLD1 0 cpld lpc 0 (U5)
0x100 CPLD_VERSION bits:8 RO val:0 mask:0xff test:0 ver:0x0
7:4 MAJOR_VER RO 0
3:0 MINOR_VER RO 0
0x101 BOARD_TYPE bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7:0 BOARD_TYPE RO 0x1
3 <
platform
> Board
0x102 SW_SCRATCH bits:8 RW val:0xde mask:0xff test:1 ver:0x0
7:0 SW_SCRATCH RW 0xde
0x103 CPLD_ID bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7:0 CPLD_ID RO 0x1
0x10f BOARD_REV bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7:0 BOARD_REV RO 0
0x110 CPLD_SEP_RST0 bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7 Reset Extender CPLD 4 RW 0x1
0 Reset
1 Not Reset
6 Reset Extender CPLD 3 RW 0x1
0 Reset
1 Not Reset
5 Reset Extender CPLD 2 RW 0x1
0 Reset
1 Not Reset
4 PCA9548_RST7 RW 0x1
0 Reset
1 Not Reset
3 PCA9548_RST6 RW 0x1
0 Reset
1 Not Reset
2 PCA9548_RST5 RW 0x1
0 Reset
1 Not Reset
1 PCA9548_RST4 RW 0x1
0 Reset
1 Not Reset
Listdevicenames
output
Based from the output of
--devicenames
, you can decide if you must use the
--devname= option
in the read or write functions.
You can access
CPLD1
being at
deviceaddress 0
, using the register value for the register you want, such as:
root@dell-diag-os:~# pltool -listdevicenames
0x0 : CPLD1
0x3e : CPLD2
0x3e : CPLD3
Dell EMC DAIG-OS tools
67