diff options
author | Manojkiran Eda <manojkiran.eda@gmail.com> | 2021-06-26 13:29:04 +0300 |
---|---|---|
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | 2021-07-01 05:06:42 +0300 |
commit | 99c5693ac57cf87aa2758bb590140f303072281c (patch) | |
tree | 1e718a5a42ff653eba282f19fa6ae45f1863f5ea /meta-ibm | |
parent | 7e9ae81255f58d280ee0eead77f6c38d25a10da1 (diff) | |
download | openbmc-99c5693ac57cf87aa2758bb590140f303072281c.tar.xz |
Set MaxBootCycleCount for progresscodes on IBM systems
MaxBootCycleCount is a dbus property that is used to indicate
the maximum number of boot cycles that the post-code-manager
daemon can store the progress codes for, before it starts
wrapping.
Unlike Intel postcodes, IBM progress codes are huge and it is
possible to get close to 230+ progress codes per boot cycle, so
tweaking this value to 5 boot cycles for IBM systems so that
we can get less number of log entries on a redfish GET request.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Ida10e73992b01535d57c844d83366d786cd448e2
Diffstat (limited to 'meta-ibm')
-rw-r--r-- | meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend b/meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend new file mode 100644 index 000000000..f8ff90168 --- /dev/null +++ b/meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend @@ -0,0 +1,4 @@ +# Set MaxBootCycleCount to 5 on IBM systems +EXTRA_OECMAKE_append_p10bmc = "-DMAX_BOOT_CYCLE_COUNT=5" +EXTRA_OECMAKE_append_witherspoon-tacoma = "-DMAX_BOOT_CYCLE_COUNT=5" + |