diff options
author | Lei YU <mine260309@gmail.com> | 2018-08-01 09:02:26 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2018-08-08 15:27:53 +0300 |
commit | 58fe5aab88b16f42f05efe81b1718a5da5749cca (patch) | |
tree | a939667690f2ed5439880bb0eabfb9ca4f47a46e /meta-openbmc-machines | |
parent | 6be4a2c7016d22fdc4b7894e1225beb53cb00975 (diff) | |
download | openbmc-58fe5aab88b16f42f05efe81b1718a5da5749cca.tar.xz |
meta-romulus: Increase delay in host reboot
By default phosphor-reboot-host@.service sleeps for 5 seconds between
power off and power on.
On Romulus, this interval is not enough for CPU to clear the error
status, e.g. checkstop status.
Increase the interval to 8 seconds to makre sure the status is cleared.
Resolves openbmc/openbmc#3330
Tested: Verify the checkstop status is cleared after error injection.
Change-Id: I14ab9975fe820e7fba27feaf1da32a2903d4bc13
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines')
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager.bbappend new file mode 100644 index 0000000000..4db6f3a6d7 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend_romulus := "${THISDIR}/${PN}:" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager/obmc/phosphor-reboot-host/reboot.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager/obmc/phosphor-reboot-host/reboot.conf new file mode 100644 index 0000000000..ad50cf6981 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager/obmc/phosphor-reboot-host/reboot.conf @@ -0,0 +1,3 @@ +# Sleep 8 seconds on Romulus to make sure the checkstop status on +# CPU is cleared. See https://github.com/openbmc/openbmc/issues/3330 +REBOOT_DELAY=8 |