summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Funke <lukas.funke@weidmueller.com>2023-07-18 13:53:12 +0200
committerSimon Glass <sjg@chromium.org>2023-07-24 09:34:10 -0600
commitc76831d189eae14558d5275b2db62354c07a79ef (patch)
treee30fe7d6a169cce4c378b7805b2dc9082677c5af
parentf0989c29f835d7adb50a7eab3946bd73fbf1ba64 (diff)
binman: doc: Add documentation for fdt_add_pubkey bintool
Add documentation for btool which calls 'fdt_add_pubkey' Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--tools/binman/bintools.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/binman/bintools.rst b/tools/binman/bintools.rst
index dd2a22bd06b..9d8f1619f20 100644
--- a/tools/binman/bintools.rst
+++ b/tools/binman/bintools.rst
@@ -194,3 +194,13 @@ Documentation is available via::
+Bintool: fdt_add_pubkey: Add public key to device tree
+------------------------------------------------------
+
+This bintool supports running `fdt_add_pubkey` in order to add a public
+key coming from a certificate to a device-tree.
+
+Normally signing is done using `mkimage` in context of `binman sign`. However,
+in this process the public key is not added to the stage before u-boot proper.
+Using `fdt_add_pubkey` the key can be injected to the SPL independent of
+`mkimage`