Revision Date Author Comments
# 08125ca7 07-Jan-2021 Jonathan Doman <jonathan.doman@intel.com>

Update D-Bus names per design

- Single-host service and object are named PostCode0. Multi-host service
name does not comply with design but presumably it will be fixed in
the fut

Update D-Bus names per design

- Single-host service and object are named PostCode0. Multi-host service
name does not comply with design but presumably it will be fixed in
the future.

Tested: With
phosphor-host-postd: I89ab5f2eef7eab59823df3a063414f3ca3b2949f
bmcweb: I2fdf97b7aaf8d6471d162f8ed1b72143491ac23f
Power cycled host and verified that new POST codes are added under
/redfish/v1/Systems/system/LogServices/PostCodes/Entries.

Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
Change-Id: I59ed514f28c2bb9b159f51367c38557bf55bf226

show more ...


# 65583797 16-Dec-2019 Kuiying Wang <kuiying.wang@intel.com>

Change obmc-standby to multi-user

Change obmc-standby.target to multi-user.target for post code manager service.

Tested:
Post code could be catured correctly.

Change-Id

Change obmc-standby to multi-user

Change obmc-standby.target to multi-user.target for post code manager service.

Tested:
Post code could be catured correctly.

Change-Id: I3686104f67aad13fa4d5f5d382d3eb7dd8b9a74f
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>

show more ...


# 3a044400 19-Feb-2019 Kuiying Wang <kuiying.wang@intel.com>

Implement post code manager

This depends on interfaces definition:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/20474

Implement method and properties

Implement post code manager

This depends on interfaces definition:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/20474

Implement method and properties defined in PostCode.interface.yaml
under phosphor-dbus-interfaces/xyz/openbmc_project/State/Boot
1. Method: std::vector<uint64_t> PostCode::getPostCodes(uint16_t index)
2. Properties: CurrentBootCycleIndex/MaxBootCycleNum

Test-By:
Every cycle post codes is saved in "/var/lib/phosphor-post-code-manager"
"1" file is saved all post codes for cycle 1
"2" file is saved all post codes for cycle 2
"CurrentBootCycleIndex" file is saved the current boot cycle number.
root@wolfpass:/var/lib/phosphor-post-code-manager# ls
1 2 CurrentBootCycleIndex

Change-Id: Ia89b9121983261fef5573092d890beb84626ceeb
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>

show more ...