commit | 788c6a65b63ab9baac0fca857f973827bfa98d82 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Thu Mar 24 15:27:24 2022 -0500 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Mon Apr 11 20:59:38 2022 +0000 |
tree | 2306120bfc625e9ad2aa5ece344951b121b38fa3 | |
parent | cdac8f4769bfe2df7c0a3d01dbbdd1113aee2cb8 [diff] |
side-switch: set power restore policy to always-on Utilize the one-time feature of the automatic power restore functionality to ensure a one-time automatic boot of the system occurs after the BMC reboot. This makes the whole process seamless to the user. They start a boot, this function detects a bmc reboot is needed to pick up the priority 0 image, and this ensures the boot starts back up after the bmc reboot. Tested: - Verify policy set correctly <6> Checking for side switch reboot <6> Running firmware version path is /xyz/openbmc_project/software/74575136 <6> Running firmware version priority is 1 <6> Running image is at priority 1, execute side switch <6> chassis power is off <6> RestorePolicy set to AlwaysOn busctl get-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy/one_time xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s "xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOn" Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I126283386c577fd9ec899a1402ae36e6111f1780
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.