-
Notifications
You must be signed in to change notification settings - Fork 247
[nrf noup] boot: zephyr: support code-sram label to define exe region #575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kapi-no
wants to merge
418
commits into
nrfconnect:main
Choose a base branch
from
kapi-no:mcuboot_new_chosen_label_to_define_exe_region
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[nrf noup] boot: zephyr: support code-sram label to define exe region #575
kapi-no
wants to merge
418
commits into
nrfconnect:main
from
kapi-no:mcuboot_new_chosen_label_to_define_exe_region
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 51b0897. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 83d1d95. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
…ture key" This reverts commit 6ba9587. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
…ssion" This reverts commit 4a528ba. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 8900bda. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit ce9d1d6. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 0b54665. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 09ce751. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 1aaabde. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit a652982. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 9b60560. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 5af259f. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 301ab33. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit c13c652. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit d8a2e45. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 285fd59. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
… BM" This reverts commit ecc13ac. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit c859608. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 1b1a37f. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 3adc1f2. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 3b20ec3. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 1b102ec. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
…orm" This reverts commit e032eb1. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
… 0x0" This reverts commit c03a815. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 0fadab1. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
…cted to late" This reverts commit 4e46797. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
…_LITE" This reverts commit 6c096b8. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit 95d384a. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
…ng of img status page" This reverts commit c72ed15. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This reverts commit edc1c70. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Fix uninitialized variable warning as well as compile time issue, when the slotted dependencies are enabled. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no> (cherry picked from commit 9ca088179e611ebd0054b0ef503039132c7a0ad1)
nrf-squash! [nrf noup] bootloader: Add bootloader requests Fix a warning for uninitialized variable. Ref: NCSDK-35733 Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
If a device uses RESETINFO, than there are some bits set in the resetinfo, even for reboots that should allow to interpret and enter the device recovery. That way it is possible to recover a device through serial recovery if the main application resets due to i.e. watchdog. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no> (cherry picked from commit cc9852984f799d8d992594f966c472173925731f)
Added direct-xip support: * new API for marking active slot to be used by boot_go() routines. * jump vector assignment which is basing on above designation. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Added call which designate active slot so MCUBoot can jump to proper slot when CPU is resuming from S2RAM. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
nrf-squash! [nrf noup] bootutil: Add support for KMU stored ED25519 signature key Will instead use the immutable bootloader key slot IDs if b0 is not enabled, adds a Kconfig which can be used to fall back to the previous slot IDs for previously deployed bootloaders Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
nrf-squash! [nrf noup] boot/zephyr: nRF54h20 resume from S2RAM (hardened) CONFIG_ARM_SOC_START_HOOK=y allow to rework the resume from S2RAM code to work without PM_S2RAM mocking. It allows to implement only what really needed from the MCUboot perspective. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
nrf-squash! [nrf noup] boot/zephyr/socs: nrf54h20 prj.conf for S2RAM Updated in order to use optimized configuration. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
make linking time optimization default for the target. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Use BOOT_LOG_MODULE_REGISTER(mcuboot_psa_enc), instead of BOOT_LOG_MODULE_DECLARE. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no> (cherry picked from commit 8a07053d42e592c85cb35b79c4de1b7749943387)
nrf-squash! [nrf noup] zephyr: Enforce HMAC-SHA512 for NRF54L with X25519 sets SHA512 for all 54L series Signed-off-by: Mateusz Michalek <mateusz.michalek@nordicsemi.no>
Add a possibility to specify, which images should have the ROM_END_OFFSET automatically adjusted. Use the UpdateableImages_Get(..) functionality to configure all updateable images (including radio images as well as variants) in the default configuration. Ref: NCSDK-35612 Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
nrf-squash! [nrf noup] boot/zephyr: update nrf54l15dk ext flash configs This commit removes the partition definitions from nrf54L ext flash configs, as they are no longer needed, as the pure DTS configuration is no longer supported on nRF54L. They also caused issues, as they were not compatible with nRF54L10 and nRF54L05. It renames nrf54l15dk_nrf54l15_cpuapp_ext_flash.* overlays to nrf54l15dk_ext_flash.*, as now the same configuration can be used on nRF54L15, nRF54L10 and nRF54L05. Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
Uses ruff with --fix to fix python files in this folder Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no> (cherry picked from commit f23154c251e07013d45c9f97c875404e83e7d2dc)
Uses ruff with --unsafe-fixes to fix python files in this folder This is a separate commit so it can be reverted if it causes problems Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no> (cherry picked from commit 497688bafff2c3e183a016b68fc51f1bedf488c9)
This reverts commit dce784a. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no> (cherry picked from commit b192716c969ad358bb3a1db60c898212f3275c55)
nrf-squash! [nrf noup] boot: zephyr: Add bm firmware loader code Update for NCS BM include folder structure. Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>
nrf-squash! [nrf noup] boot: zephyr: Disable self RWX This commit fixes a couple of issues regarding MCUBoot region protection for nRF54L. Also, support for region and protection is added for nRF54LM20 and nRF54LV10 platforms. Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
The nrf54h20dk overlay is no longer required as the gpio pad groups have been removed. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no> (cherry picked from commit 71b41e38e9f5d278178be17f6d42f2559f8e46aa)
fixup! [nrf noup] bootloader: Add bootloader requests Interpret pending bootloader requests while investigating the confirm flag. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
nrf-squash! [nrf noup] bootutil: Locking KMU keys KMU key locking is not available in case ITS is used. Old code cause compilation errors when build for signature using ITS. Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
Added support for the new DTS chosen label called "code-sram" that can be used to define the executable RAM region. To use this new DTS node for the default configuration, the user must enable the BOOT_IMAGE_EXECUTABLE_RAM_USE_CODE_SRAM_LABEL Kconfig option. Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Nov 17, 2025
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-mcuboot#575 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
|
This was referenced Nov 19, 2025
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Added support for the new DTS chosen label called "code-sram" that can be used to define the executable RAM region. To use this new DTS node for the default configuration, the user must enable the BOOT_IMAGE_EXECUTABLE_RAM_USE_CODE_SRAM_LABEL Kconfig option.