Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openbmc/phosphor-post-code-manager
https://github.com/openbmc/phosphor-post-code-manager
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/openbmc/phosphor-post-code-manager
- Owner: openbmc
- License: apache-2.0
- Created: 2018-09-05T12:11:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T12:59:28.000Z (5 months ago)
- Last Synced: 2024-06-17T14:28:32.264Z (5 months ago)
- Language: C++
- Size: 249 KB
- Stars: 1
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# phosphor-post-code-manager
This phosphor-post-code-manager repository provides an infrastructure to persist
the POST codes in BMC filesystem & it also owns the systemd services that are
responsible for exposing the BIOS Post Codes to rest of the world via redfish.## To Build
To build phosphor-post-code-manager package , do the following steps:
```bash
meson
ninja -C
```## Hosted Services
This repository ships `xyz.openbmc_project.State.Boot.PostCode.service` systemd
service along with its
[template version](https://github.com/openbmc/docs/blob/master/designs/multi-host-postcode.md)
and a tiny binary that exposes the necessary
[dbus interfaces & methods](https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/Boot/PostCode.interface.yaml)
to extract the POST codes per boot cycle.## Architecture
This repository is tightly coupled with
[phosphor-host-postd](https://github.com/openbmc/phosphor-host-postd) OpenBMC
repository which is responsible for emitting the dbus signals for every new POST
Code.phosphor-post-code-manager is architected to look for the property changed
signals which are being emitted from the service that hosts
[Value](https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/Boot/Raw.interface.yaml)
property on `xyz.openbmc_project.State.Boot.Raw` interface & archive them per
boot on the filesystem, so that those can be exposed over
[redfish](https://github.com/openbmc/docs/blob/master/designs/redfish-postcodes.md)