[PATCH v4 0/2] Support EFI capsule updates across Amlogic boards

Ferass El Hafidi funderscore at postmarketos.org
Thu Dec 11 16:36:59 CET 2025


Currently EFI capsule updates are only supported on the following
Amlogic-based boards:

 - Libre Computer AML-S805X-AC
 - Libre Computer AML-A311D-CC
 - Libre Computer AML-S905D3-CC

This is done with board-specific configuration in board/libre-computer/.

With this patch, EFI capsule updates can now work on most of the other
Amlogic boards supported by u-boot, such as the Libre Computer
AML-S905X-CC, without the need for board-specific configuration
beforehand.

Please note that flashing to the eMMC bootX partitions is not yet
supported.

(Also: with these patches, the Libre Computer boards are switched to use
the new common EFI capsule support. This will mean GUIDs will change, as
fw_image name is different.)

Signed-off-by: Ferass El Hafidi <funderscore at postmarketos.org>
---
Changes in v4:
 - Add missing R-b's
 - Link to v3: https://lore.kernel.org/r/20251211-meson-capsule-v3-0-1cf15a2d2498@postmarketos.org

Changes in v3:
 - Remove board-specific Libre Computer EFI capsule support and use the
   common EFI capsule support code
 - Link to v2: https://lore.kernel.org/r/20251011-meson-capsule-v2-1-53a8be6595ce@postmarketos.org

Changes in v2:
 - Don't run meson_setup_capsule unless CONFIG_DFU and CONFIG_EFI_LOADER
   are enabled
 - Coding style fixes
 - Return when boot device is unsupported
 - Link to v1: https://lore.kernel.org/r/20251007-meson-capsule-v1-1-6175f7b4cf9e@postmarketos.org

---
Ferass El Hafidi (2):
      arm: meson: add support for EFI capsule updates
      board: libre-computer: use common Amlogic EFI capsule support

 arch/arm/include/asm/arch-meson/boot.h             |  2 +
 arch/arm/mach-meson/Makefile                       |  2 +-
 arch/arm/mach-meson/board-common.c                 |  5 ++
 arch/arm/mach-meson/capsule.c                      | 61 ++++++++++++++++++++++
 board/libre-computer/aml-a311d-cc/aml-a311d-cc.c   | 14 -----
 board/libre-computer/aml-s805x-ac/aml-s805x-ac.c   | 13 -----
 board/libre-computer/aml-s905d3-cc/aml-s905d3-cc.c | 14 -----
 7 files changed, 69 insertions(+), 42 deletions(-)
---
base-commit: 072264c4b3406aee50dad08355588577a547ab48
change-id: 20251007-meson-capsule-a19539e0a54e

Best regards,
-- 
Ferass El Hafidi <funderscore at postmarketos.org>



More information about the U-Boot mailing list