commit | e008432ac875223b916a8c63cc951caec090364e | [log] [tgz] |
---|---|---|
author | Priyanga Ramasamy <priyanga24@in.ibm.com> | Tue Sep 27 06:28:33 2022 -0500 |
committer | Santosh Puranik <santosh.puranik@in.ibm.com> | Mon Oct 17 07:54:09 2022 +0000 |
tree | 2f51df9fac9bfb6df1c0366b6b8f086030c22a9e | |
parent | 43ffcf77b403d17687fa2df7d5fcd1c4b24a0e8b [diff] |
Use namespace std in place This commit uses std in place in header files rather than using namespace. Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com> Change-Id: If8e77ad0d23c7e6d8f16ea93e65f34aefb6b157f
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.