File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -571,6 +571,12 @@ image trailer. An image trailer has the following structure:
571571 | 0xff padding as needed |
572572 | (BOOT_MAX_ALIGN minus 4 octets from Swap size) |
573573 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
574+ | Unprotected TLV size [*2] | Unprotected TLV size [*2] |
575+ | Secondary slot (2 octets) | Primary slot (2 octets) |
576+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
577+ | 0xff padding as needed [*2] |
578+ | (BOOT_MAX_ALIGN minus 4 octets from unprotected TLV sizes) |
579+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
574580 | Swap info | 0xff padding (BOOT_MAX_ALIGN minus 1 octet) |
575581 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
576582 | Copy done | 0xff padding (BOOT_MAX_ALIGN minus 1 octet) |
@@ -586,6 +592,7 @@ image trailer. An image trailer has the following structure:
586592```
587593
588594[*]: Only present if the encryption option is enabled (`MCUBOOT_ENC_IMAGES`).
595+ [*2]: Only present if swap using offset mode is used (`MCUBOOT_SWAP_USING_OFFSET`).
589596
590597The offset immediately following such a record represents the start of the next
591598flash area.
You can’t perform that action at this time.
0 commit comments