Administrator Guide
Table Of Contents
- Open Networking Hardware Diagnostic Guide April 2016
- About this Guide
- Installation Instructions for ONIE and the Dell OS
- ONIE Overview
- Dell DIAG OS
- Dell DiagOS Tools
- Technical Support

Syntax: eepromtool <option>
--help := Display usage
--list := List the understood TLV codes and names.
--listdevices := List all eeprom devices.
--psueepromdump := Dump the PSU eeprom.
--faneepromdump := Dump the FAN eeprom.
--eeprom=eepromtype --fileprogram=<filepath> := Program eeprom from flat file.
--eeprom=eepromtype --show := Show the EEPROM data.
--eeprom=eepromtype --erase := Reset the EEPROM data.
--eeprom=eepromtype --test := Verify the MAC address in system-eeprom and mac-eeprom.
--eeprom=eepromtype --get <code> := Look up a TLV by code and write the value to stdout.
--eeprom=eepromtype --set <code>=<value>,<code>=<value>... := Set a TLV code to a value.
• list — Lists all types and type code for an EEPROM.
• listdevices — Lists all the EEPROMs available for the particular platform.
• psueepromdump — Does not use TLV logic. This option is valid only when you use SMF logic to read the PSU contents.
• faneepromdump — Allows you to dump the fan eeprom.
• eeprom — This option is provided every time you access the EEPROM.
• show — Shows the types and values of the EEPROM you specify.
• erase — Erases the contents of the EEPROM. Only the CRC value is available after erasing the EEPROM contents.
• test — Allows you to verify the MAC address in the system-eeprom and the mac-eeprom.
• get — Retrieves a particular value in the specified EEPROM.
• set — Sets the values for the specified EEPROM.
Output
root@dell-diag-os:/opt/ngos/bin# eepromtool --list
TLV Code TLV Name
======== =================
0x21 Product Name
0x22 Part Number
0x23 Serial Number
0x24 Base MAC Address
0x25 Manufacture Date
0x26 Device Version
0x27 Label Revision
0x28 Platform Name
0x29 Loader Version
0x2a MAC Addresses
0x2b Manufacturer
0x2c Country Code
0x2d Vendor Name
0x2e Diag Version
0x2f Service Tag
0xfd Vendor Extension
0xfe CRC-32
root@dell-diag-os:/opt/ngos/bin# eepromtool --listdevices
CPUEEPROM1
CPUEEPROM2
CPUEEPROM3
CPUEEPROM4
CPUEEPROM5
CPUEEPROM6
CPUEEPROM7
CPUEEPROM8
FAN1EEPROM
FAN2EEPROM
FAN3EEPROM
FAN4EEPROM
FAN5EEPROM
SwitchEEPROM
root@dell-diag-os:/opt/ngos/bin# eepromtool --psueepromdump
************PSU1_CountryCode*************
Registers 0x24a - 0x24b
CH
Dell DiagOS Tools 33