Skip to content

Conversation

@tomchy
Copy link
Contributor

@tomchy tomchy commented Nov 17, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 17, 2025 15:46
@NordicBuilder NordicBuilder added manifest changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Nov 17, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements functionality to preserve bootloader request values across device reboots by introducing a backup mechanism using Zephyr's retention driver.

  • Updates MCUboot revision to pull/574/head to include the backup functionality
  • Adds a backup retention area for boot request data in the device tree
  • Introduces a Kconfig option to enable keeping boot preference values across reboots

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
west.yml Updates MCUboot revision to pull/574/head for backup support
samples/dfu/ab/sysbuild/nrf54h20dk_nrf54h20_memory_map.dtsi Adds boot_request_backup retention node and chosen reference
modules/mcuboot/Kconfig Adds configuration option for preserving boot preferences across reboots

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Nov 17, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
mcuboot nrfconnect/sdk-mcuboot@66d5c91 nrfconnect/sdk-mcuboot@024e7d5 (main) nrfconnect/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 68470ac to 74564fc Compare November 17, 2025 15:49
@github-actions
Copy link

github-actions bot commented Nov 17, 2025

You can find the documentation preview for this PR here.

Preview links for modified nRF Connect SDK documents:

https://ncsdoc.z6.web.core.windows.net/PR-25627/nrf/samples/dfu/ab/README.html
https://ncsdoc.z6.web.core.windows.net/PR-25627/nrf/samples/dfu/ab_split/README.html

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Nov 17, 2025

CI Information

To view the history of this post, click the 'edited' button above
Build number: 23

Inputs:

Sources:

sdk-nrf: PR head: ee07b9a5bfaff83c970ac015fd2b83fa6bc28c6b
mcuboot: PR head: 024e7d58d50e2f3237c8aa4ab20dfc2cd79a8455

more details

sdk-nrf:

PR head: ee07b9a5bfaff83c970ac015fd2b83fa6bc28c6b
merge base: 0e0ccced18a0f8e034202da9e8eee13ef88a50f0
target head (main): aec0909ee18f88c76076aceb2bc10358cbb61f0d
Diff

mcuboot:

PR head: 024e7d58d50e2f3237c8aa4ab20dfc2cd79a8455
merge base: 66d5c91c080c0817b24c2e9586d26b57f8c9baf6
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (24)
bootloader
│  ├── mcuboot
│  │  ├── boot
│  │  │  ├── bootutil
│  │  │  │  ├── include
│  │  │  │  │  ├── bootutil
│  │  │  │  │  │  │ boot_request.h
│  │  │  │  ├── zephyr
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── src
│  │  │  │  │  │  ├── boot_request.c
│  │  │  │  │  │  ├── boot_request_flash.c
│  │  │  │  │  │  ├── boot_request_mem.h
│  │  │  │  │  │  │ boot_request_retention.c
modules
│  ├── mcuboot
│  │  │ Kconfig
samples
│  ├── dfu
│  │  ├── ab
│  │  │  ├── Kconfig.sysbuild
│  │  │  ├── README.rst
│  │  │  ├── boards
│  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp.conf
│  │  │  ├── prj.conf
│  │  │  ├── src
│  │  │  │  │ ab_utils.c
│  │  │  ├── sysbuild.conf
│  │  │  ├── sysbuild
│  │  │  │  ├── mcuboot
│  │  │  │  │  ├── boards
│  │  │  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp.conf
│  │  │  │  │  │ prj.conf
│  │  │  │  │ nrf54h20dk_nrf54h20_memory_map.dtsi
│  │  ├── ab_split
│  │  │  ├── README.rst
│  │  │  ├── prj.conf
│  │  │  ├── src
│  │  │  │  │ ab_utils.c
│  │  │  ├── sysbuild
│  │  │  │  ├── mcuboot
│  │  │  │  │  │ prj.conf
│  │  │  │  │ nrf54h20dk_nrf54h20_memory_map.dtsi
│  ├── zephyr
│  │  ├── subsys
│  │  │  ├── mgmt
│  │  │  │  ├── mcumgr
│  │  │  │  │  ├── smp_svr
│  │  │  │  │  │  ├── sysbuild
│  │  │  │  │  │  │  ├── mcuboot_requests.conf
│  │  │  │  │  │  │  │ nrf54h20dk_nrf54h20_memory_map_requests.dtsi
west.yml

Outputs:

Toolchain

Version:
Build docker image:

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain
  • ◻️ Build twister
  • ◻️ Integration tests
    • ◻️ test-fw-nrfconnect-chip
    • ◻️ test-sdk-find-my
    • ◻️ test-sdk-mcuboot
    • ◻️ test-sdk-dfu
Disabled integration tests
    • test-fw-nrfconnect-nrf_lrcs_positioning
    • desktop52_verification
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-ps-main
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread-main
    • test-low-level
    • test-sdk-audio
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

Copilot AI review requested due to automatic review settings November 18, 2025 19:31
@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 74564fc to ac9c492 Compare November 18, 2025 19:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from ac9c492 to cce173e Compare November 20, 2025 13:08
@NordicBuilder NordicBuilder added the doc-required PR must not be merged without tech writer approval. label Nov 20, 2025
@tomchy tomchy marked this pull request as ready for review November 20, 2025 13:17
@tomchy tomchy requested review from a team as code owners November 20, 2025 13:17
Copilot AI review requested due to automatic review settings November 20, 2025 13:17
@tomchy tomchy requested review from a team as code owners November 20, 2025 13:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from cce173e to 8bcf729 Compare November 20, 2025 13:32
Copilot AI review requested due to automatic review settings November 20, 2025 15:07
@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 8bcf729 to 2689779 Compare November 20, 2025 15:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 2689779 to c9535f6 Compare November 21, 2025 12:13
@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from c9535f6 to b375dd5 Compare November 24, 2025 09:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 24, 2025 11:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from ddbb7ab to 232f481 Compare November 24, 2025 11:14
@tomchy tomchy requested a review from FrancescoSer November 24, 2025 11:14
Copilot AI review requested due to automatic review settings November 25, 2025 08:39
@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 232f481 to 197dda8 Compare November 25, 2025 08:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 197dda8 to 5d8d8c2 Compare November 25, 2025 13:04
@tomchy tomchy added this to the 3.2.0 milestone Nov 26, 2025
Copilot AI review requested due to automatic review settings November 26, 2025 11:51
@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 5d8d8c2 to 665bc70 Compare November 26, 2025 11:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from 665bc70 to d3ad17a Compare November 26, 2025 13:00
Copilot AI review requested due to automatic review settings November 26, 2025 14:22
@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from d3ad17a to bca2b95 Compare November 26, 2025 14:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Add a Kconfig option to keep the boot preference between device resets.

Ref: NCSDK-35479

Signed-off-by: Tomasz Chyrowicz <[email protected]>
Add additional region to keep the value of boot preference across
reboots.

Ref: NCSDK-35479

Signed-off-by: Tomasz Chyrowicz <[email protected]>
Add additional region to keep the value of boot preference across
reboots.

Ref: NCSDK-35479

Signed-off-by: Tomasz Chyrowicz <[email protected]>
Add additional region to keep the value of boot preference across
reboots.

Ref: NCSDK-35479

Signed-off-by: Tomasz Chyrowicz <[email protected]>
@tomchy tomchy force-pushed the feature/boot_req/NCSDK-35479_Preserve_boot_request_values branch from bca2b95 to ee07b9a Compare November 27, 2025 07:20
@NordicBuilder NordicBuilder removed the DNM label Nov 27, 2025
@tomchy tomchy merged commit bc30cfa into nrfconnect:main Nov 27, 2025
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval. manifest manifest-mcuboot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants