blob: 1d0f8428e11f0a105f26a40a464d8bd8fa1d1756 [file] [log] [blame] [view]
David Brown37f8afd2017-09-12 10:59:39 -06001# MCUboot Release Notes
2
3- Table of Contents
4{:toc}
5
David Brown4d0c5fa2019-10-08 09:57:31 -06006## Version 1.4.0
7
8The 1.4.0 release of MCUboot primarily adds support for multi-image
9booting. With this release, MCUboot can manage two images that can be
10updated independently. With this, it also supports additions to the
11TLV that allow these dependencies to be specified.
12
13Multi-image support adds backward-incompatible changes to the format
14of the images: specifically adding support for protected TLV entries.
15If multiple images and dependencies are not used, the images will be
16compatible with previous releases of MCUboot.
17
18### About this release
19
David Brownd7581772019-10-15 12:00:25 -060020- Fixed CVE-2019-5477, and CVE-2019-16892. These fix issue with
21 dependencies used in the generation of the documentation on github.
David Brown4d0c5fa2019-10-08 09:57:31 -060022- Numerous code cleanups and refactorings
23- Documentation updates for multi-image features
24- Update imgtool.py to support the new features
David Brownd7581772019-10-15 12:00:25 -060025- Updated the mbed TLS submodule to current stable version 2.16.3
26- Moved the mbed TLS submodule from within sim/mcuboot-sys to ext.
27 This will make it easier for other board supports to use this code.
28- Added some additional overflow and bound checks to data in the image
29 header, and TLV data.
30- Add a `-x` (or `--hex_addr`) flag to imgtool to set the base address
31 written to a hex-format image. This allows the image to be flashed
32 at an offset, without having to use additional tools to modify the
33 image.
David Brown4d0c5fa2019-10-08 09:57:31 -060034
Szymon Janc7fea8462019-07-04 14:45:52 +020035## Version 1.3.1
36
37The 1.3.1 release of MCUboot consists mostly of small bug fixes and updates.
38There are no breaking changes in functionality. This release should work with
39Mynewt 1.6.0 and up, and any Zephyr `master` after sha
40f51e3c296040f73bca0e8fe1051d5ee63ce18e0d.
41
42### About this release
43
44- Fixed a revert interruption bug
45- Added ed25519 signing support
46- Added RSA-3072 signing support
47- Allow ec256 to run on CC310 interface
48- Some preparation work was done to allow for multi image support, which
49 should land in 1.4.0. This includes a simulator update for testing
50 multi-images, and a new name for slot0/slot1 which are now called
51 "primary slot" and "secondary slot".
52- Other minor bugfixes and improvements
53
David Brownb1d15a72019-01-22 16:22:08 -070054## Version 1.3.0
55
56The 1.3.0 release of MCUboot brings in many fixes and updates. There
57are no breaking changes in functionality. Many of the changes are
58refactorings that will make the code easier to maintain going forward.
59In addition, support has been added for encrypted images. See [the
60docs](encrypted_images.md) for more information.
61
62### About this release
63
64- Modernize the Zephyr build scripts.
65- Add a `ptest` utility to help run the simulator in different
66 configurations.
67- Migrate the simulator to Rust 2018 edition. The sim now requires at
68 least Rust 1.32 to build.
69- Simulator cleanups. The simulator code is now built the same way
70 for every configuration, and queries the MCUboot code for how it was
71 compiled.
72- Abstract logging in MCUboot. This was needed to support the new
73 logging system used in Zephyr.
74- Add multiple flash support. Allows slot1/scratch to be stored in an
75 external flash device.
76- Add support for [encrypted images](encrypted_images.md).
77- Add support for flash devices that read as '0' when erased.
78- Add support to Zephyr for the `nrf52840_pca10059`. This board
79 supports serial recovery over USB with CDC ACM.
80- imgtool is now also available as a python package on pypi.org.
81- Add an option to erase flash pages progressively during recovery to
82 avoid possible timeouts (required especially by serial recovery
83 using USB with CDC ACM).
84- imgtool: big-endian support
85- imgtool: saves in intel-hex format when output filename has `.hex`
86 extension; otherwise saves in binary format.
87
Fabio Utzig3c939012018-06-25 13:26:32 -030088## Version 1.2.0
89
90The 1.2.0 release of MCUboot brings a lot of fixes/updates, where much of the
91changes were on the boot serial functionality and imgtool utility. There are
92no breaking changes in MCUBoot functionality, but some of the CLI parameters
93in imgtool were changed (either removed or added or updated).
94
95### About this release
96
97- imgtool accepts .hex formatted input
98- Logging system is now configurable
99- Most Zephyr configuration has been switched to Kconfig
100- Build system accepts .pem files in build system to autogenerate required
101 key arrays used internally
102- Zephyr build switched to using built-in flash_map and TinyCBOR modules
103- Serial boot has substantially decreased in space usage after refactorings
104- Serial boot build doesn't require newlib-c anymore on Zephyr
105- imgtool updates:
106 + "create" subcommand can be used as an alias for "sign"
107 + To allow imgtool to always perform the check that firmware does not
108 overflow the status area, `--slot-size` was added and `--pad` was updated
109 to act as a flag parameter.
110 + `--overwrite-only` can be passed if not using swap upgrades
111 + `--max-sectors` can be used to adjust the maximum amount of sectors that
112 a swap can handle; this value must also be configured for the bootloader
113 + `--pad-header` substitutes `--included-header` with reverted semantics,
114 so it's not required for firmware built by Zephyr build system
115
116### Known issues
117
118None
119
Fabio Utzig49045cc2018-01-09 15:56:29 -0200120## Version 1.1.0
121
Carles Cufi90eda802018-01-29 18:33:20 +0100122The 1.1.0 release of MCUboot brings a lot of fixes/updates to its
Fabio Utzig49045cc2018-01-09 15:56:29 -0200123inner workings, specially to its testing infrastructure which now
124enables a more thorough quality assurance of many of the available
125options. As expected of the 1.x.x release cycle, no breaking changes
126were made. From the tooling perpective the main addition is
127newt/imgtool support for password protected keys.
128
129### About this release
130
131- serial recovery functionality support under Zephyr
132- simulator: lots of refactors were applied, which result in the
133 simulator now leveraging the Rust testing infrastructure; testing
134 of ecdsa (secp256r1) was added
135- imgtool: removed PKCS1.5 support, added support for password
136 protected keys
137- tinycrypt 0.2.8 and the mbed-tls ASN1 parser are now bundled with
138 mcuboot (eg secp256r1 is now free of external dependencies!)
139- Overwrite-only mode was updated to erase/copy only sectors that
140 actually store firmware
141- A lot of small code and documentation fixes and updates.
142
143### Known issues
144
145None
146
David Brown37f8afd2017-09-12 10:59:39 -0600147## Version 1.0.0
148
Carles Cufi90eda802018-01-29 18:33:20 +0100149The 1.0.0 release of MCUboot introduces a format change. It is
David Brown37f8afd2017-09-12 10:59:39 -0600150important to either use the `imgtool.py` also from this release, or
151pass the `-2` to recent versions of the `newt` tool in order to
152generate image headers with the new format. There should be no
153incompatible format changes throughout the 1.x.y release series.
154
155### About this release
156
157- Header format change. This change was made to move all of the
158 information about signatures out of the header and into the TLV
159 block appended to the image. This allows
160 - The signature to be replaced without changing the image.
161 - Multiple signatures to be applied. This can be used, for example,
162 to sign an image with two algorithms, to support different
163 bootloader configurations based on these image.
164 - The public key is referred to by its SHA1 hash (or a prefix of the
165 hash), instead of an index that has to be maintained with the
166 bootloader.
167 - Allow new types of signatures in the future.
168- Support for PKCS#1 v1.5 signatures has been dropped. All RSA
169 signatures should be made with PSS. The tools have been changed to
170 reflect this.
171- The source for Tinycrypt has been placed in the MCUboot tree. A
172 recent version of Tinycrypt introduced breaking API changes. To
173 allow MCUboot to work across various platforms, we stop using the
174 Tinycrypt bundled with the OS platform, and use our own version. A
175 future release of MCUboot will update the Tinycrypt version.
176- Support for some new targets:
177 - Nordic nRF51 and nRF52832 dev kits
178 - Hexiwear K64
179- Clearer sample applications have been added under `samples`.
Fabio Utzig4dce6aa2018-02-12 15:31:32 -0200180- Test plans for [zephyr](testplan-zephyr.md), and
181 [mynewt](testplan-mynewt.md).
David Brown37f8afd2017-09-12 10:59:39 -0600182- The simulator is now able to test RSA signatures.
183- There is an unimplemented `load_addr` header for future support for
184 RAM loading in the bootloader.
185- Numerous documentation.
186
187### Known issues
188
189None
190
191## Version 0.9.0
192
Carles Cufi90eda802018-01-29 18:33:20 +0100193This is the first release of MCUboot, a secure bootloader for 32-bit MCUs.
David Brown37f8afd2017-09-12 10:59:39 -0600194It is designed to be operating system-agnostic and works over any transport -
195wired or wireless. It is also hardware independent, and relies on hardware
196porting layers from the operating system it works with. For the first release,
197we have support for three open source operating systems: Apache Mynewt, Zephyr
198and RIOT.
199
200### About this release
201
202- This release supports building with and running Apache Mynewt and Zephyr
203 targets.
204- RIOT is supported as a running target.
205- Image integrity is provided with SHA256.
206- Image originator authenticity is provided supporting the following
207 signature algorithms:
208 - RSA 2048 and RSA PKCS#1 v1.5 or v2.1
209 - Elliptic curve DSA with secp224r1 and secp256r1
210- Two firmware upgrade algorithms are provided:
211 - An overwrite only which upgrades slot 0 with the image in slot 1.
212 - A swapping upgrade which enables image test, allowing for rollback to a
213 previous known good image.
214- Supports both mbed-TLS and tinycrypt as backend crypto libraries. One of them
215 must be defined and the chosen signing algorithm will require a particular
216 library according to this list:
217 - RSA 2048 needs mbed TLS
218 - ECDSA secp224r1 needs mbed TLS
219 - ECDSA secp256r1 needs tinycrypt as well as the ASN.1 code from mbed TLS
220 (so still needs that present).
221
222### Known issues
223
224- The image header and TLV formats are planned to change with release 1.0:
225 https://runtimeco.atlassian.net/browse/MCUB-66