Skip to content

Commit 08945ba

Browse files
committed
doc: app_dev: dfu: Update minimum sizes for bootloader
The minimum sizes for release builds are now smaller Signed-off-by: Jamie McCrae <[email protected]>
1 parent 8f07259 commit 08945ba

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

doc/nrf-bm/app_dev/dfu/bootloader_keys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ KMU (Key Management Unit)
4545
*************************
4646

4747
The nRF54L series of SoCs contain a KMU - key management unit, this on-die peripheral can be used by CRACEN to securely store and use keys without allowing the contents to be read out.
48-
In order to boot images when the KMU feature is enabled, the MCUboot singing key must be programmed to the KMU prior to loading the firmware or the device will be unable to boot.
48+
In order to boot images when the KMU feature is enabled, the MCUboot signing key must be programmed to the KMU prior to loading the firmware or the device will be unable to boot.
4949
This feature can be enabled with :kconfig:option:`SB_CONFIG_BM_BOOTLOADER_MCUBOOT_SIGNATURE_USING_KMU`, another sysbuild Kconfig is used to determine if the public key file should be automatically programmed to boards when ``west flash`` is used with the ``--erase`` or ``--recover`` arguments, when :kconfig:option:`SB_CONFIG_BM_BOOTLOADER_MCUBOOT_GENERATE_DEFAULT_KMU_KEYFILE` is enabled (it is enabled by default) then this process is enabled and should be the first command used after building the project to set the board up for development.

doc/nrf-bm/app_dev/dfu/ug_dfu.rst

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,21 @@ Partition Configuration
1818
The memory of your device must be partitioned appropriately to accommodate the bootloader, application, and firmware update mechanisms.
1919
|BMshort| uses Zephyr's `DTS`_ system for memory partitioning.
2020

21-
+--------------------------+---------------------------------------------------------------+--------------------+-------------------+
22-
| Partition Name | Description | Minimum size |br| | Minimum size |br| |
23-
| | | (Development) | (Release) |
24-
+==========================+===============================================================+====================+===================+
25-
| ``boot_partition`` | Bootloader (MCUboot) | 36 KB | 28 KB |
26-
+--------------------------+---------------------------------------------------------------+--------------------+-------------------+
27-
| ``slot0_partition`` | Main application slot | | |
28-
+--------------------------+---------------------------------------------------------------+--------------------+-------------------+
29-
| ``slot1_partition`` | `Firmware loader`_ | 44 KB | 28 KB |
30-
+--------------------------+---------------------------------------------------------------+--------------------+-------------------+
31-
| ``softdevice_partition`` | For the SoftDevice, including an MCUboot header of size 0x800 | |
32-
+--------------------------+---------------------------------------------------------------+--------------------+-------------------+
33-
| ``metadata_partition`` | Stores metadata, placed at the last 0x200 of NVM | | |
34-
+--------------------------+---------------------------------------------------------------+--------------------+-------------------+
21+
+--------------------------+---------------------------------------------------------------+--------------------+----------------------+
22+
| Partition Name | Description | Minimum size |br| | Minimum size |br| |
23+
| | | (Development) | (Release) |
24+
+==========================+===============================================================+====================+======================+
25+
| ``boot_partition`` | Bootloader (MCUboot) | 31 KiB | 21 KiB (using KMU) |
26+
| | | | 26 KiB (without KMU) |
27+
+--------------------------+---------------------------------------------------------------+--------------------+----------------------+
28+
| ``slot0_partition`` | Main application slot | | |
29+
+--------------------------+---------------------------------------------------------------+--------------------+----------------------+
30+
| ``slot1_partition`` | `Firmware loader`_ | 44 KiB | 28 KiB |
31+
+--------------------------+---------------------------------------------------------------+--------------------+----------------------+
32+
| ``softdevice_partition`` | For the SoftDevice, including an MCUboot header of size 0x800 | |
33+
+--------------------------+---------------------------------------------------------------+--------------------+----------------------+
34+
| ``metadata_partition`` | Stores metadata, placed at the last 0x200 of NVM | | |
35+
+--------------------------+---------------------------------------------------------------+--------------------+----------------------+
3536

3637
.. note::
3738
The sizes and configurations of slot0 and slot1 are asymmetrical.

0 commit comments

Comments
 (0)