Commit f96de6c
committed
[nrf noup] zephyr: Header skip support for secondary MCUboot update
Commit adds NCS_KEEP_MCUBOOT_HEADER_IN_SECONDARY_MCUBOOT Kconfig,
default y, that controls whether MCUboot will keep MCUboot image
header while moving update to s0/s1 slot. This allows to reduce
siez of image in transfer, as smalles possible header can be used
without alignment to VTOR, and allows more space for s0/s1 binary
image.
The option is by default set to y, so users do not have to change
anything in existing configurations.
Note that setting this option to n will create MCUboot image that
can not be used to update secondary MCUboot instances built prior
to the option existence and these with the option set to y.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>1 parent 1618783 commit f96de6c
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1564 | 1564 | | |
1565 | 1565 | | |
1566 | 1566 | | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
1567 | 1579 | | |
1568 | 1580 | | |
1569 | 1581 | | |
| |||
0 commit comments