Skip to content
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

Support for Direct-XIP without revert mode #117

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

philips77
Copy link
Member

This PR adds support for new MCUboot mode: Direct XIP without revert.
The option with revert was already supported in 1.7.2.

The difference between with and without revert is, that without revert there's no Test or Confirm command.
Also, like in case of Direct XIP with revert the image comes in 2 binaries, compiled for primary and secondary slot, but this time no Test or Confirm. Just Upload and Reset.

More about different modes: https://docs.mcuboot.com/design.html#image-slots

A new Mode was added: NONE to indicate that no Test and no Confirm is sent.
If the target supports Bootloader Information command, the mode will be selected automatically even if a different one is selected.

Unfortunately, the nRF Connect Device Manager always asks for the mode after clicking START. This is because the device may not be connected at that point, so the app doesn't know the bootloader mode.

Direct XIP with and without Revert are supported from NCS 2.5 onwards.

@philips77 philips77 changed the title Support for Direc-XIP without revert mode Support for Direct-XIP without revert mode Oct 20, 2023
@philips77 philips77 merged commit 59d304a into main Oct 20, 2023
1 check passed
@philips77 philips77 deleted the feature/direct-xip-no-revert branch October 20, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant