Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RFC: boot: bootutil: Swap offset: Do not fail on header in wrong sector #2198

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

de-nordic
Copy link
Collaborator

Swap offset does not expect header in first sector/page of secondary slot, rather in secondary, and only attempts to swap an image that starts at second sector.
This commit demotes condition when header is found in first page to just a warning and allows boot to proceed, as long as there is a header is second slot.

Swap offset does not expect header in first sector/page of secondary
slot, rather in secondary, and only attempts to swap an image that
starts at second sector.
This commit demotes condition when header is found in first page
to just a warning and allows boot to proceed, as long as there
is a header is second slot.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
@de-nordic de-nordic requested a review from nordicjm February 8, 2025 13:47
@de-nordic de-nordic marked this pull request as draft February 8, 2025 13:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant