From 7c70e0a47ad0ff4c9cef5cafac49d7e862a6bb4c Mon Sep 17 00:00:00 2001 From: David Brown Date: Mon, 22 Apr 2024 12:37:29 -0600 Subject: [PATCH] Preps for 2.1.0-rc1 release Update release notes and version numbers for 2.1.0-rc1 release. Signed-off-by: David Brown --- README.md | 2 +- docs/release-notes.d/boot-serial-echo.md | 4 -- docs/release-notes.d/bootutil-builtin-keys.md | 2 - docs/release-notes.d/bootutil-check-tlv.md | 2 - docs/release-notes.d/bootutil-sector.md | 7 --- docs/release-notes.d/ptest.md | 8 ---- docs/release-notes.d/zephyr-cache.md | 4 -- .../zephyr-encryption-single.md | 3 -- .../zephyr-estimated-sysbuild.mc | 1 - .../release-notes.d/zephyr-firmware-loader.md | 4 -- docs/release-notes.d/zephyr-mass-erase.md | 1 - .../release-notes.d/zephyr-mbedtls-kconfig.md | 1 - docs/release-notes.d/zephyr-usb.md | 7 --- docs/release-notes.md | 47 +++++++++++++++++++ repository.yml | 1 + scripts/imgtool/__init__.py | 2 +- 16 files changed, 50 insertions(+), 46 deletions(-) delete mode 100644 docs/release-notes.d/boot-serial-echo.md delete mode 100644 docs/release-notes.d/bootutil-builtin-keys.md delete mode 100644 docs/release-notes.d/bootutil-check-tlv.md delete mode 100644 docs/release-notes.d/bootutil-sector.md delete mode 100644 docs/release-notes.d/ptest.md delete mode 100644 docs/release-notes.d/zephyr-cache.md delete mode 100644 docs/release-notes.d/zephyr-encryption-single.md delete mode 100644 docs/release-notes.d/zephyr-estimated-sysbuild.mc delete mode 100644 docs/release-notes.d/zephyr-firmware-loader.md delete mode 100644 docs/release-notes.d/zephyr-mass-erase.md delete mode 100644 docs/release-notes.d/zephyr-mbedtls-kconfig.md delete mode 100644 docs/release-notes.d/zephyr-usb.md diff --git a/README.md b/README.md index 7211e2284..9a7dafd63 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/release-notes.d/boot-serial-echo.md b/docs/release-notes.d/boot-serial-echo.md deleted file mode 100644 index 6116f0567..000000000 --- a/docs/release-notes.d/boot-serial-echo.md +++ /dev/null @@ -1,4 +0,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. diff --git a/docs/release-notes.d/bootutil-builtin-keys.md b/docs/release-notes.d/bootutil-builtin-keys.md deleted file mode 100644 index d86918bde..000000000 --- a/docs/release-notes.d/bootutil-builtin-keys.md +++ /dev/null @@ -1,2 +0,0 @@ -- Added support for using builtin keys for image validation - (available with the PSA Crypto API based crypto backend for ECDSA signatures). diff --git a/docs/release-notes.d/bootutil-check-tlv.md b/docs/release-notes.d/bootutil-check-tlv.md deleted file mode 100644 index 1cfdb9876..000000000 --- a/docs/release-notes.d/bootutil-check-tlv.md +++ /dev/null @@ -1,2 +0,0 @@ -- Enforce that TLV entries that should be protected are. - This can be disabled by defining `ALLOW_ROGUE_TLVS` diff --git a/docs/release-notes.d/bootutil-sector.md b/docs/release-notes.d/bootutil-sector.md deleted file mode 100644 index be1186de0..000000000 --- a/docs/release-notes.d/bootutil-sector.md +++ /dev/null @@ -1,7 +0,0 @@ -- 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. diff --git a/docs/release-notes.d/ptest.md b/docs/release-notes.d/ptest.md deleted file mode 100644 index caca800ec..000000000 --- a/docs/release-notes.d/ptest.md +++ /dev/null @@ -1,8 +0,0 @@ -- 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. diff --git a/docs/release-notes.d/zephyr-cache.md b/docs/release-notes.d/zephyr-cache.md deleted file mode 100644 index 72cc01b1c..000000000 --- a/docs/release-notes.d/zephyr-cache.md +++ /dev/null @@ -1,4 +0,0 @@ -- 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`. diff --git a/docs/release-notes.d/zephyr-encryption-single.md b/docs/release-notes.d/zephyr-encryption-single.md deleted file mode 100644 index 78767db20..000000000 --- a/docs/release-notes.d/zephyr-encryption-single.md +++ /dev/null @@ -1,3 +0,0 @@ -- 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. diff --git a/docs/release-notes.d/zephyr-estimated-sysbuild.mc b/docs/release-notes.d/zephyr-estimated-sysbuild.mc deleted file mode 100644 index 8b42c2612..000000000 --- a/docs/release-notes.d/zephyr-estimated-sysbuild.mc +++ /dev/null @@ -1 +0,0 @@ -- Zephyr: Add estimated image footer size to cache in sysbuild. diff --git a/docs/release-notes.d/zephyr-firmware-loader.md b/docs/release-notes.d/zephyr-firmware-loader.md deleted file mode 100644 index 8f6acf455..000000000 --- a/docs/release-notes.d/zephyr-firmware-loader.md +++ /dev/null @@ -1,4 +0,0 @@ -- 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). diff --git a/docs/release-notes.d/zephyr-mass-erase.md b/docs/release-notes.d/zephyr-mass-erase.md deleted file mode 100644 index 7834ee289..000000000 --- a/docs/release-notes.d/zephyr-mass-erase.md +++ /dev/null @@ -1 +0,0 @@ -- Zephyr: Remove deprecated ZEPHYR_TRY_MASS_ERASE Kconfig option. diff --git a/docs/release-notes.d/zephyr-mbedtls-kconfig.md b/docs/release-notes.d/zephyr-mbedtls-kconfig.md deleted file mode 100644 index d7914cbbb..000000000 --- a/docs/release-notes.d/zephyr-mbedtls-kconfig.md +++ /dev/null @@ -1 +0,0 @@ -- Zephyr: Prevent MBEDTLS Kconfig selection when tinycrypt is used. diff --git a/docs/release-notes.d/zephyr-usb.md b/docs/release-notes.d/zephyr-usb.md deleted file mode 100644 index 139de7cc8..000000000 --- a/docs/release-notes.d/zephyr-usb.md +++ /dev/null @@ -1,7 +0,0 @@ -- 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. diff --git a/docs/release-notes.md b/docs/release-notes.md index 45b32e6e2..662f3ff72 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -3,6 +3,53 @@ - 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. + 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. + ## Version 2.0.0 Note that this release, 2.0.0 is a new major number, and contains a small API diff --git a/repository.yml b/repository.yml index fab3830da..731757f23 100644 --- a/repository.yml +++ b/repository.yml @@ -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 diff --git a/scripts/imgtool/__init__.py b/scripts/imgtool/__init__.py index 249e23c95..0b415ad88 100644 --- a/scripts/imgtool/__init__.py +++ b/scripts/imgtool/__init__.py @@ -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"