Skip to content

[v3.7-branch] Update MCUboot with fixes from 2.2.0 release #91360

@nordicjm

Description

@nordicjm

Describe the bug

MCUboot version 2.2.0 is about ready for release, there are bug and security fixes that should be backported to zephyr 3.7 without adding new features

Issues fixed that should be transferred:

    bootutil: Fix crash when bootutil_sha_init() is called in loop
    boot: bootutil: Only update the security counter for confirmed images
    boot: bootutil: Fix max image size computation for swap-move/swap-offset
    boot/zephyr/main: fix placement of pointer to arm vector
    boot: bootutil: swap_scratch: Fix issue with bricking device
    boot: bootutil: Refactor erase functionality to fix watchdog feeding
    boot: Use boot erase function instead of flash erase function
    boot: zephyr: flash_map: Fix missing include
    boot: boot_serial: Fix issue with CBOR and setting image state
    zephyr: Fix trailer size computation for swap-scratch
    zephyr: Fix TLV area was included in trailer size when rounding up
    boot: bootutil: swap_move: Fix maximum application size

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Not sure

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

area: MCUBootbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions