Skip to content

Commit

Permalink
doc: tfm: Add diagram to describe granularity
Browse files Browse the repository at this point in the history
Add diagram to show the granularity differences
between each HW.

Signed-off-by: Seppo Takalo <[email protected]>
  • Loading branch information
SeppoTakalo committed Dec 23, 2024
1 parent 9c368c4 commit 426dd6c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/nrf/images/nrf-secure-rom-granularity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions doc/nrf/images/secure-flash-regions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions doc/nrf/security/tfm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,23 @@ On nRF54L15 devices, TF-M uses the MPC to enforce the security policy between th
- 4 kB
- 4 kB

.. figure:: /images/nrf-secure-rom-granularity.svg
:alt: Partition alignment granularity
:width: 80%
:align: center

Partition alignment granularity on different nRF devices.

When the :ref:`partition_manager` is enabled, it will take into consideration the alignment requirements.
But when the static partitions are used, the user is responsible for following the alignment requirements.

.. figure:: /images/secure-flash-regions.svg
:alt: Example of aligning partitions with flash regions
:width: 80%
:align: center

Example of aligning partitions with flash regions.

If you are experiencing any partition alignment issues when using the Partition Manager, check the :ref:`known_issues` page on the main branch.

The partitions which need to be aligned with the TrustZone flash region size are partitions ``tfm_nonsecure`` and ``nonsecure_storage``.
Expand Down

0 comments on commit 426dd6c

Please sign in to comment.