[PATCH v2 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

Caleb Connolly caleb.connolly at linaro.org
Wed May 29 23:55:26 CEST 2024



On 29/05/2024 21:49, Simon Glass wrote:
> Hi Caleb,
> 
> On Wed, 29 May 2024 at 13:04, Caleb Connolly <caleb.connolly at linaro.org> wrote:
>>
>>
>>>
>>> How about using the compatible string, instead of a GUID? Is that possible?
>>
>> Could you elaborate?
> 
> Well, the compatible string (in the root node) is how we normally
> decide which DT to use and which machine we are targeting. So I am
> wondering if we can somehow use that, rather than producing a GUID
> from it?

No, we can't. The GUIDs are required as part of the EFI FMP spec. We 
currently hardcode these GUIDs per-board (meaning if a vendor productize 
some board they need to make source modifications to replace the GUIDs). 
This series generates those GUIDs deterministically at runtime so we 
don't need to maintain a big list.
> 
> Regards,
> Simon

-- 
// Caleb (they/them)


More information about the U-Boot mailing list