Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | Today | - | ||||
inc/ | H | 14-Nov-2024 | - | 160 | 131 | |
service_files/ | H | 07-Mar-2024 | - | 24 | 18 | |
src/ | H | 14-Nov-2024 | - | 358 | 278 | |
subprojects/ | H | 21-Mar-2022 | - | 27 | 20 | |
.clang-format | H A D | 04-Sep-2024 | 3.7 KiB | 137 | 135 | |
LICENSE | H A D | 07-Mar-2021 | 11.1 KiB | 202 | 169 | |
OWNERS | H A D | 12-Dec-2022 | 1.7 KiB | 49 | 44 | |
README.md | H A D | 18-Jun-2024 | 1.5 KiB | 38 | 28 | |
meson.build | H A D | 12-Apr-2024 | 2.1 KiB | 70 | 60 | |
meson.options | H A D | 21-Aug-2023 | 500 | 5 | 4 |
README.md
1# phosphor-post-code-manager 2 3This phosphor-post-code-manager repository provides an infrastructure to persist 4the POST codes in BMC filesystem & it also owns the systemd services that are 5responsible for exposing the BIOS Post Codes to rest of the world via redfish. 6 7## To Build 8 9To build phosphor-post-code-manager package , do the following steps: 10 11```bash 12meson <build directory> 13ninja -C <build directory> 14``` 15 16## Hosted Services 17 18This repository ships `xyz.openbmc_project.State.Boot.PostCode.service` systemd 19service along with its 20[template version](https://github.com/openbmc/docs/blob/master/designs/multi-host-postcode.md) 21and a tiny binary that exposes the necessary 22[dbus interfaces & methods](https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/Boot/PostCode.interface.yaml) 23to extract the POST codes per boot cycle. 24 25## Architecture 26 27This repository is tightly coupled with 28[phosphor-host-postd](https://github.com/openbmc/phosphor-host-postd) OpenBMC 29repository which is responsible for emitting the dbus signals for every new POST 30Code. 31 32phosphor-post-code-manager is architected to look for the property changed 33signals which are being emitted from the service that hosts 34[Value](https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/Boot/Raw.interface.yaml) 35property on `xyz.openbmc_project.State.Boot.Raw` interface & archive them per 36boot on the filesystem, so that those can be exposed over 37[redfish](https://github.com/openbmc/docs/blob/master/designs/redfish-postcodes.md) 38