diff options
author | Hieu Huynh <hieuh@os.amperecomputing.com> | 2022-07-12 13:18:25 +0300 |
---|---|---|
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2022-11-15 07:14:33 +0300 |
commit | 57fa7921b248f52858a48110d9670c62cea2eff0 (patch) | |
tree | 918fa4c51b5cd6f44cb099a105bf1ab5c4ae3fe4 /meta-ampere/meta-mitchell/conf/machine | |
parent | f35e6b7ecc6b5c5fdb561643831082226c586b6e (diff) | |
download | openbmc-57fa7921b248f52858a48110d9670c62cea2eff0.tar.xz |
meta-ampere: mtmitchell: support system firmware hang handler
Monitors GPIOF4 for 1P system and GPION5 for 2P system to detect if
system firmware hang. If these GPIOs stop asserting for more than three
seconds, BMC will trigger events and reset the system.
Tested:
1. Simulate the GPIO that deasserted for more than three seconds.
2. Fail to boot to Host, check the event log is created
and system will be reset.
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I2c2d5d50e5ebd6d9b9e3435ab1c17393dac1d9cf
Diffstat (limited to 'meta-ampere/meta-mitchell/conf/machine')
-rw-r--r-- | meta-ampere/meta-mitchell/conf/machine/mtmitchell.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-ampere/meta-mitchell/conf/machine/mtmitchell.conf b/meta-ampere/meta-mitchell/conf/machine/mtmitchell.conf index a2d43c981b..339c7c1ee5 100644 --- a/meta-ampere/meta-mitchell/conf/machine/mtmitchell.conf +++ b/meta-ampere/meta-mitchell/conf/machine/mtmitchell.conf @@ -34,6 +34,7 @@ OBMC_IMAGE_EXTRA_INSTALL:append = " \ phosphor-ipmi-blobs \ phosphor-ipmi-blobs-binarystore \ util-linux \ + ampere-sysfw-hang-handler \ " PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-obmc-ampere-apps" |