[PATCH v5 0/4] EFI: Reset system after capsule-on-disk

Masami Hiramatsu masami.hiramatsu at linaro.org
Wed Feb 16 07:15:32 CET 2022


Here is the 5th version of the reset after capsule-on-disk. This version
includes the test updates for this new behavior. I finally split the test
update patches into 3 parts. ConsoleBase::run_command() update [2/4],
ConsoleBase::ensure_spawned() update [3/4] and the test code update.
The last part is merged into the reset after capsule-on-disk patch [4/4].

The reset after completing the capsule-on-disk is stated in the UEFI
specification 2.9, section 8.5.5 "Delivery of Capsules via file on Mass
Storage device" as below,

    In all cases that a capsule is identified for processing the system is
    restarted after capsule processing is completed.

Thank you,


Masami Hiramatsu (4):
      efi_loader: use efi_update_capsule_firmware() for capsule on disk
      test/py: Handle expected reset by command
      test/py: Handle expected reboot while booting sandbox
      efi_loader: test/py: Reset system after capsule update on disk

 lib/efi_loader/efi_capsule.c                       |   20 +++
 .../test_efi_capsule/test_capsule_firmware.py      |   37 ++++--
 test/py/u_boot_console_base.py                     |  115 ++++++++++++--------
 test/py/u_boot_console_sandbox.py                  |    7 +
 4 files changed, 115 insertions(+), 64 deletions(-)

Masami Hiramatsu <masami.hiramatsu at linaro.org>

More information about the U-Boot mailing list