aboutsummaryrefslogtreecommitdiff
path: root/doc/mkeficapsule.1
diff options
context:
space:
mode:
authorMasahisa Kojima <masahisa.kojima@linaro.org>2023-06-07 14:41:56 +0900
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-06-08 09:20:36 +0200
commit000806f76b18262d456d98184592703a1bae016d (patch)
tree5da7b1965f319a2fcd4e93aaa8f3fbfc235fc4a3 /doc/mkeficapsule.1
parent6ab7a6853f0102457598145ebbcfc822083d50cd (diff)
downloadu-boot-000806f76b18262d456d98184592703a1bae016d.zip
u-boot-000806f76b18262d456d98184592703a1bae016d.tar.gz
u-boot-000806f76b18262d456d98184592703a1bae016d.tar.bz2
mkeficapsule: add FMP Payload Header
Current mkeficapsule tool does not provide firmware version management. EDK II reference implementation inserts the FMP Payload Header right before the payload. It coutains the fw_version and lowest supported version. This commit adds a new parameters required to generate the FMP Payload Header for mkeficapsule tool. '-v' indicates the firmware version. When mkeficapsule tool is invoked without '-v' option, FMP Payload Header is not inserted, the behavior is same as current implementation. The lowest supported version included in the FMP Payload Header is not used, the value stored in the device tree is used instead. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'doc/mkeficapsule.1')
-rw-r--r--doc/mkeficapsule.110
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/mkeficapsule.1 b/doc/mkeficapsule.1
index 1ca245a..c4c2057 100644
--- a/doc/mkeficapsule.1
+++ b/doc/mkeficapsule.1
@@ -62,6 +62,16 @@ Specify an image index
Specify a hardware instance
.PP
+FMP Payload Header is inserted right before the payload if
+.BR --fw-version
+is specified
+
+
+.TP
+.BI "-v\fR,\fB --fw-version " firmware-version
+Specify a firmware version, 0 if omitted
+
+.PP
For generation of firmware accept empty capsule
.BR --guid
is mandatory