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

37 PMU_SLP_DDRVTT_B IN LOW 0
38 PMU_SLP_LAN_B IN LOW 0
39 PMU_WAKE_B OUT LOW 0
40 PMU_PWRBTN_B IN LOW 0
49 GBE_SDP0_1 IN LOW 0
50 GBE_LED0 IN LOW 0
51 GBE_LED1 IN LOW 0
52 GBE_LED2 IN LOW 0
53 GBE_LED3 IN LOW 0
54 NCSI_RXD1 OUT LOW 0
55 GBE_MDIO0_I2C_CLK OUT LOW 0
58 GBE_MDIO1_I2C_DATA IN LOW 0
59 JTAG_TRST OUT LOW 0
get Output
root@amazon:/opt/ngos/bin# ./gpiotool --get --pin=1
GPIO pin # 1 is 1
set Output
root@amazon:/opt/ngos/bin# ./gpiotool --set --pin=1 --val=1
Configuration File Format
GPIOs are separated into groups within the configuration file, such as Core GPIOs and Suspend GPIOs (if they use different
power wells for sleep operations).
Any line starting with a # is a comment. ===== is the separator between groups.
A group starts with a header using | separators and:
• # of bits defined in the GPIO interface (This is the hardware definition, not the number of bits being defined in the config
file.)
• A name for the bit group, such as Core GPIO or SUS GPIO.
• Group Type — CORE.
• Any bus used to access the GPIO. This is for the CPLD-based or FPGA-based GPIOs.
• The address to use to access the GPIO. This is for the CPLD-based or FPGA-based GPIOs.
• All of the GPIOs are zero-based in a group. The 0 map is the offset to access /sys/class/gpio/gpio# in the sysfs.
Each bit is then defined on its own line separated with | and includes the bit number, name, direction, active level, and default
value.
#bits | Name | intf | bus | addr | 0-map
31 | Core Gpio | CORE | - | - | 0
# Bit | Name | Direction | Value
15 | WDT to MMC | OUT | LOW | 0
=====
#bits | Name | intf | bus | addr | 0-map
28 | SUS Gpio | CORE | - | - | 31
# Bit | Name | Direction | Value
0 | MMC Interrupt | IN | LOW | 0
i2ctool
The i2ctool allows for scanning, reading, and writing of the I2c bus devices.
To read and write to devices on the i2c bus, use the i2ctool. The i2ctool also scans the i2c busses and reports what
devices are found. The scan reads address 0x0 from all the devices in the address range of 0x0 to 0x7f on all
i2c busses
Dell DiagOS Tools 39