Dell N3200-ON Open Networking Hardware Diagnostic Guide July 2022 - Page 29

eepromtool, Write FRU data to EEPROM

Page 29 highlights

eepromtool To program the type, length, value (TLV) format EEPROMs, use the eepromtool. You can also use the eepromtool to show all the TLV-formatted EEPROM contents or show specific EEPROM content by specifying the EEPROM type. Tests The test option in EEPROM devices allows you to verify the MAC address. Use this test for MAC address consistency. CLI options root@dellemc-diag-os:~# eepromtool DellEmc Diag - Eeprom Tool version 2.0, x.xx.x.x-x build, 2019/07/03, Syntax:= eepromtool Display help-text:= eepromtool --help (or) eepromtool -h List the understood TLV codes and names:= eepromtool --list (or) eepromtool -l List all eeprom devices:= eepromtool --listdevices (or) eepromtool -L Dump the PSU eeprom:= eepromtool --psueepromdump (or) eepromtool -m Dump the FAN eeprom:= eepromtool --faneepromdump (or) eepromtool -F Show the EEPROM data:= eepromtool --eeprom= --show (or) eepromtool -P -x Reset the EEPROM data:= eepromtool --eeprom= --erase (or) eepromtool -P -e Verify the MAC address in system-eeprom and mac-eeprom:= eepromtool --eeprom= --test (or) eepromtool -P -t Verify the EEPROM data:= eepromtool --eeprom= --test --content (or) eepromtool -P -t -c Verify EEPROM write protection:= eepromtool --eeprom= --test --protect (or) eepromtool -P -t -p Look up a TLV by code and write the value to stdout:= eepromtool --eeprom= --get (or) eepromtool -P -g Execute repeatedly command by count:= eepromtool --iteration=max/ [option1] [option2]... (or) eepromtool -I max/ [option1] [option2]... Set a TLV code to a value:= eepromtool --eeprom= --set =,=... eepromtool -P -s =,=... Modify FRU config file:= eepromtool --fru= --modify= --value= (or) eepromtool -T -M -V Add UUID to FRU config file:= eepromtool --fru= --modify= --autogenuuid (or) eepromtool -T -M -U Generate FRU data from the config file:= eepromtool --fru= --file= (or) eepromtool -T -O Write FRU data to EEPROM:= (or) Dell DIAG-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

eepromtool
To program the type, length, value (TLV) format EEPROMs, use the
eepromtool
. You can also use the
eepromtool
to show
all the TLV-formatted EEPROM contents or show specific EEPROM content by specifying the EEPROM type.
Tests
The test option in EEPROM devices allows you to verify the MAC address. Use this test for MAC address consistency.
CLI options
root@dellemc-diag-os:~# eepromtool
DellEmc Diag - Eeprom Tool
version 2.0, x.xx.x.x-x
build, 2019/07/03,
Syntax:= eepromtool <option>
Display help-text:=
eepromtool --help
(or)
eepromtool -h
List the understood TLV codes and names:=
eepromtool --list
(or)
eepromtool -l
List all eeprom devices:=
eepromtool --listdevices
(or)
eepromtool -L
Dump the PSU eeprom:=
eepromtool --psueepromdump
(or)
eepromtool -m
Dump the FAN eeprom:=
eepromtool --faneepromdump
(or)
eepromtool -F
Show the EEPROM data:=
eepromtool --eeprom=<eepromtype> --show
(or)
eepromtool -P <eepromtype>
-x
Reset the EEPROM data:=
eepromtool --eeprom=<eepromtype> --erase
(or)
eepromtool -P <eepromtype>
-e
Verify the MAC address in system-eeprom and mac-eeprom:=
eepromtool --eeprom=<eepromtype> --test
(or)
eepromtool -P <eepromtype>
-t
Verify the EEPROM data:=
eepromtool --eeprom=<eepromtype> --test --content
(or)
eepromtool -P <eepromtype>
-t -c
Verify EEPROM write protection:=
eepromtool --eeprom=<eepromtype> --test --protect
(or)
eepromtool -P <eepromtype>
-t -p
Look up a TLV by code and write the value to stdout:=
eepromtool --eeprom=<eepromtype> --get <code>
(or)
eepromtool -P <eepromtype>
-g <code>
Execute repeatedly command by count:=
eepromtool --iteration=max/<count> [option1] [option2]...
(or)
eepromtool -I max/<count> [option1] [option2]...
Set a TLV code to a value:=
eepromtool --eeprom=<eepromtype> --set <code>=<value>,<code>=<value>...
(or)
eepromtool -P <eepromtype> -s <code>=<value>,<code>=<value>...
Modify FRU config file:=
eepromtool --fru=<frutype>
--modify=<filed> --value=<val>
(or)
eepromtool -T <frutype>
-M <filed>
-V <val>
Add UUID to FRU config file:=
eepromtool --fru=<frutype>
--modify=<filed> --autogenuuid
(or)
eepromtool -T <frutype>
-M <filed>
-U
Generate FRU data from the config file:=
eepromtool --fru=<frutype>
--file=<fru.bin>
(or)
eepromtool -T <frutype>
-O <fru.bin>
Write FRU data to EEPROM:=
Dell DIAG-OS tools
29