Skip to contentSkip to conversation

Pull request efi-next-20230608

u-boot/next Heinrich Schuchardt 2 participants 2 messages Jun 8, 2023

lore
Share & tools
lore
#0 lore raw

Dear Tom,

The following changes since commit ac6096fe9c4d99f1dc37db95f213e08a48b11e70:

Merge branch '2023-06-01-assorted-platform-updates' into next
(2023-06-01 15:43:38 -0400)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-next-20230608

for you to fetch changes up to b6f954e5b09545d18a150e4a4431a648e41ff287:

test/py: efi_capsule: test for FMP versioning (2023-06-08 09:20:36 +0200)

Gitlab CI showed no issues:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/16516

----------------------------------------------------------------
Pull request efi-next-20230608

UEFI:

* Support for firmware versions in capsule updates

----------------------------------------------------------------
Masahisa Kojima (10):
efi_loader: add the number of image entries in
efi_capsule_update_info
efi_loader: store firmware version into FmpState variable
efi_loader: versioning support in GetImageInfo
efi_loader: get lowest supported version from device tree
efi_loader: check lowest supported version
mkeficapsule: add FMP Payload Header
doc: uefi: add firmware versioning documentation
doc: uefi: add anti-rollback documentation
test: efi_capsule: refactor efi_capsule test test/py: efi_capsule: test for FMP versioning

 arch/arm/mach-rockchip/board.c                     |   4 +-
 .../advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c  |   2 +-
 .../imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c        |   2 +-
 board/emulation/qemu-arm/qemu-arm.c                |   2 +-
 board/kontron/pitx_imx8m/pitx_imx8m.c              |   2 +-
 board/kontron/sl-mx8mm/sl-mx8mm.c                  |   2 +-
 board/kontron/sl28/sl28.c                          |   2 +-
 board/rockchip/evb_rk3399/evb-rk3399.c             |   2 +-
 board/sandbox/sandbox.c                            |   2 +-
 board/socionext/developerbox/developerbox.c        |   2 +-
 board/st/stm32mp1/stm32mp1.c                       |   2 +-
 board/xilinx/common/board.c                        |   2 +-
 doc/develop/uefi/uefi.rst                          |  66 +++++
 .../firmware/firmware-version.txt                  |  22 ++
 doc/mkeficapsule.1                                 |  10 +
 include/efi_loader.h                               |   3 +-
 lib/efi_loader/efi_firmware.c                      | 276 
+++++++++++++++++--
 lib/fwu_updates/fwu.c                              |   2 +-
 test/py/tests/test_efi_capsule/capsule_common.py   | 142 ++++++++++
 test/py/tests/test_efi_capsule/conftest.py         |  82 ++++++
 .../test_efi_capsule/test_capsule_firmware_fit.py  | 213 +++++++--------
 .../test_efi_capsule/test_capsule_firmware_raw.py  | 301 
++++++++-------------
 .../test_capsule_firmware_signed_fit.py            | 269 
+++++++-----------
 .../test_capsule_firmware_signed_raw.py            | 276 
++++++++-----------
 test/py/tests/test_efi_capsule/version.dts         |  24 ++
 tools/eficapsule.h                                 |  30 ++
 tools/mkeficapsule.c                               |  37 ++-
 27 files changed, 1102 insertions(+), 677 deletions(-)
 create mode 100644 doc/device-tree-bindings/firmware/firmware-version.txt
 create mode 100644 test/py/tests/test_efi_capsule/capsule_common.py
 create mode 100644 test/py/tests/test_efi_capsule/version.dts
#1 lore raw
Quoted 12 lines · Heinrich Schuchardt

Dear Tom,

The following changes since commit ac6096fe9c4d99f1dc37db95f213e08a48b11e70:

Merge branch '2023-06-01-assorted-platform-updates' into next (2023-06-01
15:43:38 -0400)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-next-20230608

Quoted 7 lines

for you to fetch changes up to b6f954e5b09545d18a150e4a4431a648e41ff287:

test/py: efi_capsule: test for FMP versioning (2023-06-08 09:20:36 +0200)

Gitlab CI showed no issues:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/16516

Applied to u-boot/next, thanks!

Signature · 1 line
Tom