Administrator Guide

Table Of Contents
MUX settings to access the device
Reset — Hardware reset of the device.
Bus to use to access presence indicators
Address of the device that indicates presence
Register of the device that indicates presence
Bit(s) in the register that indicates presence (supports single bit and low:high range)
Value of the bits that indicates presence
MUX settings to access the device
Data:
Bus to use to access the device
Address of device on the bus
MUX settings to access the device
# portnum|Name
# Present|dev|addr|reg|bit(s)|p_val|pres Mux type|mux addr|mux reg|mux setting
# Select|mux bus|addr|reg|val|slect mux|s_mux addr|s_mux reg|s_mux val
# Data|device bus|device addr|device mux type|mux addr|mux reg|mux setting|mux2 ...
49 | SFP 49
Present | lpc | 0x00 | 0x243 | 0 | 0 | - 0x00:0x0:0x0:0x0
Select | - | 0x00 | 0x00 |0 | 0 | - 0x00:0x0:0x0:0x0
Reset | - | 0x00 | 0x00 |0 | 0 | - 0x00:0x0:0x0:0x0
Data | /dev/i2c-3 | 0x50 | /dev/i2c-3 0x73:0x0:0xf:0x40:,:0x71:0x0:0xf:0x10:,:0x72:0x0:0xf:0x0
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
Dell Diag - PCI Tool
version 2.0
admin, 2014-10-01, bamboo-build-num
Syntax: ./pcitool <option>
--h := show this help
--scan[=all] := scan all PCI devices and optionally show all config data
--test := test using the default PCI test config file
--show <--bus=bus# --dev=dev# --func=func#> := show config data for a specific bus:dev.func
--read <--bus=bus# --dev=dev# --func=func# --offset=offset --count=count> := read 8-bit
config register for bus:dev.func
--write <--bus=bus# --dev=dev# --func=func# --offset=offset --val=value> := write 8-bit
config register for bus:dev.func
Dell DiagOS Tools 64