Re: [PATCH v2 0/4] Enable EFI Capsule on Disk on Libre Computer LePotato & LaFrite
Ferass El Hafidi <[email protected]> Wed, 22 Apr 2026 15:40:51 +0000
| Newsgroups | io.groups.u-boot-amlogic,de.denx.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]= > wrote: >Mostly everything is already in place to enable EFI capsules and in part= icular >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 enable= d >and setup to update u-boot on eMMC/SD. > >With Capsule on Disk setup, it becomes possible to update U-Boot directl= y >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