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

Simon Glass sjg at chromium.org
Thu May 30 14:24:38 CEST 2024


Hi Caleb,

On Wed, 29 May 2024 at 15:55, Caleb Connolly <caleb.connolly at linaro.org> wrote:
>
>
>
> 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.

OK thanks for the info.

Regards,
Simon


More information about the U-Boot mailing list