MPCMM0001 Chassis Management Module Software Technical Product Specification 223
FRU Update Utility
26.5 FRU Verification
FRUs will be verified twice during the update process, once before any action is taken on the FRU,
and once more after all bytes have been written to the FRU. If the verification fails when first
reading the FRU from the system, the FRU will not be modified, and the update process will exit.
This first verification will not take place on a force FRU recovery.
If verification fails after the FRU is written to the system, the utility will attempt at most two more
writes of the FRU to the system. If none of the write attempts is successful, the utility will exit with
an error and no further FRU’s will be updated. Any FRU updated before the error occurred will be
updated.
26.6 FRU Display
Displaying the FRU data is done from the command line. The utility will be able to view binary
files, ASCII FRU files, and FRU devices. ASCII FRU files are determined by file extension; all
ASCII FRU files must have a ‘.FRU’ extension and binary files should not use that extension.
FRU devices will be read and validated before displaying the information. If any part of the binary
file or FRU device is invalid, none of the FRU data will be displayed.
Areas of the FRU that will be displayed are: header, internal, chassis, board, product, and multi
record areas. The header and internal areas will be displayed as hex data. The chassis, board, and
product areas will be decoded according to the FRU storage definition spec. And the multi record
areas will be decoded into header and data segments, the header will be decoded and the data will
be displayed in hex.
26.7 Setting the Library Path And Invoking the Utility
Because the utility uses shared libraries that are not part of the firmware image libraries, the user
must specify additional search locations for the FRU update libraries. Usually this is the current
directory ‘.’.
To run the utility from the directory containing the utility:
LD_LIBRARY_PATH=. ./fruUpdate <commands>.
To run the utility from a path that is not the current working directory, you must point the load
library path to the directory with the utility:
LD_LIBRARY_PATH=/home/fruUpdate /home/fruUpdate/fruUpdate <commands>.
26.8 FRU Update Command Line Interface
The syntax for the command line of the FRU Update utility is as follows:
LD_LIBRARY_PATH=. ./fruUpdate [/argument paramter]
Arguments can be preceded by either a ‘-‘ or a ‘/’ character. Arguments have both a long and short
name which can be used.The table below lists the valid arguments, both long and short names, for
the FRU Update utility as well as their corresponding parameters.