commit | fd4f3cadb0c874db91beb1f02840c8d3b69efda5 | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Wed Apr 13 08:42:51 2022 -0500 |
committer | Marri Devender Rao <devenrao@in.ibm.com> | Mon Nov 07 03:57:57 2022 -0600 |
tree | 3319e8fee23af57f71c6b3dde13306a2947224f1 | |
parent | 90a80d16271bbcfa7df11948dcb3faadbf8b09d3 [diff] |
dreport: fix capturing guard data in BMC dump At present using mount path to copy the guard partition to the BMC dump same is changed to /var/lib path as mount path is no longer used. Export device tree environment variables as the guard tool needs it to parse the guard records from the guard partition. Tested: [Guard list] ID | ERROR | Type | Path 00000001 | 00000000 | manual | physical:sys-0/node-0/proc-1 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I74b1720ce8c7140a59e00d35ac45ac8a7c020e53
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