- 10 May, 2022 4 commits
-
-
Jean Alinei authored
First working example with STM32G474RE USB DFU See merge request !2
-
Jean Alinei authored
# Conflicts: # README.md
-
Jean Alinei authored
-
Jean Alinei authored
-
- 18 Apr, 2022 4 commits
-
-
Andrzej Puzdrowski authored
Extend sign/create command so it allows to export image's byte string which is the substrate for the image signature. The new option is '--vector-to-sign'. It might takes 'payload' or 'digest'. The exported data might be used to calculate the signature externally. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
Extend sign/create command so it now allow to export the image signature to the file pointed by --sig-out option. The image signature will be encoded as base64 formatted string. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
The sign command was extended so it now allow to provide the signature as base64 formatted RAW file using --fix-sig along with the relevant public key --fix-sig-pubkey. This patch is added for support the case where the party which produces the image dose not have access to the signing image key but must request third party for the signature. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Jim Tan authored
Signed-off-by:
Jim Tan <KuoChun.Tan@ite.com.tw>
-
- 12 Apr, 2022 2 commits
-
-
David Brown authored
Update dependencies that don't require any code changes. This leaves 'aes' and 'cipher' which will require code changes to support newer versions. Signed-off-by:
David Brown <david.brown@linaro.org>
-
David Brown authored
Change the edition in the various Cargo.toml to 2021. There are no changes to the code needed for this. This will require Rust 1.56 in order to build. Signed-off-by:
David Brown <david.brown@linaro.org>
-
- 06 Apr, 2022 1 commit
-
-
Øyvind Rønningstad authored
cddl-gen has been renamed to zcbor. Update regenerate_serial_recovery_cbor.sh and regenerate/recopy all files. Remove the submodule in ext/ since it is no longer necessary when the zcbor package is installed (only needed for regeneration, not for building). Signed-off-by:
Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
-
- 05 Apr, 2022 2 commits
-
-
Andrzej Puzdrowski authored
Moved Serial recovery options to own Kconfig file. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
Andrzej Puzdrowski authored
This option was reserved for serial recovery mode, while it should be available for USB DFU as well. Signed-off-by:
Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
-
- 04 Apr, 2022 1 commit
-
-
Marek Pieta authored
Change disables CONFIG_USB_DEVICE_REMOTE_WAKEUP, because it is not supported by the MCUboot bootloader source code. Signed-off-by:
Marek Pieta <Marek.Pieta@nordicsemi.no>
-
- 28 Mar, 2022 1 commit
-
-
Gerard Marull-Paretas authored
DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL is going to be deprecated, so remove its usages from the Zephyr port. Definition checks have been replaced with DT_HAS_CHOSEN(zephyr_flash_controller), and the macro itself has been replaced by DT_LABEL(DT_CHOSEN(zephyr_flash_controller)). Note that the code could likely be refactored to make use of compile time device references, ie use DEVICE_DT_GET, but that task has been left for the maintainers. Signed-off-by:
Gerard Marull-Paretas <gerard@teslabs.com>
-
- 16 Mar, 2022 2 commits
-
-
Almir Okato authored
Changes on configuration and flash area organization for supporting multi image and implementation for booting on different processors on esp32 Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
Almir Okato authored
Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
- 14 Mar, 2022 4 commits
-
-
Maciej Perkowski authored
During the workflow a Zephyr repository is checked out (by default main, but any version can be given when workflow is triggered manually) and west update is run according to Zephyr's manifest. However, the MCUboot version is then replaced by checking out MCUboot main (triggered by push or cron), PR's head (triggered by a PR to MCUboot) or custom SHA (manual trigger). Next, twister is called for tests/builds in locations given in the workflow (test_paths). Signed-off-by:
Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
-
Marek Pieta authored
CONFIG_LOG_IMMEDIATE was renamed to CONFIG_LOG_MODE_IMMEDIATE. Change aligns MCUboot code to support new naming convention. Signed-off-by:
Marek Pieta <Marek.Pieta@nordicsemi.no>
-
Almir Okato authored
Add instructions on the readme-espressif.md on how to encrypt data on the host. Also add configuration and instructions for disabling/switch UART ROM Download Mode. Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
Almir Okato authored
Signed-off-by:
Almir Okato <almir.okato@espressif.com>
-
- 08 Mar, 2022 6 commits
-
-
David Brown authored
Bump the readme's version number to the next dev release. Signed-off-by:
David Brown <david.brown@linaro.org>
-
David Brown authored
Missed this update for the release. This should point Mynewt to the latest release. Signed-off-by:
David Brown <david.brown@linaro.org>
-
Artur Tynecki authored
These changes fixes a bug that can cause an uninitialized BlockDevice to be queried for its size. In some cases, this can return unexpected results (eg: 0). Move setting block device size after its initialization. Co-created: @AGlass0fMilk - George Beckstein Signed-off-by:
Artur Tynecki <artur.tynecki@mobica.com> Signed-off-by:
George Beckstein <george.beckstein@gmail.com>
-
Artur Tynecki authored
Add header area size at the start of FLASH parameter in mbed_lib.json This parameter is not used in MCUboot source code directly but for example is the argument for imgtool.py sign command which sign the binary image. It will be useful to have it in Mbed port settings to use during project building. For example post build command in cmake which signs image. Signed-off-by:
Artur Tynecki <artur.tynecki@mobica.com>
-
Artur Tynecki authored
This commit add option for a user to enable MCUboot logging from project configuration level. Now, logging from MCUboot's sources will be printed in the same way as mbed-os logs. Co-created by @AGlass0fMilk - George Beckstein Signed-off-by:
Artur Tynecki <artur.tynecki@mobica.com> Signed-off-by:
George Beckstein <george.beckstein@gmail.com>
-
Artur Tynecki authored
The mbed port should be compatible with a new command-line tool mbed-tools (Mbed CLI 2) which use cmake build system. This allows build cmake-base applications. Fix mbed files paths - it's required for the new version of mbed-os (v6.15) Signed-off-by:
Artur Tynecki <artur.tynecki@mobica.com>
-
- 07 Mar, 2022 3 commits
-
-
Dominik Ermel authored
In case when echo string would be too long to fit into buffer, there would be no space left for container termination. Due to lack of error checking such non-terminated container would be sent out, where error response should be sent out instead. Signed-off-by:
Dominik Ermel <dominik.ermel@nordicsemi.no>
-
Dominik Ermel authored
Should be 1, was 2. Signed-off-by:
Dominik Ermel <dominik.ermel@nordicsemi.no>
-
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 2 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>
-