| commit | 61741a44c88eb0c183533778cbcbefa5e0b7505d | [log] [tgz] |
|---|---|---|
| author | Anupama B R <anupama.b.r1@ibm.com> | Thu Oct 16 00:31:26 2025 -0500 |
| committer | Anupama B R <anupama.b.r1@ibm.com> | Thu Oct 16 01:11:58 2025 -0500 |
| tree | e75fc1acf034d343b624f517560f5b50671eefdf | |
| parent | 18b840b04467eae9d072b6d4d694314dd7b9712e [diff] |
Prime FRUs if only required Add missed isPrimingRequired check from the previous commit and optimize the return statement in the same API. Change-Id: I6cf8228a98ef4dbfc6838ae7420fda5eebb5be16 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
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 at a broken link.
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.