commit | 8ea3f6d0f56650565ddea3ef36b0f31d2c1bb591 | [log] [tgz] |
---|---|---|
author | Alpana Kumari <alpankum@in.ibm.com> | Thu Apr 02 00:26:07 2020 -0500 |
committer | Santosh Puranik <santosh.puranik@in.ibm.com> | Sun Nov 01 17:22:48 2020 +0530 |
tree | afe8e3cea8e0cc9f546740599707db7a31335a53 | |
parent | 83a1d5dec47b78b82f5997a18c7779f1b24e96db [diff] |
IBM Read VPD support for processor vpd This commit adds support to read and parse the processor vpd Test- NAME TYPE SIGNATURE RESULT/VALUE FLAGS com.ibm.ipzvpd.CP00 interface - - - .AW property ay 4 0 0 0 0 emits-change writable xyz.openbmc_project.Inventory.Decorator.Asset interface - - - .BuildDate property s "" emits-change writable .Manufacturer property s "" emits-change writable .Model property s "" emits-change writable .PartNumber property s "2345678" emits-change writable .SerialNumber property s "YLAB41010000" emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change writable .PrettyName property s "6 WAY PROC CUOD" emits-change writable Change-Id: I7f1aad29c4413c6db7c2ec2525df427d048658f1 Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
#Overview This repository hosts code for OpenPower and IBM IPZ format VPD parsers. Both OpenPower VPD and IPZ VPD formats are structured binaries that consist of records and keywords. A record is a collection of multiple keywords. More information about the format can be found here.
The repository consists of two distinct applications, which are:
This is a build-time YAML driven application that parses the OpenPower VPD format and uses the YAML configuration (see extra-properties-example.yaml and writefru.yaml) to determine:
The application instance must be passed in the file path to the VPD (this can, for example, be a sysfs path exposed by the EEPROM device driver) and also the D-Bus object path(s) that EEPROM data needs to be published under.
This parser is can be built by passing in the --enable-ibm-parser
configure option. This parser differs from the OpenPower VPD parser in the following ways:
#
and are > 255 bytes in length).Making the application runtime JSON driven allows us to support multiple systems (with different FRU configurations) to be supported in a single code image as well as making the application more flexible for future improvements.