This series, the mainline version of [1], provides the necessary changes in U-Boot to support the metadata-driven A/B update flow for STM32MP25 boards. It implements the logic required to dynamically select the boot bank based on FWU metadata.
These changes are designed to be backward compatible while providing the necessary infrastructure for the A/B scheme. The series has been tested on the STM32MP257F-EV1 board. Additionally, patches 1 to 3 propose some changes with general-purpose utility: 1/4 fwu: add helper to get image GUID by type and bank index 2/4 cmd: part: support lookup by UUID in 'part number' 3/4 lib: uuid: add partition type GUID for extended bootloader [1] https://github.com/STMicroelectronics/u-boot/pull/6 Dario Binacchi (4): lib: uuid: add partition type GUID for extended bootloader cmd: part: support lookup by UUID in 'part number' fwu: add helper to get image GUID by type and bank index board: st: stm32mp25: support dynamic A/B bank bootup board/st/stm32mp2/stm32mp2.c | 25 +++++++++++++++++++++++++ cmd/part.c | 8 ++++++-- doc/README.gpt | 2 ++ include/configs/stm32mp25_st_common.h | 15 +++++++++++++++ include/fwu.h | 3 +++ include/part_efi.h | 3 +++ lib/fwu_updates/fwu.c | 24 ++++++++++++++++++++++++ lib/uuid.c | 1 + 8 files changed, 79 insertions(+), 2 deletions(-) -- 2.43.0 base-commit: c704af3c8b0f37929bce8c2a4bba27d6e89919c7 branch: fwupdate-ab

