aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>2021-06-04 18:45:21 +0900
committerTom Rini <trini@konsulko.com>2021-07-06 14:11:50 -0400
commit6ae303b62b7c1d858e16a12b5ba86a41fcfa2d0f (patch)
treeba77f591a4828369abb6ce0b374efca7d466b84b
parent5cd4a355e0f0addb718642b877939819b772936c (diff)
downloadu-boot-6ae303b62b7c1d858e16a12b5ba86a41fcfa2d0f.zip
u-boot-6ae303b62b7c1d858e16a12b5ba86a41fcfa2d0f.tar.gz
u-boot-6ae303b62b7c1d858e16a12b5ba86a41fcfa2d0f.tar.bz2
doc: qemu: arm64: Fix the documentation of capsule update
Since the EDK2 GenerateCapsule script is out of date and it doesn't generate the supported version capsule file, the document should refer the mkeficapsule in tools. Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
-rw-r--r--doc/board/emulation/qemu_capsule_update.rst11
1 files changed, 2 insertions, 9 deletions
diff --git a/doc/board/emulation/qemu_capsule_update.rst b/doc/board/emulation/qemu_capsule_update.rst
index 33ce4bc..0a2286d 100644
--- a/doc/board/emulation/qemu_capsule_update.rst
+++ b/doc/board/emulation/qemu_capsule_update.rst
@@ -39,16 +39,9 @@ In addition, the following config needs to be disabled(QEMU ARM specific)::
CONFIG_TFABOOT
-The capsule file can be generated by using the GenerateCapsule.py
-script in EDKII::
-
- $ ./BaseTools/BinWrappers/PosixLike/GenerateCapsule -e -o \
- <capsule_file_name> --fw-version <val> --lsv <val> --guid \
- e2bb9c06-70e9-4b14-97a3-5a7913176e3f --verbose --update-image-index \
- <val> --verbose <u-boot.bin>
+The capsule file can be generated by using the tools/mkeficapsule::
-The above is a wrapper script(GenerateCapsule) which eventually calls
-the actual GenerateCapsule.py script.
+ $ mkeficapsule --raw <u-boot.bin> --index 1 <capsule_file_name>
As per the UEFI specification, the capsule file needs to be placed on
the EFI System Partition, under the \EFI\UpdateCapsule directory. The