diff options
author | Thu Ba Nguyen <tbnguyen@amperecomputing.com> | 2022-05-05 07:15:54 +0300 |
---|---|---|
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2022-06-22 17:41:16 +0300 |
commit | 6af2efc9f4eaa53f80ec9c6a4ee476f230af7b1c (patch) | |
tree | 01e5500756638d11cb560478897fec5323cae7e4 | |
parent | a8d258f6f444814acdfcac3631febe2116057de4 (diff) | |
download | openbmc-6af2efc9f4eaa53f80ec9c6a4ee476f230af7b1c.tar.xz |
meta-ampere: state-manager: disable host boot retry
Ampere system supports host EEPROM failover which switches boot EEPROM
from main to secondary EEPROM when the system is failed to boot. This
causes trying to reboot the system after the first failure of power on
is unnecessary. This commit changes boot retry from 3 to 1.
Tested:
1. Make sure BMC does not retry to power on the host after first
failure.
Signed-off-by: Thu Ba Nguyen <tbnguyen@amperecomputing.com>
Change-Id: I3bfdabc7ab968a9b673ffec9ae5dc208966a548a
-rw-r--r-- | meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend index 703ff48eba..62c6f96805 100644 --- a/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend +++ b/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend @@ -2,7 +2,10 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" DEPENDS += "gpioplus libgpiod" -EXTRA_OEMESON:append = " -Dhost-gpios=enabled" +EXTRA_OEMESON:append = " \ + -Dhost-gpios=enabled \ + -Dboot-count-max-allowed=1 \ + " FILES:${PN} += "${systemd_system_unitdir}/*" FILES:${PN}-host += "${bindir}/phosphor-host-condition-gpio" |