- 20 Dec, 2021 1 commit
-
-
Gustavo Henrique Nihei authored
The build system previously restricted the usage of some signing algorithms due to build issues. Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
- 17 Dec, 2021 1 commit
-
-
David Brown authored
This feature check was done statically instead of dynamically in the build.rs file. Change this to match the rest. Perhaps we might want to change all of them to be done at compile time, but that should be done with all of the features. Signed-off-by:
David Brown <david.brown@linaro.org>
-
- 16 Dec, 2021 11 commits
-
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gustavo Henrique Nihei authored
The magic value applies to images built with maximum write alignment values other than 8 bytes, whose trailer region is generated in a different layout. Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Kristine Jassmann authored
Count is initialized before it is passed to flash_area_get_sectors. The flash driver should use count to ensure an overrun does not occur. Signed-off-by:
Kristine Jassmann <kristine.jassmann@renesas.com> Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Kristine Jassmann authored
[kristine.jassmann@renesas.com: Allow larger minimum flash write] [michael.thomas@renesas.com: Add changes for 1.8] [michael.thomas@renesas.com: Add magic alignment fix] [gustavo.nihei@espressif.com: bootutil: Address issues from PR 949] Co-authored-by:
Kristine Jassmann <kristine.jassmann@renesas.com> Co-authored-by:
Michael Thomas <michael.thomas@renesas.com> Co-authored-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com> Signed-off-by:
Kristine Jassmann <kristine.jassmann@renesas.com> Signed-off-by:
Michael Thomas <michael.thomas@renesas.com> Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Dominik Ermel authored
It is sys/reboot.h now. Signed-off-by:
Dominik Ermel <dominik.ermel@nordicsemi.no>
-
Fabio Utzig authored
Update `boot_status_off` to take into consideration that scratch only has to store status for one swap of sectors, thus requiring much less flash space than what is required in the primary slot. This commits does a bit of refactoring on the functions that return parts of trailer size to make the code clearer. Signed-off-by:
Fabio Utzig <utzig@apache.org>
-
Fabio Utzig authored
Fix warning running the simulator due to variables that are not being used anymore. Signed-off-by:
Fabio Utzig <utzig@apache.org>
-
David Brown authored
Change the configs for the Zephyr tests to use move swap, as this is the code intended for future use. Signed-off-by:
David Brown <david.brown@linaro.org>
-
- 15 Dec, 2021 2 commits
-
-
Andrzej Puzdrowski authored
Build-time conditional call is not needed anymore since the empty sys_clock_disable() callback is provided if the platform doesn't support system clock disable capability. Reference: https://github.com/zephyrproject-rtos/zephyr/commit/78dc8ce33828b1d995d520751fe761ade6103155 Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
CONFIG_SYSTEM_CLOCK_DISABLE property was removed from zephyr codebase. It is not needed anymore since the empty sys_clock_disable() callback is provided if the platform doesn't support system clock disable capability. Reference: https://github.com/zephyrproject-rtos/zephyr/commit/78dc8ce33828b1d995d520751fe761ade6103155 Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 14 Dec, 2021 2 commits
-
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Fabio Utzig authored
Change the flash layout of the stm32f4 simulated device to include sectors of different sizes inside both slots; both slots have been updated to still share the same layout. This layout changes allow for testing and validation that a swap with scratch is possible even if not all sectors inside a slot are the same size, as long as they all fit in scratch. Signed-off-by:
Fabio Utzig <utzig@apache.org>
-
- 09 Dec, 2021 5 commits
-
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gustavo Henrique Nihei authored
Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Petro Karashchenko authored
Signed-off-by:
Petro Karashchenko <petro.karashchenko@gmail.com>
-
- 08 Dec, 2021 2 commits
-
-
Martí Bolívar authored
This file has been removed from upstream Zephyr in commit 2b7c61e306a ("cmake: re-work devicetree preprocessing steps"). Get the board name from .config instead; this is a stable place for it to be found. Load the EDT itself from the pickle file in the build directory; this has the advantage of fixing the script when out of tree devicetree bindings are used. Signed-off-by:
Martí Bolívar <marti.bolivar@nordicsemi.no>
-
Francesco Domenico Servidio authored
Updated index.md and readme.md: - Removed outdated info - Added info about newly added ports - Fixed a few style issues. - Rephrased a few sections. Signed-off-by:
Francesco Domenico Servidio <francesco.servidio@nordicsemi.no>
-
- 07 Dec, 2021 2 commits
-
-
Maureen Helm authored
The mimxrt685_evk board has large slots so we need to increase CONFIG_BOOT_MAX_IMG_SECTORS from the default. Signed-off-by:
Maureen Helm <maureen.helm@nxp.com>
-
Radoslaw Koppel authored
The nRF53 mcu has moved RESETREAS register (from POWER to RESET peripheral). This fix uses nrfx helper to select the proper register. Signed-off-by:
Radoslaw Koppel <radoslaw.koppel@nordicsemi.no>
-
- 02 Dec, 2021 2 commits
-
-
Andrzej Puzdrowski authored
This was ommited before when this config was droped from otheres configurations. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
Removed old external flash configs for Thingy53. Signed-off-by:
Ole Sæther <ole.saether@nordicsemi.no> Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 01 Dec, 2021 4 commits
-
-
Andrzej Puzdrowski authored
Kconfig macro was converted with typo to not a MCUboot's internal macro switch. It was MCBOOT_ERASE_PROGRESSIVELY instead of MCUBOOT_ERASE_PROGRESSIVELY. Bug was introduced in https://github.com/mcu-tools/mcuboot/commit/42c985ceadecb61f77db016ebb64b21099c45f4a Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
Calculation of BOOT_SERIAL_OUT_MAX was based on MCUBOOT_IMAGE_NUMBER while in other places BOOT_IMAGE_NUMBER is taken into account as number of images. Let's align the calculation to use same literal value as others. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
Definition is used (and redefined) by boot_serial.c module as well. Let's allow to use one definition for all. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
`image-trailer-size` should be mentioned instead of `image-trailer-sectors-size` in the maximal-image-size evaluation description. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 30 Nov, 2021 6 commits
-
-
Jerzy Kasenberg authored
Custom boot_preboot() function can be used to start DFU in similar way as is already done in zephyr. Signed-off-by:
Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
-
Gustavo Henrique Nihei authored
This patch prepares the simulator to execute images with a max align value other than 8 bytes. Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Mikkel Jakobsen authored
The mimxrt1024_evk board have a large slot so we need to increase CONFIG_BOOT_MAX_IMG_SECTORS from the default. Signed-off-by:
Mikkel Jakobsen <mikkel.aunsbjerg@prevas.dk>
-
Andrzej Puzdrowski authored
Added sub-header for point where swap-using-scratch algorithm is described. Added note on the maximum image size allowed for this mode. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
Image trailer might consume notable amount of image slot size. This path adds note for emphasize that fact. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
Added description for explain how the algorithm works. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 25 Nov, 2021 1 commit
-
-
Petro Karashchenko authored
improved code consistency Signed-off-by:
Petro Karashchenko <petro.karashchenko@gmail.com>
-
- 22 Nov, 2021 1 commit
-
-
Andrzej Puzdrowski authored
CONSOLE_HANDLER is not needed for MCUboot configuration for doing anything. Also not need to disable others CONSOLE's properties if CONSOLE=n. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-