commit | 2fe709f11031c9f447283aaa5316c4d08ba7c34e | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Thu Mar 25 10:59:07 2021 -0500 |
committer | Santosh Puranik <santosh.puranik@in.ibm.com> | Thu Apr 01 13:38:10 2021 +0000 |
tree | 4aae7a35a718dc0913e7795baab4478b2bd0457b | |
parent | 887a42adeda24a05215923208b645ac6a59fdf6e [diff] |
support new fitconfig u-boot syntax The following commit changed the syntax of the fitconfig u-boot environment variable: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=cfc0e21b1066b5d5d0fc37fbc5d79f40f4576f1d OpenBMC pulled this in via: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41108 The summary is that the "@" symbol was repaced with a "-" symbol. Because this is a u-boot environment variable which is persistent across code updates, there is no good way to make this backwards or forwards compatible with the poky change. It will be up to the system owner to manage this issue if they are utilizing this fitconfig override feature. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ica16e333e5f9d731ccf8da0048f6d1d2c1cc3bf2
#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.