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 27, 2024
1 parent 7abc7a9 commit e15f633
Show file tree
Hide file tree
Showing 3 changed files with 21 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.
3 changes: 3 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 @@ -200,9 +200,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``, ``tfm_storage`` and ``nonsecure_storage``.
Expand Down

0 comments on commit e15f633

Please sign in to comment.