commit | 0df38f719532182506c0b0d32ba7e6e9a20193b9 | [log] [tgz] |
---|---|---|
author | Swarnendu-R-C <Swarnendu.Roy.Chowdhury@ibm.com> | Fri Jul 19 06:38:32 2024 -0500 |
committer | Gopichand Paturi <gopichandpaturi@gmail.com> | Wed Apr 16 20:38:37 2025 -0500 |
tree | 00b1d5b0c16294d7a93c720657b3c4a4f5d8c766 | |
parent | bd00955bd5a000b245fa0420153875bbd9b6022f [diff] |
dreport: Min FW info added It has been requested that while generating BMC dumps it should include minimum F/W level supported info. These changes aim to incorporate the above said request by creating one plugin, namely minfwlevelinfo, under dreport. If in case the info is not available then it logs a related warning in dreportlog file about it. Also the redundantosrelease plugin file has been modified because both the plugins, redundantosrelease and minfwlevelinfo use same lines of code almost, and thus, putting that in the functions script we can make them available for both the plugins. And with little bit of pre checks in the related plugins we avoid unnecessary repetitive calls of the same code and dbus invokes. Test Results: Tested for both the plugins for both positive and negative cases and found the results as per the expectations Signed-off-by: Swarnendu Roy Chowdhury <swarnendu.roy.chowdhury@ibm.com> Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com> Change-Id: Ib530ea5e86923dea10302f2931cd53c0dfbce21e
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
One such mechanism is dreport, a script that collects debug data and packages it into an archive file.
To build this package with meson, do the following steps:
1. meson builddir 2. ninja -C builddir
To clean the built files run ninja -C builddir clean
.
Tests can be run in the CI docker container, refer local-ci-build
or with an OpenBMC x86 sdk(see below for x86 steps).
meson -Dtests=enabled build ninja -C build test