Administrator Guide

Table Of Contents
Configuration File Format
The pltool uses the device tree configuration format.
# C - CHIP (Master | Slave - Cpld or FPGA), Address, Name, Access
# R - Register, Offset, Mask, Name, RW , Default Val
# B - Bit(s), bitnum(s), Name, RW, Default Val
# I - Information on the bits
=====
C | CPLD | 0x00 | MMC CPLD | lpc | 0 | - |Uxx | 0x00 | 0xf
R | 0x100 | 8 | 0xFF | MMC Revision Reg | RO | 0x02 | 1 | 0x0
B | 7:4 | Board Version | RO | 0x0
B | 3:0 | MMC Minor Version | RO | 0x0
R | 0x101 | 8 | 0xFF | MMC Software Scratch Reg | RW | 0xFF | 0 | 0x0
B | 7:0 | Scratchpad Value | RW | 0x5a
R | 0x102 | 8 | 0xFF | MMC Boot OK Reg | RO | 0x0 | 0 | 0x0
B | 7:2 | Reserved | RO | 0x0
B | 1 | CPU Boot OK | RO | 0x1
I | 1 | CPU Did not boot Ok
I | 0 | CPU Booted OK
B | 0 | BIOS OK | RO | 0x0
I | 1 | CPU Boot OK from BIOS 1
I | 0 | CPU Booted OK from BIOS 0
psutool
The psutool determines which PSUs are in the system, checks the Power Good setting, and reads the field replaceable unit
(FRU) information. It does not look at the PSU fans and airflow direction of the fans.
Tests
The psutool looks for the presence of the PSU and if the PSU is present, it checks the Power Good setting in the CPLD. It does
not read directly from the PSU but reads the CPLD information instead. If the PSU is present and it does not receive a Power
Good signal, it does not know if the power plug is not installed or if the PSU is not operating correctly, so it displays a failure.
CLI Options
root@amazon:/opt/ngos/bin# ./psutool
Dell Diag - Power Supply Tool
version 1.4, 1.9
build, 2014/11/10,
Syntax: ./psutool <option>
--h := show this help
--test [--supply=power supply] := test using the default config file
--read <--supply=psu> <--reg=register> := read the register on the Power Supply
--write <--supply=psu> <--reg=register> <--val=value> := write the value into the Power
Supply Register
test Option
root@dell-diag-os:/opt/ngos/bin# ./psutool --test --lpc
Power Supply Test all
Getting details of Power Supply 1 using LPC interface
Power Supply 1 is Present
Power Supply 1 Input Type AC
Power Supply 1 Input Voltage(VIN) : 204.000000 V
Dell DiagOS Tools 69