From cdf94c2623a769469b532162b0e13f40ea336d3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20=C3=98ye=20Amundsen?= Date: Wed, 4 Mar 2020 08:52:31 +0000 Subject: [PATCH] docs: secondary slot magic is unset after update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This description is needed to explain why MCUBoot won't revert a recently performed update. Signed-off-by: Håkon Øye Amundsen --- docs/design.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/design.md b/docs/design.md index a0162279..e1045ad6 100644 --- a/docs/design.md +++ b/docs/design.md @@ -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: