[U-Boot] [RFC PATCH 37/44] mkimage: Add -K to write public keys to an FDT blob

Marek Vasut marex at denx.de
Sat Jan 5 09:25:25 CET 2013


Dear Simon Glass,

> FIT image verification requires public keys. Add a convenient option to
> mkimage to write the public keys to an FDT blob when it uses then for
> signing an image. This allows us to use:
> 
>    mkimage -f test.its -K dest.dtb -k keys test.fit
> 
> and have the signatures written to test.fit and the corresponding public
> keys written to dest.dtb. Then dest.dtb can be used as the control FDT
> for U-Boot (CONFIG_OF_CONTROL), thus providing U-Boot with access to the
> public keys it needs.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list