[PATCH v1 1/2] efi_loader: improve device path matching for partition lookup
Balaji Selvanathan
balaji.selvanathan at oss.qualcomm.com
Tue Aug 26 11:07:41 CEST 2025
Hi Ilias,
Sorry for the late reply.
If i point to esp, then it should work.
But in the boot option generation, they are skipping if its a partition:
i.e., in lib/efi_loader/efi_bootmgr.c:
efi_bootmgr_enumerate_boot_options(), in this code (line 838):
if (blkio->media->logical_partition)
continue;
It seems that, by default, the boot option generation logic is not
designed to include partition as a boot option; Not sure if this is
intentional. If its not, then should we correct this logic? Your inputs
are appreciated.
On 8/5/2025 1:17 PM, Ilias Apalodimas wrote:
> I am not sure this is a bug. The EFI spec says that in order to
> trigger a capsule update you need to have an active boot option
> pointing to the same ESP the capsule is installed.
> Is your boot0000 automatically generated? If so it doesnt point to the
> ESP and the capsule update doesn't trigger correctly. Does it work if
> you manually add a boot option pointing to the ESP?
More information about the U-Boot
mailing list