diff options
| author | Huy Le Anh <hule@amperecomputing.com> | 2024-12-26 13:30:17 +0300 |
|---|---|---|
| committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2025-02-13 11:15:47 +0300 |
| commit | 286b9568b04a6b5339321273fdd67dc53162bc18 (patch) | |
| tree | b62ed7ab82bc1474412b94f24cca5b81dde1aa1b /meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect | |
| parent | 5fd597556fc27c0083cbf276a2c04eece6b2ac90 (diff) | |
| download | openbmc-286b9568b04a6b5339321273fdd67dc53162bc18.tar.xz | |
meta-ampere: ac01-boot-progress: change to use array format
This change aims to adapt to the modifications from upstream [1]. It
allows updating value to D-Bus with the input value being a byte array.
Tested:
1. Do power cycle HOST
2. Check `BootProgress` is change when `obmcutil status`
3. Read value
busctl get-property xyz.openbmc_project.State.Boot.Raw \
/xyz/openbmc_project/state/boot/raw0 \
xyz.openbmc_project.State.Boot.Raw Value
3. Check data
busctl call xyz.openbmc_project.State.Boot.PostCode0 \
/xyz/openbmc_project/State/Boot/PostCode0 \
xyz.openbmc_project.State.Boot.PostCode GetPostCodes q 1 -j
4. Redfish check:
curl -X GET --user root:0penBmc --insecure -H Content-Type: \
application/json https://<bmc_ip>/redfish/v1/Systems/\
system/LogServices/PostCodes/Entries
5. WebUI login go to Logs -> POST Code logs
The POST code is display
[1]: https://gerrit.openbmc.org/q/topic:%22primary-postcode-new-intf%22
Change-Id: Id00000004e2535a597559c668b03b7bc647a84c3
Signed-off-by: Khang D Nguyen <khangng@os.amperecomputing.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect')
0 files changed, 0 insertions, 0 deletions
