Skip to content

Application becomes invalid from mcuboot point of view when the size of the application increases #63070

Closed Answered by joelguittet
joelguittet asked this question in Q&A
Discussion options

You must be logged in to vote

Just got deeper into the issue and understood what was wrong. It was not with mbedtls, this is notice at this time just because the software becomes bigger with mbedtls.

Details are below:

My configuration was the following:

  • 1 sector of 128KB for the bootloader
  • 3 sectors of 128KB for slot0
  • 3 sectors of 128KB for slot1

When using CONFIG_BOOT_SWAP_USING_MOVE, this limit the size of the application to N-1 sectors for each slot, so this limit the size of the application to 256KB on the STM32H745 with this memory layout. There is 128KB waste for the management of the swap using move when an upgrade is done.

The issue I deal with was because adding more code, and particularly mbedtls library,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joelguittet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant