commit | de581eb3c396d21490d61b1f1013fc391c2f9c79 | [log] [tgz] |
---|---|---|
author | Sunny Srivastava <sunnsr25@in.ibm.com> | Tue Mar 18 10:49:56 2025 +0530 |
committer | Sunny Srivastava <sunnsr25@in.ibm.com> | Tue Mar 18 11:13:55 2025 +0530 |
tree | 89152e8572271d4d2a1ff3e8b0a8ce94e075577b | |
parent | 043955d2f6725a239a76285574f9493535e177d9 [diff] |
Update error handling in main file Main file need not handle each exception separately. Instead a common PEL needs to be logged based on the type of exception received with critical severity as the service failed to start. Change-Id: Ic432a2ab2caf6dac70c376219fce6597e7782309 Signed-off-by: Sunny Srivastava <sunnsr25@in.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 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.