commit | 514a094e90e7cfc47161aa59bba47c2b92bcf7c4 | [log] [tgz] |
---|---|---|
author | Isaac Kurth <isaac.kurth@ibm.com> | Tue Oct 19 21:17:44 2021 +0000 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Mon Oct 25 21:08:59 2021 +0000 |
tree | 90d34c3c4a1f10faa73714f03c213050baecdf48 | |
parent | bde5d7d46d58ada1ec6a5068f4a62a495f30ed9c [diff] |
openpower: mmc: physical reset triggers bios reset The service openpower-bios-factory-reset runs during startup and calls bios_reset_check. This method determines whether the factory-reset-toggle gpio has changed since the last reboot and triggers a bios reset if it has. This decouples the code to check for bios resets from the code in item_updater_mmc::reset and from the BMC factory reset code. Tested: Verified that the reset-gpio-val file was created to store the previous value of the environment variable rwreset. Added files to /media/hostfw and verified that they were removed upon reboot when the value in reset-gpio-val differed from rwreset. Signed-off-by: Isaac Kurth <isaac.kurth@ibm.com> Change-Id: I9942c1826f800a2ce9aef4b9456b3f4acc4b94fe
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.