diff options
author | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2020-12-22 07:27:36 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2021-02-01 16:44:47 +0300 |
commit | 44cf8fd254c30e94cf4f0b90608bd9b6ef2ae292 (patch) | |
tree | 8e5c86b4de3c57923f5332df96bc7fc17998136d /meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend | |
parent | b2be305f27e3cc8622ccdb2a7f4c50c897156d51 (diff) | |
download | openbmc-44cf8fd254c30e94cf4f0b90608bd9b6ef2ae292.tar.xz |
meta-ampere:mtjade:u-boot: Pass system reset status to kernel via bootargs
Backport a patch file from meta-yadro/meta-nicole/recipes-bsp/u-boot/ to
add the Aspeed reset reason to bootargs so kernel so kernel application
can query it.
Tested: /proc/cmdline must contain:
- resetreason=power after A/C power
- resetreason=watchdog after bmc reboot
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I7e75cccfa0fecfa9a66572e02de0f1c8c1d519a1
Diffstat (limited to 'meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend')
-rw-r--r-- | meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend b/meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend index c40bfcd02..77a58f523 100644 --- a/meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend +++ b/meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend @@ -3,4 +3,5 @@ FILESEXTRAPATHS_append_mtjade := "${THISDIR}/${PN}:" SRC_URI += " \ file://0001-aspeed-scu-Switch-PWM-pin-to-GPIO-input-mode.patch \ file://0002-aspeed-Disable-internal-PD-resistors-for-GPIOs.patch \ + file://0003-aspeed-support-passing-system-reset-status-to-kernel.patch \ " |