commit | 9bd89b6922660acfdd853ccd1cff2822a2d16ad4 | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Mon Mar 28 23:41:48 2022 -0500 |
committer | Marri Devender Rao <devenrao@in.ibm.com> | Thu Apr 07 10:37:10 2022 -0500 |
tree | 101fa219b94cb006aa890b9afcf4bba3ae50a5f8 | |
parent | 30ff78ba97b3c889e61ec00c1808d5658a108d0f [diff] |
openpower:dreport: add PHAL device tree debug data to BMC dump 1. Generate attribute list to a file and append the file to the dump. 2. Append the device tree blob file to the dump 3. Append export device tree file to the dump 4. Append attributes_info.db file to the dump Tested root@ever8bmc:/tmp/test/obmcdump_00000000_1648657576# ls -lah DEVTREE -r--r----- 1 root root 840.0K Mar 30 16:26 DEVTREE root@ever8bmc:/tmp/test/obmcdump_00000000_1648657576# ls -lah attributes_info.db -rw-r--r-- 1 root root 10.4K Mar 30 16:26 attributes_info.db root@ever8bmc:/tmp/test/obmcdump_00000000_1648657576# ls -lah PHAL_devtree.txt -rw-r--r-- 1 root root 2.2M Mar 30 16:26 PHAL_devtree.txt Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I3b60f136e04be2ed44349c9c91fe3858dd78a91a
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
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