-
Notifications
You must be signed in to change notification settings - Fork 1.4k
NCSDK-35479: Preserve boot request values during reboot #25627
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
base: main
Are you sure you want to change the base?
NCSDK-35479: Preserve boot request values during reboot #25627
Conversation
There was a problem hiding this 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.
|
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
68470ac to
74564fc
Compare
|
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 |
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 197dda8aed08e61f0ea4ce58863efbf706a359d0 more detailssdk-nrf:
mcuboot:
Github labels
List of changed files detected by CI (23)Outputs:ToolchainVersion: df3cc9d822 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
74564fc to
ac9c492
Compare
There was a problem hiding this 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.
ac9c492 to
cce173e
Compare
There was a problem hiding this 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.
cce173e to
8bcf729
Compare
8bcf729 to
2689779
Compare
There was a problem hiding this 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.
2689779 to
c9535f6
Compare
c9535f6 to
b375dd5
Compare
There was a problem hiding this 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.
There was a problem hiding this 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.
ddbb7ab to
232f481
Compare
Add a Kconfig option to keep the boot preference between device resets. Ref: NCSDK-35479 Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
Add additional region to keep the value of boot preference across reboots. Ref: NCSDK-35479 Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
Add additional region to keep the value of boot preference across reboots. Ref: NCSDK-35479 Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
Add additional region to keep the value of boot preference across reboots. Ref: NCSDK-35479 Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
232f481 to
197dda8
Compare
There was a problem hiding this 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.
No description provided.