Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Dec 9, 2025

Backport 6a9f0de from #3617.

The FW loader reports and manages exactly two slots:
 - slot 0: this is the slot for the application code to update
 - slot 1: this is the slot, in which the FW loader is placed

The slot 1 is reported, so tools can fetch metadata about the
FW loader installed on the device.
Unfortunately, currently SMP-based FW loader allows to issue slot erase
command for the slot 1, effectively erasing the FW loader code that is
being executed.

This change correctly identifies the slot 1 as an active one, marking it
as used and blocking erase operation on that slot.

Upstream PR #: 100689

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
(cherry picked from commit 6a9f0de)
@tomchy tomchy added the DNM label Dec 9, 2025
@tomchy
Copy link
Contributor

tomchy commented Dec 9, 2025

Wait for the NCS 3.2.0 release tag. Destined for NCS v3.2.1.

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.

2 participants