From: Lukas Funke <lukas.funke@weidmueller.com>
Date: Tue, 18 Jul 2023 11:53:16 +0000 (+0200)
Subject: binman: doc: Add documentation for Xilinx Bootgen bintool
X-Git-Tag: v2025.01-rc5-pxa1908~924^2~84
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=6cb6425408a93c00bc34aa8944effb4d34bc47d2;p=u-boot.git

binman: doc: Add documentation for Xilinx Bootgen bintool

Add documentation for the 'bootgen' bintool

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

diff --git a/tools/binman/bintools.rst b/tools/binman/bintools.rst
index 9d8f1619f2..20ee24395a 100644
--- a/tools/binman/bintools.rst
+++ b/tools/binman/bintools.rst
@@ -204,3 +204,15 @@ 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`
+
+
+
+Bintool: bootgen: Sign ZynqMP FSBL image
+---------------------------------------------
+
+This bintool supports running `bootgen` in order to sign a SPL for ZynqMP
+devices.
+
+The bintool automatically creates an appropriate input image file (.bif) for
+bootgen based on the passed arguments. The output is a bootable,
+authenticated `boot.bin` file.