Commit Graph

12 Commits

Author SHA1 Message Date
Michal Lenc
a9fdc0baea mcuboot: add option to specify MCUboot source git repository
Configuration option MCUBOOT_REPOSITORY adds possibility to configure
MCUboot GIT repository to be downloaded (for specified hash commit or
version). This allows to use different forks and personal repositories.

MCUboot main repository is kept as default option.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2024-04-24 12:21:40 +08:00
Michal Lenc
95fcece2a5 mcuboot: update mcuboot to support swap using move
Older versions of mcuboot did not support swap using move and therefore
the build would have failed CONFIG_MCUBOOT_SWAP_USING_MOVE=y.

Newer mcuboot contains initial support of swap using move for NuttX. Also
Makefile was updated to as some bootutil files were removed from mcuboot.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-08-03 05:31:27 -07:00
Xiang Xiao
7b22525f0b boot/mcuboot: Bump up version to 36bac4f6a54a3b76266444d8c6c177b8b0483a05
Fix Error: mcuboot/boot/bootutil/src/bootutil_public.c:159:1: error: unused function 'boot_swap_size_off' [-Werror,-Wunused-function]
boot_swap_size_off(const struct flash_area *fap)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-15 21:06:27 +01:00
Gerson Fernando Budke
afefa1c308 boot/mcuboot: Move MCUboot samples to examples dir
The current examples belongs to 'examples/mcuboot' directory. This
moves related example code and Kconfig entries to their respective
project inside examples/mcuboot directory. It cleans all Kconfig
entries at 'boot/mcuboot', including Kconfig, Makefile and
README.md files.

This not perform any code modification.

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:44 +02:00
Gerson Fernando Budke
36cb168077 boot/mcuboot: Prepare to move MCUboot samples to examples dir
This adjusts code and Kconfig variables as preparation to move MCUboot
examples to examples/mcuboot folder.

This changes perfor below sed operations:

's/MCUBOOT_UPDATE_AGENT_EXAMPLE/EXAMPLES_MCUBOOT_UPDATE_AGENT/g'
's/MCUBOOT_SLOT_CONFIRM_EXAMPLE/EXAMPLES_MCUBOOT_SLOT_CONFIRM/g'

It replaces 'apps/boot/mcuboot' prefix by 'apps/examples/mcuboot' and
adjust it with respective application name on below source files:

boot/mcuboot/mcuboot_agent_main.c
boot/mcuboot/mcuboot_confirm_main.c

This commit does not other changes in the code.

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:44 +02:00
Petro Karashchenko
afbd132b31 boot/mcuboot/Kconfig: extend configuration options
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-09 21:00:28 -06:00
Petro Karashchenko
16accc17bf mcuboot/Kconfig: update hash commit to include fix for compilation
warnings

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-25 15:59:19 -03:00
Petro Karashchenko
421452690b mcuboot/Kconfig: update hash commit to include fix for referenciation
error in memset call

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-11-24 17:51:26 -03:00
Gustavo Henrique Nihei
19b9c2371c boot/mcuboot: Add support for using Mbed TLS as crypto backend
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-04 23:22:29 -05:00
Gustavo Henrique Nihei
602092dc81 boot/mcuboot: Bump MCUboot version
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 13:23:38 -03:00
Gustavo Henrique Nihei
ea5eb0c1d0 boot/mcuboot: Default to Tinycrypt as crypto backend
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 06:44:15 -03:00
Gustavo Henrique Nihei
794cfd0c5c boot/mcuboot: Add support for MCUboot bootloader
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 06:44:15 -03:00