Skip to content

Conversation

keith-packard
Copy link

Save some memory

nordicjm and others added 14 commits April 28, 2025 08:32
Fixes an issue whereby when canonical mode for ZCBOR was enabled,
the state variables were not increased to handle the backup
states, and a bug whereby only secondary slots were checked for
status when setting image state, whilst generally this is the
intended outcome, a user should also be able to mark a primary
image as confirmed too for other modes such as direct-xip

Signed-off-by: Jamie McCrae <[email protected]>
Fixes typo in the BOOT_SWAP_USING_MOVE configuration description.

Signed-off-by: Andrej Butok <[email protected]>
Moves the erase function from loader to bootutil misc to account
for MCUboot modes that do not include the main loader file

Signed-off-by: Jamie McCrae <[email protected]>
In Zephyr `MBEDTLS_KEY_EXCHANGE_RSA_ENABLED` doesn't enable its
dependencies anymore, so enable them along the enablement of this Kconfig
option.

Signed-off-by: Tomi Fontanilles <[email protected]>
Adds an include file that is missing

Signed-off-by: Jamie McCrae <[email protected]>
Fixes an issue with an unused variable argument

Signed-off-by: Jamie McCrae <[email protected]>
Fixes issues with Kconfigs being placed outside of the MCUboot
group and not selecting experimental symbols. Also fixes ordering
to place USB DFU into a menu rather than being all over the place

Signed-off-by: Jamie McCrae <[email protected]>
Refactors the erase functionality in bootutil so that it can be used
alongside feeding the watchdog. This has also optimised some
functions out.

Signed-off-by: Jamie McCrae <[email protected]>
Fixes an issue with the swap using scratch algorithm that would
cause the image loaded into the primary slot to be corrupt and
unbootable if a device was rebooted during an erase of the scratch
section that had not completed

Signed-off-by: Jamie McCrae <[email protected]>
Adds some additional fixes that have been fixed for 2.2.0

Signed-off-by: Jamie McCrae <[email protected]>
Enable LTO to cut down the MCUboot size for nrf54l15

Signed-off-by: Dominik Ermel <[email protected]>
Assert on the pointer validity in debug builds and make sure that
an initialised value of 0 is always returned even in case of errors

Change-Id: Ia0546941296fc9741c1b20955d7c7a0d47c7b2e1
Signed-off-by: Antonio de Angelis <[email protected]>
Remove unneeded and improve used.

Signed-off-by: Dominik Ermel <[email protected]>
BOOT_ENC_KEY_SIZE is enough.
BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE has been replaced with
BOOT_ENC_BLOCK_SIZE.

Signed-off-by: Dominik Ermel <[email protected]>
@nordicjm
Copy link
Collaborator

PRs must be submitted to https://github.com/mcu-tools/mcuboot we do not accept PRs on this fork (it mirrors upstream)

Save some memory

Signed-off-by: Keith Packard <[email protected]>
@keith-packard keith-packard requested a review from d3zd3z as a code owner May 12, 2025 13:24
@keith-packard keith-packard closed this by deleting the head repository May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants