commit | fdf9ff2a573870aacbec4600b8401dca0cc93c2c | [log] [tgz] |
---|---|---|
author | Sunny Srivastava <sunnsr25@in.ibm.com> | Wed Jun 15 11:15:54 2022 -0500 |
committer | Santosh Puranik <santosh.puranik@in.ibm.com> | Tue Dec 06 23:33:31 2022 +0530 |
tree | 478ae4eebfeac21398b29c1daad150a3bfa6e101 | |
parent | f31a91bcf373d6cb0559454824b0858e935c3ecf [diff] |
Check for essential FRUs Some FRUs are marked as essential in the inventory JSON, which implies that those FRUs should be present in the system at power on. The commit checks for presence of those FRUs when the system is powered on. In case any FRU in the list is found missing, appropriate PEL is logged. Also, as it is not possible to say if the reason for GPIO failures are hardware or firmware related. GPIO PELs has been modified to just have description and no call outs and to be logged in place. Commit link for PEL interface: https://gerrit.openbmc.org/c/openbmc/phosphor-logging/+/54715 ''' Test steps(rainier): Check for present property for fru path /xyz/openbmc_project/inventory/system/chassis/motherboard/base_op_panel_blyth if it is false then proceed else set the property to false using busctl set-property command. execute obmcutil poweron PEL should be logged for missing essential fru. ''' Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: Id8b912503a0086beffa2831910d6852b5e473c15
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.