commit | 280197e3317d1136b4feedd992cf7f797c1934a7 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Tue Dec 08 20:51:49 2020 -0600 |
committer | Santosh Puranik <santosh.puranik@in.ibm.com> | Fri Dec 11 17:14:24 2020 +0000 |
tree | 2b25956714f3f965c4b69ed5067331a887ec6c80 | |
parent | 5c773bdfb9c579ec82bdd08a837abe122ffbb824 [diff] |
log entry to journal when rebooting bmc Rebooting the BMC without user interaction is a big deal so lets log an entry in the journal for tracking purposes when it happens Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ia5b44334236c65137c4465f5803561fa91b57bf1
#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.