Skip to content

Conversation

@tomchy
Copy link
Contributor

@tomchy tomchy commented Oct 28, 2025

If slots have equal version, but a secondary slot is the active one, the next boot will switch to the primary slot.
Expose this through SMP commands by marking the primary slot as pending.

@tomchy tomchy force-pushed the bugfix/mcuboot/NCSDK-NONE_Confirm_requests_upstream branch from 80c0d03 to 5ad4f3f Compare October 28, 2025 17:28
Copy link
Contributor

@nordicjm nordicjm left a comment

Choose a reason for hiding this comment

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

whilst this might fix an issue with direct-xip, this breaks firmware loader

@tomchy tomchy force-pushed the bugfix/mcuboot/NCSDK-NONE_Confirm_requests_upstream branch from 5ad4f3f to 238db8b Compare October 29, 2025 15:20
@tomchy
Copy link
Contributor Author

tomchy commented Oct 29, 2025

whilst this might fix an issue with direct-xip, this breaks firmware loader

Added comment and #ifdef to exclude this logic from FW loader builds.

@tomchy tomchy requested a review from nordicjm October 29, 2025 15:20
@tomchy tomchy force-pushed the bugfix/mcuboot/NCSDK-NONE_Confirm_requests_upstream branch from 238db8b to 751d3d5 Compare October 29, 2025 15:38
If slots have equal version, but a secondary slot is the active one, the
next boot will switch to the primary slot.
Expose this through SMP commands by marking the primary slot as pending.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
@tomchy tomchy force-pushed the bugfix/mcuboot/NCSDK-NONE_Confirm_requests_upstream branch from 751d3d5 to 44f9ba0 Compare October 31, 2025 10:50
@sonarqubecloud
Copy link

@nordicjm nordicjm added this to the v4.3.0 milestone Oct 31, 2025
@jhedberg jhedberg merged commit 1b50f08 into zephyrproject-rtos:main Oct 31, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants