bfbced4d99
The current fwupdate design processes the capsule with redundant updates in two passes. The first pass updates the primary partition, and the second pass updates the backup partition. In either pass, multiple redundant components will be updated. This patch fixed the existing issues: 1. If BIOS payload is not the final one, the boot partition will not be switched in the second pass, resulting in infinite update loop. 2. If the system boots in BP1 and tries to update BIOS payload, the fwupdate will not run the second pass. This patch addressed the following concepts: 1. The ResetRequired flag indicates whether a component needs a reboot to take effect after it has completed both partition updates; while the Reboot flag in FwPolicy indicates whether a component needs a reboot to switch partition for the second pass. 2. Firmware update status is updated after the component has completed both partition updates. 3. The CMDI commands involve platform protection; it should be run after the components have completed both partition updates. Signed-off-by: Vincent Chen <vincent.chen@intel.com> |
||
---|---|---|
.. | ||
CsmeUpdateDriver | ||
FirmwareUpdate | ||
HelloWorld | ||
Include | ||
Library | ||
OsLoader | ||
PayloadPkg.dec | ||
PayloadPkg.dsc |