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

#R | NAME | Offset | Size in bytes
LPC-INTERFACE
D | 0 | Fan 1| 0x01 | 0x115 | 0x01 | 0x01 | 0xF3 | 2
…
D | 9 | Fan 10| 0x10| 0x114 | 0x02 | 0x10 | 0x105 | 2
R | 0xF0 | 1 |Fan Tray Count Register
R | 0xF1 | 1 |Fan Count Per Fan Tray Register
R | 0xF2 | 1 |Max Fan Speed Set Register
R | 0x113 | 1 |Fan Tray Presence Register
R | 0x116 | 1 |Fan Tray Air Flow Register
=====
/dev/i2c-2 0x70:0:0xff:0x9:,:0x74:1:0xff:0xa
flashrom
To update or erase the BIOS flash memory, the smbiostool uses flashrom.
gpiotool
The gpiotool controls the state of the GPIO lines from the CPU or any other device that drives the GPIO lines.
The CPU GPIO lines the map in Linux to /sys/class/gpio entries, which are manipulated through the standard read/write
interfaces. There is chip numbering to support multiple GPIO chips, or chips at an offset. For devices such as the complex
programmable logic device (CPLD) or field programmable gate arrays (FPGA),
gpiotool accesses those devices to drive the
GPIO lines using the standard bus interfaces such as i2c, mem, or pci.
CLI Options
./gpiotool - GPIO Tool
version 2.0
admin, 2014-10-01, bamboo-build-num
Syntax: ./gpiotool <option>
--h := show this help
--list := list available gpio chips and pins
--set [--chip=chip] --pin=pin# --val=value := set GPIO pin
--get [--chip=chip] --pin=pin# := get GPIO pin value
• list — lists all the GPIO pins.
• set — sets the value of the GPIO pin.
• get — returns the value of the GPIO pin.
Output
list Output
root@dell-diag-os:~# gpiotool --list
Chip 0 Core Gpio bits: 60 CORE gpiochip196
=========================================
Bit Name Dir AC Value
=========================================
15 SATA_GP0 IN LOW 0
16 SATA_LEDN OUT LOW 0
17 SATA3_GP0 IN LOW 0
19 FLEX_CLK_SE0 IN LOW 0
20 FLEX_CLK_SE1 IN LOW 0
32 GPIO_SUS1 IN LOW 0
33 GPIO_SUS2 OUT LOW 0
34 CPU_RESET_B OUT LOW 0
36 PMU_SUSCLK OUT LOW 0
Dell DiagOS Tools 38