commit | ed44b45f499f43b40170319088a8db3276e6734d | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 27 19:24:43 2021 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 27 20:30:17 2021 +0000 |
tree | ec97089c3dde36aaa2bc9ec31bf9c36ce59dd75d | |
parent | 4c2386a575c9bd2f69d73af131cd635cc3c09b04 [diff] |
ubi: reset: Preserve the SECBOOT partition With the implemenation of secure boot in Power9, skiboot requires the SECBOOT partition to be preserved during factory resets, because it contains keys provisioned for the system that cannot be recreated (are not part of the read-only image). Tested: Verified that the SECBOOT partition file is preserved after a factory reset: root@witherspoon:~# ls -l /var/lib/phosphor-software-manager/pnor/prsv/ -rw-rw-r-- 1 root root 294912 Sep 27 20:21 CVPD -rw-rw-r-- 1 root root 294912 Sep 27 20:23 DJVPD -rw-rw-r-- 1 root root 589824 Sep 27 20:21 MVPD -rw-rw-r-- 1 root root 589824 Sep 27 20:25 NVRAM -rw-r--r-- 1 root root 147456 Sep 27 20:26 SECBOOT root@witherspoon:~# busctl call org.open_power.Software.Host.Updater /xyz/openbmc_project/software xyz.openbmc_project.Common.FactoryReset Reset root@witherspoon:~# ls -l /var/lib/phosphor-software-manager/pnor/prsv/ -rw-r--r-- 1 root root 147456 Sep 27 20:26 SECBOOT Change-Id: I762d03c937e8e4eff2f87aa087e6152a302180b2 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
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
.