Specifications
Table Of Contents
- Open Networking Hardware Diagnostic Guide September 2017
- About this guide
- ONIE and Dell EMC OS installation instructions
- ONIE overview
- Dell EMC DIAG OS
- Dell EMC DiagOS tools
- Technical support
write Output
/opt/dell/diag/bin# ./i2ctool --write --bus=/dev/i2c-2 --addr=0x48 --reg=0x14 --val=1
Conguration le format
The conguration le format for the i2c busses is strict. Use i2ctool --create to create a boilerplate conguration le and editing
the boilerplate conguration le rather than creating it from scratch.
The conguration le lists each bus from 0 to 4 and the devices. The number of devices MUST match the number of entries or the
i2ctool stops functioning. If you edit out a device or add a device, you must adjust the number of devices found.
Each device is listed on its own line for that bus in comma-separated format:
Name
mux bus
mux level 1 setting in the format of address:value
mux level 2 setting in the format of address:value
device address
Register we can read from
byte count
For example:
#I2C devices found on bus #<Bus Number>: <Number of Devices>
#Device Name|Bus|Mux1 Address|Mux2 Address|Device Address|Offset|Count
#If device is not connected with Mux| " x " needed.
I2C devices found on bus #0: 2
Clock GEN |/dev/i2c-0| - |0x69|0x00|1
SPD0 |/dev/i2c-0| - |0x50|0x00|1
I2C devices found on bus #1: 55
CPU Board I2C Mux |/dev/i2c-1| - |0x70|0x00|1
CPU Board EEPROM1 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x53|0x00|1
CPU Board EEPROM2 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0x8|0x57|0x00|1
Switch Brd EEPROM |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0xa:,:0x71:0x1:0xff:0xx
1|0x50|0x00:0x10|1
#TobeAdded - QUMRAN
#TobeAdded - TCAM
#TobeAdded - DPLL
CPLD2 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0xa:,:0x71:0x10:0xff:00
x10|0x3e|0x00:0x10|1
CPLD3 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0xa:,:0x71:0x20:0xff:00
x20|0x3e|0x00:0x10|1
CPLD4 |/dev/i2c-1|/dev/i2c-1 0x70:0x0:0xff:0xa:,:0x71:0x40:0xff:00
x40|0x3e|0x00:0x10|1 GE TMP ,/dev/i2c-2,0x70:0x0:0x9:0x74:0x1:0xb:
0x73:0x0:0x0:0x72:0x40:0x40,0x4a,0x00,1
3.2.9 Ledtool
ledtool
The ledtool allows you to control the state of the front and back panel light emitting diodes (LEDs). ASIC and Phys control the port
LEDs and are beyond the scope of this tool.
You can manually control the front and back panel LEDs normally controlled through the CPLD or FPGA access. When set, bits in these
registers control the state of the LED.
Dell EMC DiagOS tools
41