samples: tfm_integration: fix requirements for building TFM binaries

In the samples' documentation we update the requirements
for building TF-M binaries according to the latest upstream
TF-M documentation.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2020-10-15 17:28:27 +02:00
commit 7fdea78d75

View file

@ -63,12 +63,15 @@ The following Python modules are required when building TF-M binaries:
* pyasn1
* pyyaml
* cbor>=1.0.0
* imgtool>=1.6.0
* jinja2
* click
You can install them via:
.. code-block:: bash
$ pip3 install --user cryptography pyasn1 pyyaml cbor>=1.0.0
$ pip3 install --user cryptography pyasn1 pyyaml cbor>=1.0.0 imgtool>=1.6.0 jinja2 click
They are used by TF-M's signing utility to prepare firmware images for
validation by the bootloader.
@ -106,7 +109,7 @@ images, and ``tfm/bl2/ext/mcuboot/root-rsa-3072_1.pem`` is used to sign
non-secure images. Theses default .pem keys keys can be overridden using the
``CONFIG_TFM_KEY_FILE_S`` and ``CONFIG_TFM_KEY_FILE_NS`` values.
The ``imgtool.py`` script from TF-M signs the TF-M + Zephyr binary using the
The ``wrapper.py`` script from TF-M signs the TF-M + Zephyr binary using the
.pem private key..
To satisfy `PSA Certified Level 1`_ requirements, **You MUST replace