Skip to content

Commit 20f98e0

Browse files
committed
Updates for 2.2.0-rc1 release
Consolidate the release notes, and update various release files. Signed-off-by: David Brown <[email protected]>
1 parent 7a33bca commit 20f98e0

21 files changed

+69
-63
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[travis]: https://travis-ci.org/mcu-tools/mcuboot
1919
[license]: https://github.com/mcu-tools/mcuboot/blob/main/LICENSE
2020

21-
This is MCUboot version 2.1.0
21+
This is MCUboot version 2.2.0-rc1
2222

2323
MCUboot is a secure bootloader for 32-bits microcontrollers. It defines a
2424
common infrastructure for the bootloader and the system flash layout on

docs/release-notes.d/bootutil-enc-hw-keys.md

-2
This file was deleted.

docs/release-notes.d/bootutil-image-verification.md

-4
This file was deleted.

docs/release-notes.d/compatible-slots.md

-7
This file was deleted.

docs/release-notes.d/encrypted-scratch-partition.md

-3
This file was deleted.

docs/release-notes.d/espressif-idf-version-checking.md

-3
This file was deleted.

docs/release-notes.d/fix-nordic.md

-2
This file was deleted.

docs/release-notes.d/fix-ram-load-zephyr-address.md

-2
This file was deleted.

docs/release-notes.d/fix-stuck-revert.md

-3
This file was deleted.

docs/release-notes.d/fix-zephyr-sysbuild-name.md

-2
This file was deleted.

docs/release-notes.d/imgtool_sanity_test.md

-2
This file was deleted.

docs/release-notes.d/max-app-size-changes.md

-4
This file was deleted.

docs/release-notes.d/serial-recovery-list.md

-3
This file was deleted.

docs/release-notes.d/serial-recovery-slot-info.md

-1
This file was deleted.

docs/release-notes.d/serial-recovery-var.md

-3
This file was deleted.

docs/release-notes.d/swap-using-offset.md

-6
This file was deleted.

docs/release-notes.d/zephyr-auto-max-sectors.md

-5
This file was deleted.

docs/release-notes.d/zephyr-compression.md

-7
This file was deleted.

docs/release-notes.md

+64
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,70 @@
33
- Table of Contents
44
{:toc}
55

6+
## Version 2.2.0
7+
8+
- Added support for retrieving HW embedded private keys for image encryption
9+
(The private key can be retrieved from trusted sources like OTP, TPM.).
10+
- Changed bootutil's order of events to verify the image header
11+
before checking the image.
12+
- Added the bootloader state object to the bootutil
13+
boot_is_header_valid() function
14+
- Added optional write block size checking to ensure expected
15+
sizes match what is available on the hardware.
16+
- Added optional erase size checking to ensure expected sizes
17+
match what is available on the hardware.
18+
- Added debug logs for zephyr to output discrepencies in erase
19+
and write block sizes in dts vs actual hardware configuration
20+
at run-time.
21+
- When using swap with scratch, the image is now decrypted when copying from
22+
the scratch partition to the primary slot. Therefore, the scratch partition
23+
doesn't contain plaintext firmware data anymore.
24+
- Added verification for supported IDF-based HAL version.
25+
- Fixed missing macro for XMC flash devices on ESP32-S3
26+
- Extended image loader header to include RTC/LP RAM, DROM and IROM segments.
27+
- Fixed errors when building for `thingy52`, `thingy53` and
28+
`nrf9160dk` boards.
29+
- Fixed chain load address output log message for RAM load
30+
mode in Zephyr
31+
- Fixed issue for swap using move whereby a device could get
32+
stuck in a revert loop despite there being no image in the
33+
secondary slot
34+
- Fixed clash when using sysbuild with other
35+
applications (i.e. tests) using the name mcuboot
36+
- imgtool: added initial sanity tests for imgtool commands,
37+
- imgtool: added and enabled unittests in GitGub workflow,
38+
- Fixed wrong maximum application size calculation when
39+
operating in swap using move mode
40+
- Added additional images max size support to shared data
41+
function
42+
- Fixed issue with serial recovery image list wrongly using
43+
number of images as the number of slots and not returning
44+
complete information for 1 updateable image
45+
- Added slot info command support to serial recovery mode
46+
- Fixed issue with serial recovery variables not being
47+
correctly initialised to default values which could cause
48+
some commands to do unexpected operations
49+
- Added a new swap using offset algorithm which is set with
50+
`MCUBOOT_SWAP_USING_OFFSET`. This algorithm is similar to swap
51+
using move but avoids moving the sectors in the primary slot
52+
up by having the update image written in the second sector in
53+
the update slot, which offers a faster update process and
54+
requires a smaller swap status area
55+
- Added support for automatically calculating the maximum number
56+
of sectors that are needed for a build by checking the erase
57+
sizes of the partitions using CMake for Zephyr. This behaviour
58+
can be reverted to the old manual behaviour by disabling
59+
`CONFIG_BOOT_MAX_IMG_SECTORS_AUTO`
60+
- Added protected TLV size to image size check in bootutil
61+
- Added Kconfig for decompression support in Zephyr
62+
- Added compressed image flags and TLV to bootutil
63+
- Added support for removing images with conflicting flags in
64+
bootutil
65+
- Added support for removing encrypted/compressed images when
66+
MCUboot is compiled without support for them
67+
- Added support for devices that do not require erase prior to write operation.
68+
- Add corrections to the max app size calculations.
69+
670
## Version 2.1.0
771

872
- Boot serial: Add response to echo command if support is not

repository.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ repo.versions:
3838
"1.10.0": "v1.10.0"
3939
"2.0.0": "v2.0.0"
4040
"2.1.0": "v2.1.0"
41+
"2.2.0": "v2.2.0"
4142

4243
"0-dev": "0.0.0" # main
4344
"0-latest": "2.1.0" # latest stable release
4445
"1-latest": "1.11.0"
45-
"2-latest": "2.1.0"
46+
"2-latest": "2.2.0"
4647

4748
"1.0-latest": "1.11.0"
48-
"2.0-latest": "2.1.0"
49+
"2.0-latest": "2.2.0"

scripts/imgtool/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
imgtool_version = "2.1.0"
17+
imgtool_version = "2.2.0rc1"

0 commit comments

Comments
 (0)