commit | ab1e22c36f1e775f70b97873f5b5f538a1fddf8f | [log] [tgz] |
---|---|---|
author | Alpana Kumari <alpankum@in.ibm.com> | Wed Nov 24 11:03:38 2021 -0600 |
committer | Santosh Puranik <santosh.puranik@in.ibm.com> | Fri Jan 28 10:28:30 2022 +0000 |
tree | e910ac2c223c8a678a999410fd228bbab14f0d1f | |
parent | e5f177a5f08c5dfc9a11770c4270080cee73bd92 [diff] |
Log PEL if System type DTB not supported System boots up with respective dtb for that system type, which is based on HW and IM keyword of system VPD. If any new value comes for these keywords, that needs to be supported in vpd-parser, otherwise it will log PEL and exit. This commit is dependent on PDI change- https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/49025 Signed-off-by: Alpana Kumari <alpankum@in.ibm.com> Change-Id: I66e43a8aab38511bfaa59641556ea9e58b3f87e2
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.