[PATCH v2 6/7] tools: add genguid tool

Simon Glass sjg at chromium.org
Wed May 29 18:30:06 CEST 2024


Hi Caleb,

On Wed, 29 May 2024 at 08:49, Caleb Connolly <caleb.connolly at linaro.org> wrote:
>
> Add a tool that can generate GUIDs that match those generated internally
> by U-Boot for capsule update fw_images.
>
> Dynamic UUIDs in U-Boot work by taking a namespace UUID and hashing it
> with the board model, compatible, and fw_image name.
>
> This tool accepts the same inputs and will produce the same GUID as
> U-Boot would at runtime.
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
>  tools/Makefile  |   3 ++
>  tools/genguid.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 157 insertions(+)

Where is this tool used? Can you add a man page and test?

Regards,
Simon


More information about the U-Boot mailing list