]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mkeficapsule: Add support for embedding public key in a dtb
authorSughosh Ganu <sughosh.ganu@linaro.org>
Wed, 30 Dec 2020 13:56:59 +0000 (19:26 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:41:31 +0000 (14:41 +0100)
commit322c813f4becb6a256e0eeedd8e6a856bb075dfc
treeb407f9d21ee3918dc539b283b30532af628cd231
parentb7d186f07168eca28ca0719a0fc13fb21a97b6e7
mkeficapsule: Add support for embedding public key in a dtb

Add options for embedding the public key esl(efi signature list) file
to the platform's dtb. The esl file is then retrieved and used for
authenticating the capsule to be used for updating firmare components
on the platform.

The esl file can now be embedded in the dtb by invoking the following
command
mkeficapsule -K <pub_key.esl> -D <dtb>

In the scenario where the esl file is to be embedded in an overlay,
this can be done through the following command
mkeficapsule -O -K <pub_key.esl> -D <dtb>

This will create a node named 'signature' in the dtb, and the esl file
will be stored as 'capsule-key'

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
tools/Makefile
tools/mkeficapsule.c