[PATCH v2 0/4] Enable EFI Capsule on Disk on Libre Computer LePotato & LaFrite
Ferass El Hafidi
funderscore at postmarketos.org
Wed Apr 22 17:40:51 CEST 2026
Hello, ignore this patch series. Didn't mean to send it in this state.
Sorry for the noise
On Wed, 22 Apr 2026 15:39, Ferass El Hafidi <funderscore at postmarketos.org> wrote:
>Mostly everything is already in place to enable EFI capsules and in particular
>EFI capsule on disk.
>
>First, switch all Amlogic boards to use SYSRESET. EFI Capsule on Disk
>functionality expects sysreset to be present. As the current reset_cpu()
>function in board-common.c is basically only doing PSCI reset on U-Boot
>proper, we can replace it with sysreset's PSCI support, which works just
>fine for that purpose provided BL31 is running (SPL stays on an
>SoC-specific reset_cpu() which does for(;;);, as the overhead for
>sysreset is too high and we don't have PSCI yet at that point).
>
>Then we can enable capsule on disk. LaFrite has Capsule updates enabled
>already, so it is simply a matter of enabling CoD. LePotato does not
>have Capsule updates enabled by default, however it can be easily enabled
>and setup to update u-boot on eMMC/SD.
>
>With Capsule on Disk setup, it becomes possible to update U-Boot directly
>from Linux, without having to worry about manually using `flashprog`
>(for SPI flash) or `dd` (for eMMC/SD). Instead, thanks to CoD, updates
>can be handled by `fwupd` and applied upon next EFI boot.
--
Best regards,
Ferass
More information about the U-Boot
mailing list