Specifications

pcitool
To scan and access devices on the PCI bus, use the pcitool. The pcitool checks for missing devices and that the present
devices are the proper type.
The pcitool scans the PCI bus for present devices and displays them and the BAR information it decodes. The tool does not
handle endianess.
The pcitool reads the configuration file and then iterates across all devices in the configuration file. It checks the vendor/
product ID to see that the correct device is at the correct address. The tool does not compare all the configuration space. The
tool reads all 256 bytes of the configuration file.
Tests
The pcitool reads from the configuration file the devices it expects to find and reports any devices that it cannot find or if
the device is not correct. The tool supports second-source parts; therefore, they are not flagged as false errors. If a mismatch
occurs, the device lists with the expected value and the read value. Populate the configuration file with -u numbers so the
device can quickly identify the failing device.
CLI options
DellEmc Diag - PCI Tool
version 1.5, x.xx.x.x-x
build, 2017/05/23,
Usage:
To scan all PCI drivers and optionally show all config data :=
pcitool --scan[=all]
(or)
pcitool -S[=all]
To test using default PCI config-file :=
pcitool --test
(or)
pcitool -t
Show confic data for specific bus:dev.func:=
pcitool --show {--bus=<bus># --dev=<dev># --func=<func>#}
(or)
pcitool -x {-B <bus># -D <dev># -F <func>#}
Read 8-bit config register for bus:dev.func:=
pcitool --read {--bus=<bus># --dev=<dev># --func=<func># --offset=<offset> --
count=<count>} (or)
pcitool -r {-B <bus># -D <dev># -F <func># -O <offset> -C <count>}
Write 8-bit config register for bus:dev.func:=
pcitool --write {--bus=<bus># --dev=<dev># --func=<func># --offset=<offset> --
val=<value>} (or)
pcitool -w {-B <bus># -D <dev># -F <func># -O <offset> -V <value>}
Execute repeatedly command by count:=
pcitool --iteration=max/<count> [option1] [option2]...
(or)
pcitool -I max/<count> [option1] [option2]...
Syntax: pcitool <option>
-h, --h Show the help text
-S, --scan Scan operation
-t, --test Test using the pre-programmed configuration or use supplied config
-x, --show Show operation
-r, --read Read operation
-w, --write Write operation
-I, --iteration= Iteration command execution
-B, --bus= To specify the i2c bus e.g.: /dev/i2c-<bus number>
-D, --dev= Device
-F, --func= Func
-O, --offset= Set the Offset
-C, --count= Count
-V, --val= Value to be set
58
Dell EMC DAIG-OS tools