- 07 Mar, 2022 1 commit
-
-
Dominik Ermel authored
The buf buffer set to collect total console payload consisting of total size (two bytes), SMP header (eigth bytes), data payload (bs_obuf, BOOT_SERIAL_OUT_MAX) and CRC (two bytes), pior to base64 encoding has been set to size of BOOT_SERIAL_OUT_MAX. This means that if output data len, in bs_obuf, would be longer than BOOT_SERIAL_OUT_MAX - 8 - 2 - 2, then composing of the output buffer would overflow. Signed-off-by:
Dominik Ermel <dominik.ermel@nordicsemi.no>
-
- 02 Mar, 2022 1 commit
-
-
David Brown authored
Bump version information for 1.9.0 release Signed-off-by:
David Brown <david.brown@linaro.org>
-
- 24 Feb, 2022 1 commit
-
-
Andrzej Puzdrowski authored
Decryption buffer was fixed to 1024 which imposes failure while attempting to decrypt bigger image chunks, which is expected on memories of bigger erase-block-size. This patch attempt to get teh proper buffer size basing on SOC's nv flash node. fixes #1310 Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 22 Feb, 2022 1 commit
-
-
Wouter Cappelle authored
Signed-off-by:
Wouter Cappelle <wouter.cappelle@crodeon.com>
-
- 17 Feb, 2022 2 commits
-
-
Sylvio Alves authored
This updates information related to ESP32-S3 SoC. Signed-off-by:
Sylvio Alves <sylvio.alves@espressif.com>
-
Sylvio Alves authored
esptool and imgtool require additional information that is not clear to end user. It also update ESP32 status for Zephyr porting. Signed-off-by:
Sylvio Alves <sylvio.alves@espressif.com>
-
- 10 Feb, 2022 3 commits
-
-
David Brown authored
Bump the version number in the readme, and imgtool for the 1.9.0-rc2 release. Signed-off-by:
David Brown <david.brown@linaro.org>
-
David Brown authored
Add notes on changes since rc1. Signed-off-by:
David Brown <david.brown@linaro.org>
-
Carles Cufi authored
As part of https://github.com/zephyrproject-rtos/zephyr/pull/42457, Zephyr recently changed its CRC APIs. The commit below adapted the use of mcumgr in-tree, but MCUboot was missing the change: https://github.com/zephyrproject-rtos/zephyr/commit/07c78e515c827c8346a758a5ce04cd56a46ae124 Note that although on other platforms the function called is crc_ccitt(), the CRC16 actually used by MCUboot/mcumgr is: https://reveng.sourceforge.io/crc-catalogue/16.htm#crc.cat.crc-16-xmodem Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no>
-
- 09 Feb, 2022 3 commits
-
-
Wouter Cappelle authored
This PR adds the possibility to only enter the bootloader's serial recovery mode when a mcumgr command is received within a given timeout. Signed-off-by:
Wouter Cappelle <wouter.cappelle@crodeon.com>
-
Wouter Cappelle authored
When generating an image with trailer (--pad or --confirm), the imgtool also adds the erased values into that area. This is not wanted for flash drivers which use ECC and treat writing erased values as a real write action, which cannot be overwritten anymore. See issue #1288 Signed-off-by:
Wouter Cappelle <wouter.cappelle@crodeon.com>
-
Wouter Cappelle authored
Signed-off-by:
Wouter Cappelle <wouter.cappelle@crodeon.com>
-
- 07 Feb, 2022 2 commits
-
-
Piotr Mienkowski authored
The value of `--max-align` parameter passed to imgtool can never be less than the value of `--align` parameter. At present the default value of `--max-align` is fixed at 8. This forces user to pass the parameter even when its value can be safely inferred. Change the default value of the `--max-align` parameter to the larger of the two values: `--align` or 8. Consequently, the user is required to pass the parameter only if the flash alignment of the primary and secondary slot differ. Signed-off-by:
Piotr Mienkowski <piotr.mienkowski@gmail.com>
-
David Brown authored
Instead of trying to main two test runners for the Zephyr sample directory, have the old test runner just print out a message that users should use the new test runner. Eventually, we can just remove old runner entirely. Instead of asking the user for each test if it worked or not, the new test runner looks at the serial log and makes this conclusion itself. It is able to run the whole test suite completely automatically. Signed-off-by:
David Brown <david.brown@linaro.org>
-
- 28 Jan, 2022 1 commit
-
-
Wouter Cappelle authored
Fix compilation of zephyr builds when there is no CONFIG_BOOT_ENCRYPTION_KEY_FILE set. bug introduced by #1255 Signed-off-by:
Wouter Cappelle <wouter.cappelle@crodeon.com>
-
- 26 Jan, 2022 2 commits
-
-
Almir Okato authored
ESP32-S3 target and related files added to the Espressif port. Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
Almir Okato authored
This change is to avoid misunderstanding as IDF is not supported on top of MCUboot. The Espressif port acts as a bare metal bootloader that can be used on Espressif chips to boot supported OSes (like Zephyr or NuttX). Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
- 21 Jan, 2022 2 commits
-
-
David Brown authored
Signed-off-by:
David Brown <david.brown@linaro.org>
-
David Brown authored
Signed-off-by:
David Brown <david.brown@linaro.org>
-
- 20 Jan, 2022 2 commits
-
-
Wouter Cappelle authored
Fixes compilation when VALIDATE_PRIMARY_SLOT & SINGLE_APPlICATION_SLOT are enabled. Signed-off-by:
Wouter Cappelle <wouter.cappelle@crodeon.com>
-
Sebastian Bøe authored
Reduce the size of the sha256 implementation by 1300 bytes by using a slower implementation. Signed-off-by:
Sebastian Bøe <sebastian.boe@nordicsemi.no>
-
- 18 Jan, 2022 1 commit
-
-
Francesco Domenico Servidio authored
Fixed spacing after periods. Rephrased slighly unclear sentences. Added other very minor fixes. Signed-off-by:
Francesco Domenico Servidio <francesco.servidio@nordicsemi.no>
-
- 17 Jan, 2022 1 commit
-
-
Francesco Domenico Servidio authored
Rephrased a few sentences. Fixed a few typos. Fixed lists. Added additional small fixes. Signed-off-by:
Francesco Domenico Servidio <francesco.servidio@nordicsemi.no>
-
- 14 Jan, 2022 2 commits
-
-
Michel Jaouen authored
Create an option to generate a clear image with encryption capability that can be installed on a primary slot. Since image has encryption capability image can be swapped encrypted in secondary slot Signed-off-by:
Michel Jaouen <michel.jaouen@st.com>
-
Andrzej Puzdrowski authored
Bump version to development version of future release. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 13 Jan, 2022 1 commit
-
-
Wouter Cappelle authored
Signed-off-by:
Wouter Cappelle <wouter.cappelle@crodeon.com>
-
- 11 Jan, 2022 1 commit
-
-
Andrzej Puzdrowski authored
Added LOG for informing which a swap type is performed. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 10 Jan, 2022 2 commits
-
-
Almir Okato authored
hardware-assisted Flash Encryption and Secure Boot. Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
Andrzej Puzdrowski authored
Use MCUboot logging macros instead of zephyr-rtos native. This fixes build failure on MCUBOOT_LOG_MODULE_DECLARE() when LOG is disabled. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 29 Dec, 2021 1 commit
-
-
Gustavo Henrique Nihei authored
This enables using "espressif_run.sh" locally for a quick validation that the build passes for multiple Espressif targets. Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
- 28 Dec, 2021 1 commit
-
-
Almir Okato authored
Native flash encryption was added as option for Espressif chips and added to the initialization process before MCUboot workflow. Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
- 22 Dec, 2021 2 commits
-
-
Gustavo Henrique Nihei authored
This also removes the need for passing "-Wno-unused-variable" compiler flag, since now TAG is being used as part of the log message. Signed-off-by:
Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
-
Gerson Fernando Budke authored
Use syslog in favor of printf function for print messages. The syslog ensure that all characters are corrected flushed. Syslog is already used when log is enabled and this only switch to same log interface. Signed-off-by:
Gerson Fernando Budke <gerson.budke@ossystems.com.br>
-
- 20 Dec, 2021 3 commits
-
-
Gustavo Henrique Nihei authored
This commit will force running jobs of a given PR to be cancelled once the same branch is updated, avoiding the CI wasting time testing outdated content. 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 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 3 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>
-