From 58fe5aab88b16f42f05efe81b1718a5da5749cca Mon Sep 17 00:00:00 2001 From: Lei YU Date: Wed, 1 Aug 2018 14:02:26 +0800 Subject: 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 --- .../recipes-phosphor/state/phosphor-state-manager.bbappend | 1 + .../state/phosphor-state-manager/obmc/phosphor-reboot-host/reboot.conf | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager.bbappend create mode 100644 meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/state/phosphor-state-manager/obmc/phosphor-reboot-host/reboot.conf (limited to 'meta-openbmc-machines') 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 000000000..4db6f3a6d --- /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 000000000..ad50cf698 --- /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 -- cgit v1.2.3