| commit | 2e2b4823c06508cb38509988b8962543a35ab8aa | [log] [tgz] |
|---|---|---|
| author | Thang Tran <thuutran@amperecomputing.com> | Mon Sep 29 07:27:55 2025 +0000 |
| committer | Thang Tran <thuutran@amperecomputing.com> | Mon Oct 13 06:38:27 2025 +0000 |
| tree | 1372067a739cd0da56d3ba5292b33b2d081a614f | |
| parent | 193f9f34c808949357827066543217ec6f45c158 [diff] |
oem: ampere: use lg2::commit to log events
Switch to use lg2::commit method to create Redfish events instead
journal logs. The changes of events are mapped as below:
- AmpereEvent -> ReportedSELInfo
- AmpereWarning -> ReportedSELWarning
- AmpereCritical -> ReportedSELCritical
- BIOSFirmwarePanicReason: no change, it still creates journal logs.
Tested:
1. Turn off/on the Host
$ipmitool power <off/on>
2. Check the Redfish events in the schema
/redfish/v1/Systems/system/LogServices/EventLog/Entries
3. Host's events are shown
Change-Id: Ib56354a3d7d07265c123918615d0fab7b680e6a7
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
PLDM (Platform Level Data Model) is a key component of the OpenBMC project, providing a standardized data model and message formats for various platform management functionalities. It defines a method to manage, monitor, and control the firmware and hardware of a system.
The OpenBMC PLDM project aims to implement the specifications defined by the Distributed Management Task Force (DMTF), allowing for interoperable management interfaces across different hardware and firmware components.
To build and run PLDM, you need the following dependencies:
MesonNinjaAlternatively, source an OpenBMC ARM/x86 SDK.
To build the PLDM project, follow these steps:
meson setup build && meson compile -C build
The simplest way of running the tests is as described by the meson man page:
meson test -C build
Alternatively, tests can be run in the OpenBMC CI docker container using these steps.
pldm daemon accepts a command line argument --verbose or --v or -v to enable the daemon to run in verbose mode. It can be done via adding this option to the environment file that pldm service consumes.
echo 'PLDMD_ARGS="--verbose"' > /etc/default/pldmd systemctl restart pldmd
rm /etc/default/pldmd systemctl restart pldmd
For complete documentation on the functionality and usage of this repository, please refer to the docs folder.