Commit cdf94c26 authored by Håkon Øye Amundsen's avatar Håkon Øye Amundsen Committed by Andrzej Puzdrowski
Browse files

docs: secondary slot magic is unset after update

This description is needed to explain why MCUBoot won't
revert a recently performed update.

Signed-off-by: default avatarHåkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
parent 11d91c34
Loading
Loading
Loading
Loading
+2 −0
Changes for docs/design.md: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -675,12 +675,14 @@ happened when a swap was requested:
        o Write primary_slot.copy_done = 1
        (swap caused the following values to be written:
            primary_slot.magic = BOOT_MAGIC
            secondary_slot.magic = UNSET
            primary_slot.image_ok = Unset)

    * permanent:
        o Write primary_slot.copy_done = 1
        (swap caused the following values to be written:
            primary_slot.magic = BOOT_MAGIC
            secondary_slot.magic = UNSET
            primary_slot.image_ok = 0x01)

    * revert: