]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: uefi: enhance anti-rollback documentation
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 22 Jun 2023 08:06:29 +0000 (17:06 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 15 Jul 2023 09:20:41 +0000 (11:20 +0200)
To enforce anti-rollback to any older version, dtb must be
always update manually. This should be described in the
documentation.

This commit also adds the recommendation that secure system should not
enable the fdt command because lowest-supported-version
property in device tree can be changed by fdt command.

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
doc/develop/uefi/uefi.rst

index 6626ceec52b4cb630c328d4ab3661d6c2cb99c2c..a7a41f2facf2c7f0ee9a1b2058279e1c329eb0d3 100644 (file)
@@ -552,6 +552,13 @@ update using a capsule file with --fw-version of 5, the update will fail.
 When the --fw-version in the capsule file is updated, lowest-supported-version
 in the dtb might be updated accordingly.
 
+If user needs to enforce anti-rollback to any older version,
+the lowest-supported-version property in dtb must be always updated manually.
+
+Note that the lowest-supported-version property specified in U-Boot's control
+device tree can be changed by U-Boot fdt command.
+Secure systems should not enable this command.
+
 To insert the lowest supported version into a dtb
 
 .. code-block:: console