From 94deb742654ae2f8996e9db17158834261b8c05e Mon Sep 17 00:00:00 2001 From: Ferass El Hafidi Date: Wed, 22 Apr 2026 15:43:25 +0000 Subject: configs: libretech-ac_defconfig: enable EFI Capsule on Disk Everything is already in place for EFI capsule updates, so enabling Capsule on Disk is fairly trivial. This allows updating U-Boot on SPI flash from Linux using fwupd's Capsule support. Reviewed-by: Neil Armstrong Signed-off-by: Ferass El Hafidi Link: https://patch.msgid.link/20260422-b4-amlogic-sysreset-capsules-v3-3-07b5ccc8f552@postmarketos.org Signed-off-by: Neil Armstrong --- configs/libretech-ac_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs') diff --git a/configs/libretech-ac_defconfig b/configs/libretech-ac_defconfig index 1a67ca734b8..17d54655017 100644 --- a/configs/libretech-ac_defconfig +++ b/configs/libretech-ac_defconfig @@ -23,6 +23,7 @@ CONFIG_DEBUG_UART=y CONFIG_REMAKE_ELF=y CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y +CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_FIT_VERBOSE=y -- cgit v1.3.1 From e07cc9e7fdcc35780f539ee1d452ffd3da0fbd1f Mon Sep 17 00:00:00 2001 From: Ferass El Hafidi Date: Wed, 22 Apr 2026 15:43:26 +0000 Subject: configs: libretech-cc_defconfig: enable EFI Capsule on Disk Everything is in place to allow this board to support EFI Capsule updates. Enable everything needed to support Capsule updates, as well as Capsule on Disk. All this allows updating U-Boot on eMMC directly from linux using fwupd. Also enable DFU_MMC, which is a requirement for EFI Capsule flashing to eMMC/SD to work. Reviewed-by: Neil Armstrong Signed-off-by: Ferass El Hafidi Link: https://patch.msgid.link/20260422-b4-amlogic-sysreset-capsules-v3-4-07b5ccc8f552@postmarketos.org Signed-off-by: Neil Armstrong --- configs/libretech-cc_defconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configs') diff --git a/configs/libretech-cc_defconfig b/configs/libretech-cc_defconfig index d5878bdc431..622922e97ee 100644 --- a/configs/libretech-cc_defconfig +++ b/configs/libretech-cc_defconfig @@ -16,6 +16,9 @@ CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_IDENT_STRING=" libretech-cc" CONFIG_DEBUG_UART=y CONFIG_REMAKE_ELF=y +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y +CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_FIT_VERBOSE=y @@ -38,6 +41,7 @@ CONFIG_OF_CONTROL=y CONFIG_ENV_RELOC_GD_ENV_ADDR=y CONFIG_SARADC_MESON=y CONFIG_DFU_RAM=y +CONFIG_DFU_MMC=y CONFIG_MMC_MESON_GX=y CONFIG_PHY_MESON_GXL=y CONFIG_DM_MDIO=y -- cgit v1.3.1