commit | 83770867b4b553701f87a45e7b99bcc99786205a | [log] [tgz] |
---|---|---|
author | Sunny Srivastava <sunnsr25@in.ibm.com> | Tue Oct 31 12:57:20 2023 -0500 |
committer | Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> | Tue Nov 07 13:58:19 2023 +0000 |
tree | 783f314b7b6e2bbad621dcbf4d3e052dd2920689 | |
parent | 3da3a7b13911f0327ee8b6561118a375600cd7a2 [diff] |
Update VPD on BackUP Fru In case the systemVPD is marked to be backed up on another FRU. Backup data also needs to be updated if system VPD, which is listed to be backed up is being updated using writeKeyword API of VPD-Manager. Test: * Check if the system vpd EEPROM entry in JSON has "systemVpdBackupPath" flag. * Implies the system is marked to back up susyem VPD on a FRU. * Update any record/keyword marked to be backed up using writeKeyword API exposed by VPD-Manager. * Check if the same data is updated on the FRU marked for back up. Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: I0c5454bcf74cb3768b38647716526f62ad7d60b3
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.