Heinrich Schuchardt <xypron.g...@gmx.de> writes:

> Am 13. Juni 2025 16:54:48 MESZ schrieb Javier Martinez Canillas 
> <javi...@redhat.com>:
>>Heinrich Schuchardt <xypron.g...@gmx.de> writes:
>>
>>Hello Heinrich,
>>
>>Thanks for your feedback.
>>
>>> Am 13. Juni 2025 10:57:38 MESZ schrieb Javier Martinez Canillas 
>>> <javi...@redhat.com>:
>>>>The UEFI 2.10 specification mentions that this protocol shall be installed
>>>>along with EFI_BLOCK_IO_PROTOCOL. It provides cached partition information
>>>>for MBR and GPT partition types.
>>>
>>> U-Boot is targeting the EBBR specifcation which defines a subset of UEFI.
>>>
>>
>>Interesting. I knew that the u-boot EFI implementation was to support
>>SystemReady IR (what is now called SystemReady DeviceTree) and EBBR,
>>but I didn't know that meant to only implement what's required by EBBR.
>>
>>I noticed that EFI_PARTITION_INFO_PROTOCOL is not even required by SBBR
>>and only EFI_BLOCK_IO_PROTOCOL is required there just like for EBBR.
>>
>>> Which application needs this protocol?
>>
>>We are experimenting with a new A/B boot protocol and an EFI binary that
>>implements it. It's inspired on what the Android Boot Loader does for its
>>A/B booting too.
>>
>>The project is https://gitlab.com/CentOS/automotive/src/ukiboot and reads
>>UKI (https://uapi-group.org/specifications/specs/unified_kernel_image)
>>images from raw data partitions. Just like ABL reads Android Boot images.
>
> Linaro already implemented A/B EFI Boot in U-Boot. 
> (https://docs.u-boot.org/en/latest/develop/uefi/fwu_updates.html). What are 
> you missing in the existing solution?
>

Maybe I haven't explained myself clearly but we are talking about different
things here. The solution you mention is to support A/B *firmware* updates,
while I was talking about A/B *Linux kernel* updates.

ukiboot already works on platforms that use an edk2 based EFI firmwares,
since these provide the EFI_PARTITION_INFO_PROTOCOL. I just want to make
it work on platforms that use u-boot instead.

> Best regards 
>
> Heinrich
>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat

Reply via email to