Dell S5148F-ON Open Networking Hardware Diagnostic Guide September 2017 - Page 31

Configuration file format, ethtool, fantool

Page 31 highlights

Total Length: 6 TLV Name Code Len Value CRC-32 0xFE 4 0xD4431C18 Checksum is valid. root@dell-diag-os:/opt/ngos/bin# Configuration file format The eeprom devices display under the corresponding i2c bus number. Whenever you add a new EEPROM to the bus number, the number of devices in each bus number updates. Each eeprom field is separated by the '|' character. The order of the fields is: 1 Name of the EEPROM. Provides the same name at the eeprom option in the eepromtool. 2 The bus to which the EEPROM connects. 3 The i2c path of the EEPROM. If a MUX is present, the MUX address, offset, and value are separated by colons. 4 The i2c address of the EEPROM. 5 Specifies if the device is a 16-bit address access. 6 Byte count to read or write. 7 Specifies the format of the data in the eeprom as tlv or flat. 8 Write protect register, if applicable. 9 Write protect register mask. 10 Bus Return to Normal - Any bus configurations needed to return the bus to a valid setting. If you need any MUX settings, they are listed as address : register : mask : value. Each successive MUX setting is separated with a :,:. CONTROL_CONFIG | 1 #Control Config | method | | | | | I2C Device Flag | lpc | - | 0 | 0x04D8 | 0x210 | 0x211 | 0x212 | 0x213 | 0x55 | 0xAA | 0x5A | 0xA5 Eeprom devices with tlv format found on bus #0: 0 Eeprom devices with tlv format found on bus #1: 15 IDEEPROM |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x50|0x00|1|tlv|lpc|0|0x220|0|1|-|CPUEEPROM1 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x50|0x00|1|tlv|lpc|0|0x220|0|1|-|CPUEEPROM2 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x51|0x00|1|tlv|lpc|0|0x220|0|1|-|CPUEEPROM3 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x52|0x00|1|tlv|lpc|0|0x220|0|1|-|CPUEEPROM4 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x53|0x00|1|tlv|lpc|0|0x220|0|1|-|CPUEEPROM5 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x54|0x00|1|tlv|lpc|0|0x220|0|1|-|CPUEEPROM6 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x55|0x00|1|tlv|lpc|0|0x220|0|1|-|CPUEEPROM7 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x56|0x00|1|tlv|lpc|0|0x220|0|1|-|- NOTE: (Optional) For systems that use the SmartFusion chip, the eepromtool also has two companion configuration files - default_mailbox_eeprom.cfg which holds information for the --psueepromdump command, and default_fan_mailbox_eeprom.cfg which holds information for the --faneepromdump command. ethtool The ethtool provides management interface details. fantool The fantool tests the fans in the system, sets and reports the fan speeds and the fan tray field replaceable unit (FRU) registers. The fantool also reports the airflow direction of the fans. The psutool command controls the PSU fans. Dell EMC DiagOS tools 31

  • 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
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95

Total Length: 6
TLV Name Code Len Value
-------------------- ---- --- -----
CRC-32 0xFE 4 0xD4431C18
Checksum is valid.
root@dell-diag-os:/opt/ngos/bin#
Configuration
file
format
The
eeprom
devices display under the corresponding
i2c
bus number. Whenever you add a new EEPROM to the bus number, the
number of devices in each bus number updates. Each
eeprom
field
is separated by the ‘|’ character. The order of the
fields
is:
1
Name of the EEPROM. Provides the same name at the
eeprom
option in the
eepromtool
.
2
The bus to which the EEPROM connects.
3
The
i2c
path of the EEPROM. If a MUX is present, the MUX address,
offset,
and value are separated by colons.
4
The
i2c
address of the EEPROM.
5
Specifies
if the device is a 16–bit address access.
6
Byte count to read or write.
7
Specifies
the format of the data in the eeprom as
tlv
or
flat
.
8
Write protect register, if applicable.
9
Write protect register mask.
10
Bus Return to Normal — Any bus
configurations
needed to return the bus to a valid setting. If you need any MUX settings, they are
listed as
address : register : mask : value
. Each successive MUX setting is separated with a
:,:
.
CONTROL_CONFIG | 1
#Control Config | method | <Mux Selection> | <Address> | <Register> | <Take Control> | <Release
Control>
I2C Device Flag | lpc | - | 0 | 0x04D8 | 0x210 | 0x211 | 0x212 | 0x213 | 0x55 |
0xAA | 0x5A | 0xA5
Eeprom devices with tlv format found on bus #0: 0
Eeprom devices with tlv format found on bus #1: 15
IDEEPROM
|/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x50|0x00|1|tlv|lpc|0|0x220|0|1|-|-
CPUEEPROM1 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x50|0x00|1|tlv|lpc|0|0x220|0|1|-|-
CPUEEPROM2 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x51|0x00|1|tlv|lpc|0|0x220|0|1|-|-
CPUEEPROM3 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x52|0x00|1|tlv|lpc|0|0x220|0|1|-|-
CPUEEPROM4 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x53|0x00|1|tlv|lpc|0|0x220|0|1|-|-
CPUEEPROM5 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x54|0x00|1|tlv|lpc|0|0x220|0|1|-|-
CPUEEPROM6 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x55|0x00|1|tlv|lpc|0|0x220|0|1|-|-
CPUEEPROM7 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x56|0x00|1|tlv|lpc|0|0x220|0|1|-|-
NOTE:
(Optional) For systems that use the SmartFusion chip, the
eepromtool
also has two companion
configuration
files
default_mailbox_eeprom.cfg
which holds information for the
--psueepromdump
command, and
default_fan_mailbox_eeprom.cfg
which holds information for the
--faneepromdump
command.
ethtool
The
ethtool
provides management interface details.
fantool
The
fantool
tests the fans in the system, sets and reports the fan speeds and the fan tray
field
replaceable unit (FRU) registers.
The
fantool
also reports the
airflow
direction of the fans. The
psutool
command controls the PSU fans.
Dell EMC DiagOS tools
31