commit | fa5459871335906fc1cd21037ac74aca155a991d | [log] [tgz] |
---|---|---|
author | Swarnendu-R-C <swarnendu.roy.chowdhury@ibm.com> | Mon May 13 01:45:24 2024 -0500 |
committer | Swarnendu-R-C <swarnendu.roy.chowdhury@ibm.com> | Tue May 21 09:38:44 2024 -0500 |
tree | 53b4c59b120ae2a0c4ba91d1ebed0cd0431e9158 | |
parent | 8f3f94da33eefc7a78f58c9a9260299ecaac3eaa [diff] |
dreport: Adding redundant FW info in BMC dumps To support additional information, the non booting FW info is added in a separate file along with active/booting FW in the os-release file for all the BMC dumps. This commit includes the changes to add the redundant or backup FW version name (if present), in a separate file named redundant-os-release file for all the BMC dumps. Test Results: cat BMCDUMP.13BE960.0000053.20240510180023/redundant-os-release REDUNDANT_FW="fw1060.00-16-1060.2420.20240508a (NL1060_042)" Signed-off-by: Swarnendu Roy Chowdhury <swarnendu.roy.chowdhury@ibm.com> Change-Id: Ie74df4b0371db749908b3cefc6cab6e89df442db
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