611de486 | 28-Feb-2024 |
Patrick Williams <patrick@stwcx.xyz> |
systemd: Add host identifier to service description
On a multi-host system, there is no identifier for the post code manager service, so you end up with console messages such as:
``` Start
systemd: Add host identifier to service description
On a multi-host system, there is no identifier for the post code manager service, so you end up with console messages such as:
``` Starting Post code manager... Starting Post code manager... Starting Post code manager... Starting Post code manager... Starting Post code manager... Starting Post code manager... Starting Post code manager... Starting Post code manager... ```
Add an identifier to the templated service file so that these instances are differentiated.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I63c0a5d80f4870314805b8f9ff07782be9fe3faf
show more ...
|
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 future.
Tested: Wi
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 ...
|
fd45f788 | 01-Sep-2020 |
Kumar Thangavel <thangavel.k@hcl.com> |
phosphor-post-code-manager: Add post code support for multi host
Added implementation to handle post codes from multiple host to BMC with multi process approach. Each process handles post codes for
phosphor-post-code-manager: Add post code support for multi host
Added implementation to handle post codes from multiple host to BMC with multi process approach. Each process handles post codes for corresponding host.
TESTED : Built the openbmc image targetting Facebook YosemiteV2 hardware. Verified all the host's postcodes stored in corresponding host directories.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I29d55558ed165d9e4494f017e13808dff6252b04
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: I3686104f67aad13fa4d5f5d38
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 defined in PostCode.
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 ...
|