Clone this repo:

Branches

  1. 06b1dbe Change primary postcode interface to byte array by Potin Lai · 3 months ago master
  2. 9c2e871 clang-format: re-format for clang-18 by Patrick Williams · 4 months ago
  3. 4653cd4 Fix spelling mistakes using codespell by Manojkiran Eda · 6 months ago
  4. f2da78d meson: Fix local cereal build by Konstantin Aladyshev · 9 months ago
  5. 611de48 systemd: Add host identifier to service description by Patrick Williams · 10 months ago

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:

meson <build directory>
ninja -C <build directory>

Hosted Services

This repository ships xyz.openbmc_project.State.Boot.PostCode.service systemd service along with its template version and a tiny binary that exposes the necessary dbus interfaces & methods to extract the POST codes per boot cycle.

Architecture

This repository is tightly coupled with 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 property on xyz.openbmc_project.State.Boot.Raw interface & archive them per boot on the filesystem, so that those can be exposed over redfish