Dell PowerSwitch S4128F-ON Open Networking Hardware Diagnostic Guide June 2018 - Page 29

cpldupgradetool, Tests, CLI options

Page 29 highlights

1 Set the Verbose level with a value of 0-3 using bits 4 and 5 of the EDA control reg (0x55). For example, to set the verbose level to 2, set bit 5-1 (5=1) and bit 4-0 (4=0). root@dellemc-diag-os:~# nvramtool --write --reg=0x55 --val=0x25 The value is written in hexadecimal. The xx10x1xx shows the bit positions of 2, 4&5, and bit 0 on the right. 2 Enable Verbose mode by setting bit 2 of the same reg to 1. NOTE: If you disable Verbose mode, or bit 2 of reg 0x55 is set to 0, the default verbosity level is 0/zero. EDA control reg (0x55): • 5:4-EDA Verbose Level = 0/1/2/3 or verbosity level 0, 1, 2, or 3 • 3-EDA Extended Tests • 2-EDA Verbose Mode = 0/1 (0=disabled; 1=enabled) • 1-EDA stop on Error • 0-EDA Enable NOTE: If you do not need the Verbose mode settings to persist through reboots, you can use the environment variable method to enable Verbose Mode. export VERB_LEVEL= To clear the environment variable, use the unset VERB_LEVEL command. cpldupgradetool The cpldupgradetool shows the CPLD version that is being used to upgrade the CPLD. Tests There are no defined tests with cpldupgradetool. CLI options root@dellemc-diag-os:~# cpldupgradetool DellEmc Diag - CPLD Upgrade Tool version 1.1, x.xx.x.x-x build, 2017/05/23, Syntax: cpldupgradetool Print the Help-Text:= cpldupgradetool --h cpldupgradetool -h Print the CPLD versions:= cpldupgradetool --cpldver cpldupgradetool -c Program a new CPLD image into CPLD's by specified index:= cpldupgradetool --write [--index=-1] [--image=] cpldupgradetool -w [-i -1] [-m ] (or) (or) (or) Usage:= -h, --h -c, --cpldver -w, --write -i, --index= -m, --image= Show the help text CPLD version Write operation Index CPLD image Dell EMC DAIG-OS tools 29

  • 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

1
Set the Verbose level with a value of 0–3 using bits 4 and 5 of the EDA control reg (0x55).
For example, to set the verbose level to 2, set bit 5–1 (
5=1
) and bit 4–0 (
4=0
).
root@dellemc-diag-os:~# nvramtool --write --reg=0x55 --val=0x25
The value is written in hexadecimal. The
xx10x1xx
shows the bit positions of 2, 4&5, and bit 0 on the right.
2
Enable Verbose mode by setting bit 2 of the same reg to
1
.
NOTE:
If you disable Verbose mode, or bit 2 of reg 0x55 is set to
0
, the default verbosity level is
0/zero
.
EDA control reg (0x55):
5:4—EDA Verbose Level = 0/1/2/3 or verbosity level 0, 1, 2, or 3
3—EDA Extended Tests
2—EDA Verbose Mode = 0/1 (0=disabled; 1=enabled)
1—EDA stop on Error
0—EDA Enable
NOTE:
If you do not need the Verbose mode settings to persist through reboots, you can use the environment variable method to
enable Verbose Mode.
export VERB_LEVEL=<setting 0,1,2 or 3>
To clear the environment variable, use the
unset VERB_LEVEL
command.
cpldupgradetool
The
cpldupgradetool
shows the CPLD version that is being used to upgrade the CPLD.
Tests
There are no
defined
tests with
cpldupgradetool
.
CLI options
root@dellemc-diag-os:~# cpldupgradetool
DellEmc Diag - CPLD Upgrade Tool
version 1.1, x.xx.x.x-x
build, 2017/05/23,
Syntax: cpldupgradetool <option>
Print the Help-Text:=
cpldupgradetool --h
(or)
cpldupgradetool -h
Print the CPLD versions:=
cpldupgradetool --cpldver
(or)
cpldupgradetool -c
Program a new CPLD image into CPLD's by specified index:=
cpldupgradetool --write [--index=-1] [--image=<file>]
(or)
cpldupgradetool -w [-i -1] [-m <file>]
Usage:=
-h, --h
Show the help text
-c, --cpldver
CPLD version
-w, --write
Write operation
-i, --index=
Index
-m, --image=
CPLD image
Dell EMC DAIG-OS tools
29