commit | 6aa5450e3c6e55523c66f35c72e2c4f5d4251b43 | [log] [tgz] |
---|---|---|
author | Shantappa Teekappanavar <sbteeks@yahoo.com> | Thu Dec 09 12:59:56 2021 -0600 |
committer | Alpana Kumari <alpankum@in.ibm.com> | Fri Dec 17 01:54:29 2021 -0600 |
tree | 77f6467d4e46626b45fadbd29b07809b2a2ac92a | |
parent | 8c796818c231b09d9ec33f123015e2e3097ef384 [diff] |
Identify cable and flett cards Some pcieslots support both cable and flett cards. To expose the ports corresponding to the card a list of CCINs is added to each port's inventory path in the VPD json files. Merging this commit will expose ports belongs to the card. Testing: Verified the ports corresponding to the installed card are exposed. Here is an example output from 'busctl tree xyz.openbmc_project.Inventory.Manager': /xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10 └─/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10/pcie_card10 ├─/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10/pcie_card10/c10_connector1 ├─/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10/pcie_card10/c10_connector2 ├─/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10/pcie_card10/c10_connector3 └─/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10/pcie_card10/c10_connector4 JSON change- https://github.ibm.com/openbmc/openbmc/pull/1577 Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com> Change-Id: Iff011ec8244f69153a2ff987b7fe7cf354a87768
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.