Setup Guide

gpiotool -I max/<count> [option1] [option2]...
Usage:=
-h, --h Show the help text
-l, --list List operation
-s, --set Set operation
-g, --get Get operation
-C, --chip= GPIO chip
-I, --iteration= Iteration command execution
-H, --pin= GPIO pin number
-V, --val= Value to be set
Output
list output
root@dellemc-diag-os:~# gpiotool --list
Chip 0 Core Gpio bits: 147 CORE gpiochip0
=========================================
Bit Name Dir AC Value
=========================================
4 CPLD GPIO 4 OUT LOW 0
5 BOOT OK OUT LOW 0
6 BOOT FINITO OUT LOW 0
8 CPLD GPIO 8 OUT LOW 0
9 SYSTEM INT IN LOW 0
10 CPLD GPIO 10 OUT LOW 0
22 CPLD GPIO 22 OUT LOW 0
23 CPLD GPIO 23 OUT LOW 0
37 CPLD GPIO 37 OUT LOW 0
38 CPLD GPIO 38 OUT LOW 0
39 1588 1PPS IN LOW 0
40 CPLD GPIO 40 OUT LOW 0
100 CPLD GPIO 100 OUT LOW 0
112 CPLD GPIO 112 OUT LOW 0
get output
root@dellemc-diag-os:~# gpiotool --get --pin=4
Chip 0 Core Gpio bits: 147 CORE gpiochip0
===================================
Bit Name Dir Value
===================================
4 CPLD GPIO 4 OUT 0
set output
root@dellemc-diag-os:~# gpiotool --set --pin=1 --val=1
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 present. The i2ctool does
not automatically traverse MUXes along the i2c bus. Other tools use this tool to read i2c device information and pass the results back
through a named pipe.
34
Dell EMC DIAG-OS tools