Skip to content

Commit fc4b448

Browse files
committed
doc: release: Secondary stage MCUboot header changes
Information on new Kconfig options that allow to discard MCUboot header post DFU, allowing slightly bigger MCUboot images with the same partition size. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent f969e28 commit fc4b448

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,12 @@ nRF Desktop
291291
Enable the feature with the :option:`CONFIG_DESKTOP_HIDS_SCI_ENABLE` Kconfig option.
292292
* The ``hid_sci`` and ``release_hid_sci`` build types for the ``nrf54l15dk/nrf54l15/cpuapp`` board target.
293293
The configurations act as a HID mouse peripheral with HID SCI support.
294+
* Added :kconfig:option:`CONFIG_NCS_MCUBOOT_DISCARDS_HEADER_IN_SECONDARY_MCUBOOT` that allows to drop MCUboot image header, in secondary MCUboot image update, when the update is installed to desingated slot, by MCUboot.
295+
The option if off, for compatibility, because MCUboot built prior to the option existence is not capable of updating itself with MCUboot that was built with the option enabled.
296+
Same condition applies to NSIB, that will not be able boot MCUboot built with the option enabled, as it has been hardcoded to skip the header, so it expects it to exist.
297+
For NSIB to work with MCUboot built with the option enabled, NSIB has to be built with :kconfig:option:`CONFIG_SB_IMAGE_BOOT_OFFSET` set to 0, which would turn off the header skipping.
298+
NSIB + MCUboot setup, that will discard the header, canbe built with Sysbuild :kconfig:option:`SB_CONFIG_SECURE_BOOT_MCUBOOT_DISCARDS_MCUBOOT_IMAGE_HEADER`.
299+
Note that the header is still added for DFU, as MCUboot requires it for processing the image, but will be minimal allowed header; this slightly reduces DFU size of MCUboot image, for example by 2016 bytes for nRF54L, and increases partition size available for MCUBoot executable.
294300

295301
* Removed:
296302

0 commit comments

Comments
 (0)