Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preps for 2.1.0-rc1 release #1948

Merged
merged 4 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[travis]: https://travis-ci.org/mcu-tools/mcuboot
[license]: https://github.com/mcu-tools/mcuboot/blob/main/LICENSE

This is MCUboot version 2.1.0-dev
This is MCUboot version 2.1.0-rc1

MCUboot is a secure bootloader for 32-bits microcontrollers. It defines a
common infrastructure for the bootloader and the system flash layout on
Expand Down
4 changes: 0 additions & 4 deletions docs/release-notes.d/boot-serial-echo.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/release-notes.d/bootutil-builtin-keys.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/release-notes.d/bootutil-check-tlv.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/release-notes.d/bootutil-sector.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/release-notes.d/ptest.md

This file was deleted.

4 changes: 0 additions & 4 deletions docs/release-notes.d/zephyr-boot-banner.md

This file was deleted.

4 changes: 0 additions & 4 deletions docs/release-notes.d/zephyr-cache.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/release-notes.d/zephyr-encryption-single.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes.d/zephyr-estimated-sysbuild.mc

This file was deleted.

4 changes: 0 additions & 4 deletions docs/release-notes.d/zephyr-firmware-loader.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes.d/zephyr-mass-erase.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes.d/zephyr-mbedtls-kconfig.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/release-notes.d/zephyr-usb.md

This file was deleted.

54 changes: 54 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,60 @@
- Table of Contents
{:toc}

## Version 2.1.0

- Boot serial: Add response to echo command if support is not
enabled, previously the command would have been accepted but no
response indicating that the command is not supported would have
been sent.
- Added support for using builtin keys for image validation
(available with the PSA Crypto API based crypto backend for ECDSA signatures).
- Enforce that TLV entries that should be protected are.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

This can be disabled by defining `ALLOW_ROGUE_TLVS`
- bootutil: Fixed issue with comparing sector sizes for
compatibility, this now also checks against the number of usable
sectors (which is the slot size minus the swap status and moved
up by one sector).
- bootutil: Added debug logging to show write location of swap status
and details on sectors including if slot sizes are not optimal for
a given board.
- Update ptest to support test selection. Ptest can now be invoked with `list`
to show the available tests and `run` to run them. The `-t` argument will
select specific tests to run.
- Allow sim tests to skip slow tests. By setting `MCUBOOT_SKIP_SLOW_TESTS` in
the environment, the sim will skip two tests that are very slow. In one
instance this reduces the test time from 2 hours to about 5 minutes. These
slow tests are useful, in that they test bad powerdown recovery, but are
inconvenient when testing other areas.
- Zephyr: Fixes support for disabling instruction/data caches prior
to chain-loading an application, this will be automatically
enabled if one or both of these caches are present. This feature
can be disabled by setting `CONFIG_BOOT_DISABLE_CACHES` to `n`.
- Zephyr: Fix issue with single application slot mode, serial
recovery and encryption whereby an encrypted image is loaded
and being wrongly treated as encrypted after decryption.
- Zephyr: Add estimated image footer size to cache in sysbuild.
- Added firmware loader configuration type support for Zephyr, this
allows for a single application slot and firmware loader image in
the secondary slot which is used to update the primary image
(loading it in any way it sees fit e.g. via Bluetooth).
- Zephyr: Remove deprecated ZEPHYR_TRY_MASS_ERASE Kconfig option.
- Zephyr: Prevent MBEDTLS Kconfig selection when tinycrypt is used.
- Zephyr: Add USB CDC serial recovery check that now causes a build
failure if console is enabled and device is the same as the USB
CDC device.
- Zephyr: Add USB CDC serial recovery check that now causes a build
failure if the main thread priority is below 0 (cooperative
thread), this would prevent USB CDC from working as the driver
would not have been able to fire callbacks.
- Use general flash operations to determine the flash reset vector. This
improves support a bit for some configurations of external flash.
- fix a memory leak in the HKDF implementation.
- Zephyr: Added a MCUboot banner which displays the version of
MCUboot being used and the version of zephyr. This can be
disabled by setting ``CONFIG_MCUBOOT_BOOT_BANNER=n`` which
will revert back to the default zephyr boot banner.

## Version 2.0.0

Note that this release, 2.0.0 is a new major number, and contains a small API
Expand Down
1 change: 1 addition & 0 deletions repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ repo.versions:
"1.9.0": "v1.9.0"
"1.10.0": "v1.10.0"
"2.0.0": "v2.0.0"
"2.1.0": "v2.1.0-rc1"

"0-dev": "0.0.0" # main
"0-latest": "2.0.0" # latest stable release
Expand Down
2 changes: 1 addition & 1 deletion scripts/imgtool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

imgtool_version = "2.0.0"
imgtool_version = "2.1.0rc1"
Loading