Skip to content

Commit 99e7fd2

Browse files
committed
docs: services: tfm: Add note about confirmed images
This extends the Signing Images details in the build documentation to highlight the details about confirmed and unconfirmed images in regards to PSA Certified Firmware Update API. Signed-off-by: BUDKE Gerson Fernando <[email protected]>
1 parent de19ded commit 99e7fd2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/services/tfm/build.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ When :kconfig:option:`CONFIG_TFM_BL2` is set to ``y``, TF-M uses a secure bootlo
6161
is validated by the bootloader during updates using the corresponding public
6262
key, which is stored inside the secure bootloader firmware image.
6363

64+
During the signing procedure, all HEX files are marked as ``confirmed``,
65+
whereas all BIN files remain ``unconfirmed``. This guarantees that any image
66+
flashed onto a device possesses the required properties for compatibility
67+
with the `PSA Certified Firmware Update API`_. The corresponding BIN file
68+
can then be used as the payload in the Firmware Update procedure.
69+
6470
By default, ``<tfm-dir>/bl2/ext/mcuboot/root-rsa-3072.pem`` is used to sign secure
6571
images, and ``<tfm-dir>/bl2/ext/mcuboot/root-rsa-3072_1.pem`` is used to sign
6672
non-secure images. These default .pem keys can (and **should**) be overridden
@@ -94,6 +100,8 @@ hex file can then be flashed to your development board or run in QEMU.
94100

95101
.. _PSA Certified Level 1:
96102
https://www.psacertified.org/security-certification/psa-certified-level-1/
103+
.. _PSA Certified Firmware Update API:
104+
https://arm-software.github.io/psa-api/fwu/
97105

98106
Custom CMake arguments
99107
======================

0 commit comments

Comments
 (0)