-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: boot_set_confirmed_multi() ignores set/confirm command if "unset" #234
base: main
Are you sure you want to change the base?
Commits on Apr 30, 2020
-
zephyr: Replace DT_FLASH_DEV_NAME with DT_CHOSEN_ZEPHYR_FLASH_CONTROL…
…LER_LABEL As upstream zephyr is phasing out DT_FLASH defines for non-partition usage replace DT_FLASH_DEV_NAME with DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL. Signed-off-by: Kumar Gala <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 014f42d - Browse repository at this point
Copy the full SHA 014f42dView commit details -
zephyr: convert DT_JEDEC_SPI_NOR_0_LABEL to new dt macros
As the DT define DT_JEDEC_SPI_NOR_0_LABEL is intended to be deprecated move to the new macro style to determine for DT_JEDEC_SPI_NOR_0_LABEL Signed-off-by: Kumar Gala <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8cd5dc5 - Browse repository at this point
Copy the full SHA 8cd5dc5View commit details
Commits on May 7, 2020
-
Revert "zephyr: convert DT_JEDEC_SPI_NOR_0_LABEL to new dt macros"
This reverts commit 8cd5dc5. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39d1aef - Browse repository at this point
Copy the full SHA 39d1aefView commit details -
Revert "Revert "zephyr: convert DT_JEDEC_SPI_NOR_0_LABEL to new dt ma…
…cros"" This reverts commit 39d1aef. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48b8ef0 - Browse repository at this point
Copy the full SHA 48b8ef0View commit details -
mergeup: merge up to upstream 82c5f7c
Synchronize up to mcu-tools/mcuboot@82c5f7 which is same as v1.6.0-rc2 tag. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5657d00 - Browse repository at this point
Copy the full SHA 5657d00View commit details
Commits on May 12, 2020
-
zephyr: Change DT_FLASH_AREA_ macros to FLASH_AREA_
As we replace the legacy DT_FLASH_ support use the new FLASH_AREA_ macros. Signed-off-by: Kumar Gala <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7254d1 - Browse repository at this point
Copy the full SHA b7254d1View commit details -
zephyr: Change DT_FLASH_AREA_ macros to FLASH_AREA for multimage
Use the new FLASH_AREA_ macros. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 322b11a - Browse repository at this point
Copy the full SHA 322b11aView commit details -
sim: Fixup devicetree.h for changes to mcuboot
Fixup how we fake out devicetree.h, which is now really the flash map API for what mcuboot is using. Signed-off-by: Kumar Gala <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f181dd - Browse repository at this point
Copy the full SHA 1f181ddView commit details -
scripts/assemble: Rework to use EDT library to get devicetree data
Signed-off-by: Kumar Gala <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e88113b - Browse repository at this point
Copy the full SHA e88113bView commit details
Commits on May 20, 2020
-
kconfig: Update to CONFIG_FLOAT to CONFIG_FPU rename in zephyr
Update CONFIG_FLOAT to CONFIG_FPU which has been renamed in zephyr. Signed-off-by: Joakim Andersson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f625267 - Browse repository at this point
Copy the full SHA f625267View commit details
Commits on Jun 1, 2020
-
cmake: use find_package to locate Zephyr
Using find_package to locate Zephyr. Old behavior was to use $ENV{ZEPHYR_BASE} for inclusion of boiler plate code. Whenever an automatic run of CMake happend by the build system / IDE then it was required that ZEPHYR_BASE was defined. Using ZEPHYR_BASE only to locate the Zephyr package allows CMake to cache the base variable and thus allowing subsequent invocation even if ZEPHYR_BASE is not set in the environment. It also removes the risk of strange build results if a user switchs between different Zephyr based project folders and forgetting to reset ZEPHYR_BASE before running ninja / make. Signed-off-by: Torsten Rasmussen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bb0f95 - Browse repository at this point
Copy the full SHA 4bb0f95View commit details
Commits on Jun 5, 2020
-
Convert from Zephyr to C99 types
Convert to use C99 types as we intend to deprecate the zephyr specific integer types. Signed-off-by: Kumar Gala <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba7748d - Browse repository at this point
Copy the full SHA ba7748dView commit details
Commits on Jun 8, 2020
-
Revert "zephyr: Change DT_FLASH_AREA_ macros to FLASH_AREA_"
This reverts commit b7254d1. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60cc568 - Browse repository at this point
Copy the full SHA 60cc568View commit details -
mergeup: merge up to upstream 9b48d08
Synchronize up to: mcu-tools/mcuboot@9b48d08 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 032eb72 - Browse repository at this point
Copy the full SHA 032eb72View commit details
Commits on Jun 19, 2020
-
mergeup: merge up to upstream 33fbef5
Synchronize up to: mcu-tools/mcuboot@33fbef5 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d52aff5 - Browse repository at this point
Copy the full SHA d52aff5View commit details
Commits on Jul 31, 2020
-
zephyr: serial: Align with new callback signature
Align the code to the new UART callback signature, see: zephyrproject-rtos/zephyr#26426 Signed-off-by: Carles Cufi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9920005 - Browse repository at this point
Copy the full SHA 9920005View commit details
Commits on Aug 3, 2020
-
mergeup: merge up to upstream 1cb076c
Synchronize up to: mcu-tools/mcuboot@1cb076c Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 813d29c - Browse repository at this point
Copy the full SHA 813d29cView commit details
Commits on Aug 14, 2020
-
mergeup: merge up to upstream 5a6e181
Synchronize up to: mcu-tools/mcuboot@5a6e181 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f2c585 - Browse repository at this point
Copy the full SHA 0f2c585View commit details
Commits on Aug 27, 2020
-
sample: inclusive language: whitelist -> allow
Change whitelist->allow to be compatible with sanitycheck in zephyr. Signed-off-by: Anas Nashif <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ab5ab3 - Browse repository at this point
Copy the full SHA 3ab5ab3View commit details
Commits on Sep 2, 2020
-
imgtool: fix package's author email
Fix author email after move to new mailing list. Signed-off-by: Fabio Utzig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f78d1d0 - Browse repository at this point
Copy the full SHA f78d1d0View commit details -
zephyr: struct device const-ification
Follows up the change added to Zephyr with: zephyrproject-rtos/zephyr#24873 Signed-off-by: Fabio Utzig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4804219 - Browse repository at this point
Copy the full SHA 4804219View commit details
Commits on Sep 14, 2020
-
boot: zephyr: Fix build issue for multiple conf files
Change fixes build issue that occurs if CONF_FILE contains multiple file paths instead of single file path. Signed-off-by: Marek Pieta <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5d79cf - Browse repository at this point
Copy the full SHA a5d79cfView commit details
Commits on Oct 2, 2020
-
zephyr: Fix serial recovery compilation warnings
Missing const on pointers to device structures caused compilation warnings when compiling bootloader with serial recovery enabled. Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8bfc03 - Browse repository at this point
Copy the full SHA e8bfc03View commit details
Commits on Oct 7, 2020
-
Synchronized up to: https://github.com/JuulLabs-OSS/mcuboot/commit/@296949e Improvements: - hardening against hardware level fault injection and timing attacks - Abstract crypto primitives to simplify porting. - boot: Add ram-load upgrade mode - renamed single-image mode to single-slot mode - kconfig: provide logic for setting key file, simplify prj.conf - imgtool: Print image digest during verify - imgtool: Add possibility to set confirm flag for hex files as well - imgtool: --confirm implies --pad - Added single-slot Zephyr-RTOS test build fixes: - bootutil: fix boostrapping in swap-move - bootutil: fix swap-move brick with padded image_0 - Disable HW stack protection (temporary hack) - reset SPLIM registers before boot - fixes build issue that occurs if CONF_FILE contains multiple file paths instead of single file path. - imgtool: Fix 'custom_tlvs' argument handling - Turn off cache for Cortex M7 before chain-loading.- hardening against hardware level fault injection and timing attacks Conflicts: - took upsteram boot/zephyr/sample.yaml Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e312fa2 - Browse repository at this point
Copy the full SHA e312fa2View commit details
Commits on Oct 21, 2020
-
Synchronized up to: mcu-tools/mcuboot@c625da4 - Removed the `flash_area_read_is_empty()` port implementation function - Added watchdog feed on nRF dvices. See CONFIG BOOT_WATCHDOG_FEED option. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e64c5f0 - Browse repository at this point
Copy the full SHA e64c5f0View commit details
Commits on Oct 29, 2020
-
Synchronized up to: mcu-tools/mcuboot@c74c551 - corected bugfix #830 of upgrade issue in swap-move - changed default for CONFIG_MCUBOOT_CLEANUP_ARM_CODE to n, added MPU register clean-up to this option - bootutil: ecdsa: Fixed CC310 for nRF devices - zephyr: made flash_area_erased_val() weak - serial recovery: allow unaligned last image data chunk Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 710ce7f - Browse repository at this point
Copy the full SHA 710ce7fView commit details -
Merge: Synchronized up to JuulLabs-OSS@c74c551
merged by GitHub GUI nrfconnect#38 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c71d218 - Browse repository at this point
Copy the full SHA c71d218View commit details
Commits on Nov 18, 2020
-
Synchronized up to: mcu-tools/mcuboot@d2122bc - Added 'revert' support to direct-xip mode. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b54f9ac - Browse repository at this point
Copy the full SHA b54f9acView commit details
Commits on Nov 23, 2020
-
Merge: Synchronized up to mcu-tools@d2122bc
merged by GitHub GUI nrfconnect#39 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e3825f - Browse repository at this point
Copy the full SHA 6e3825fView commit details
Commits on Jan 13, 2021
-
Merge: Synchronized up to mcu-tools/mcuboot@e512181
Merge in upstream MCUboot revision e512181 - allow xip-revert only for xip-mode - boot: Fix LOAD_IMAGE_DATA macro - bootutil: crypto: avoid unuseful memset - ext: tinycrypt: update ctr mode to stream - zephyr: use minimal CBPRINTF implementation - zephyr/Kconfig: Added default pin for serial recovery mode for nRF5340DK - boot: zephyr: Default to LOG_MINIMAL - imgtool: Add support for setting fixed ROM address into image header - boot: zephyr: cleanup NXP MPU configuration before boot - fix nokogiri<=1.11.0.rc4 vulnerability The remaining commits are related to MCUboot CI and tests.
Configuration menu - View commit details
-
Copy full SHA for cb5a7b3 - Browse repository at this point
Copy the full SHA cb5a7b3View commit details
Commits on Jan 14, 2021
-
Merge: Synchronized up to mcu-tools/mcuboot@e512181
merged by GitHub GUI nrfconnect#41 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c986a90 - Browse repository at this point
Copy the full SHA c986a90View commit details -
Synchronized up to: mcu-tools/mcuboot@be64e6a - extracted bootutil_public library Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 915a281 - Browse repository at this point
Copy the full SHA 915a281View commit details -
Merge: synchronized up to mcu-tools/mcuboot@be64e6a
Synch up to: mcu-tools/mcuboot@be64e6a merged by GitHub GUI nrfconnect#42 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f48e0a - Browse repository at this point
Copy the full SHA 6f48e0aView commit details
Commits on Jan 15, 2021
-
Synchronized up to: mcu-tools/mcuboot@ce50334 - ci: relax signed-off-by checks on forks Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52ff566 - Browse repository at this point
Copy the full SHA 52ff566View commit details
Commits on Jan 20, 2021
-
Merge: synchronized up to mcu-tools/mcuboot@ce50334
Synch up to: mcu-tools/mcuboot@ce50334 merged by GitHub GUI nrfconnect#43 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f49b5a - Browse repository at this point
Copy the full SHA 3f49b5aView commit details
Commits on Jan 27, 2021
-
Synchronized up to: mcu-tools/mcuboot@a513b8e - fix build issue caused by that CONFIG_LOG_MINIMAL was replaced by CONFIG_LOG_MODE_MINIMAL - imgtool: fix validation with protected TLVs Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 770fe67 - Browse repository at this point
Copy the full SHA 770fe67View commit details -
Merge: synchronized up to mcu-tools@a513b8e
Synch up to: mcu-tools/mcuboot@a513b8e merged by GitHub GUI nrfconnect#44 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30e0c5a - Browse repository at this point
Copy the full SHA 30e0c5aView commit details
Commits on Feb 5, 2021
-
Synchronized up to: mcu-tools/mcuboot@360763d - fixed corupted build when the image encryption feature is enabled. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c0608f - Browse repository at this point
Copy the full SHA 2c0608fView commit details -
Merge: Synchronized up to zephyrproject-rtos/mcuboot@360763
Synch up to: zephyrproject-rtos/mcuboot@360763d merged by GitHub GUI nrfconnect#45 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3fc5941 - Browse repository at this point
Copy the full SHA 3fc5941View commit details
Commits on Mar 2, 2021
-
Synchronized up to: mcu-tools/mcuboot@5b7ed6a - Added LED support for signaling enter to the serial recovery mode - Added boot delay/debonuce of serial detect pin. - Fixed compilation warnings with ZEPHYR_LOG_MODE_MINIMAL - Added optional check which prevents attempting to boot image that has been build for different ROM address than a slot it currently resides in. Check is enabled if image was signed with IMAGE_F_ROM_FIXED flag. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a7449f - Browse repository at this point
Copy the full SHA 6a7449fView commit details
Commits on Mar 4, 2021
-
Merge: Synchronized up to 5b7ed6a
Synch up to: mcu-tools/mcuboot@5b7ed6a merged by GitHub GUI nrfconnect#46 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 846b104 - Browse repository at this point
Copy the full SHA 846b104View commit details
Commits on Mar 22, 2021
-
Synchronized up to: mcu-tools/mcuboot@de51807 - add an option to use GPIO to enable USB DFU. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df55337 - Browse repository at this point
Copy the full SHA df55337View commit details -
Merge synchronized up to de51807
Synch up to: mcu-tools/mcuboot@de51807 merged by GitHub GUI nrfconnect#47 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f00446 - Browse repository at this point
Copy the full SHA 5f00446View commit details
Commits on Apr 30, 2021
-
Merge: synchronized up to e20e092
Synch up to: mcu-tools/mcuboot@e20e092 merged by GitHub GUI nrfconnect#48 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6eca8bb - Browse repository at this point
Copy the full SHA 6eca8bbView commit details
Commits on May 7, 2021
-
Merge: synchronized up to mcu-tools/mcuboot@22b856b
Synch up to: mcu-tools/mcuboot@22b856b - bootutil_public: allow to confirm padded image without copy-done flag - boot: zephyr: Configure mimxrt106x_evk boards Merged by GH GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ad36f8 - Browse repository at this point
Copy the full SHA 3ad36f8View commit details
Commits on May 18, 2021
-
Merge: synchronized up to mcu-tools/mcuboot@9b97456
Synch up to: mcu-tools/mcuboot@9b97456eb2 - boot_serial: allow to build when CONFIG_MULTITHREADING=n - allow to not provide scratch area definition if scratch algorithm is not used. Merged by GH GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fce976 - Browse repository at this point
Copy the full SHA 2fce976View commit details
Commits on Jun 9, 2021
-
Merge: synhronize up to mcu-tools/mcuboot@680ed07e42f
Synch up to: mcu-tools/mcuboot@680ed07 * Added AES256 support for image encryption * zephyr: serial: Remove unnecessary call to irq_unlock * boot_serial: Port encoding to use cddl-gen * bootutil_public: Make boot_read_swap_state declaration public * zephyr: allow to build nRF52840 targets in zephyr-rtos CI Merged by GH GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a51968 - Browse repository at this point
Copy the full SHA 7a51968View commit details
Commits on Jul 28, 2021
-
boot: zephyr: add integration platforms to the allow list
The platforms that are listed as integration platforms in the Zephyr boot sample need to be included in the platform allow list, otherwise zephyr CI will throw an error. This commit removes the common list of integration platforms and adds integration platform entries in each test variant, in accordance with the allow-list in each of the variants. Signed-off-by: Ioannis Glaropoulos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62b78ff - Browse repository at this point
Copy the full SHA 62b78ffView commit details
Commits on Aug 17, 2021
-
zephyr: remove Kconfig option CONFIG_USB
USB device support configuration is revised, CONFIG_USB option is deprecated. Only USB_DEVICE_STACK option should be used to enable USB device support. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35576c6 - Browse repository at this point
Copy the full SHA 35576c6View commit details
Commits on Aug 20, 2021
-
zephyr: get CDC ACM UART device from devicetree
Adapt to Zephyr OS changes to get CDC ACM UART device. Remove RECOVERY_UART_DEV_NAME Kconfig option and use DEVICE_DT_GET() in serial_adapter.c Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c5eb02 - Browse repository at this point
Copy the full SHA 3c5eb02View commit details
Commits on Aug 23, 2021
-
zephyr: CDC ACM UART node to specific overlays
Move CDC ACM UART node from common DTC overlay to specific overlays, nrf52840_big.overlays and usb_cdc_acm.overlays. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca01db4 - Browse repository at this point
Copy the full SHA ca01db4View commit details
Commits on Sep 8, 2021
-
synch witch upstream commit 85da97f
synch up to upstream: mcu-tools/mcuboot@85da97f - introduce MCUBOOT_CPU_IDLE() for support low power single thread - Allow not working secondary image device and boot form primary device if image available Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a671d92 - Browse repository at this point
Copy the full SHA a671d92View commit details -
boot: bootutil: Fix memory alignment of RAM buffer
Change fixes memory alignment of the RAM buffer that is used to temporarily store data during swap. Some FLASH drivers require word-aligned input data buffer. Using unaligned buffer results in FLASH write error. Signed-off-by: Marek Pieta <[email protected]> (cherry picked from commit e51ec07) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1d5aea - Browse repository at this point
Copy the full SHA a1d5aeaView commit details -
boot: Fix IS_ENCRYPTED macro definition
The previous definition did not work as setting any type of flag would make IS_ENCRYPTED true. Signed-off-by: Salome Thirot <[email protected]> (cherry picked from commit 2386267) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26bbc18 - Browse repository at this point
Copy the full SHA 26bbc18View commit details -
zephyr: update devicetree py package lib files include path in assembly
This PR updates the path to the devicetree python package lib files according to the Zephyr PR zephyrproject-rtos#33746 which moved the devicetree lib files. Old path: ZEPHYR_BASE/scripts/dts/ New path: ZEPHYR_BASE/scripts/dts/python-devicetree/src/devicetree/ Signed-off-by: Carl-Johan Landin <[email protected]> (cherry picked from commit f44fd61) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23c9c43 - Browse repository at this point
Copy the full SHA 23c9c43View commit details -
cbor_encoder: fix str encoding macros
Fix structure member assignment in tstrx_put() tstrx_put_term() macro. Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit fc1ad8d)
Configuration menu - View commit details
-
Copy full SHA for 2282da3 - Browse repository at this point
Copy the full SHA 2282da3View commit details -
zephyr: Kconfig: fix board references
Upstream Zephyr has renamed the 'nonsecure' variants for boards that support TF-M. The rename consistently uses '_ns' or '_NS' (with underscore) as the postfix which distinguishes these variants from their 'secure' versions. This affects Kconfig symbols used by MCUboot, so fix them to keep working with the latest zephyr main branch. Signed-off-by: Martí Bolívar <[email protected]> (cherry picked from commit 994816d) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8812dc8 - Browse repository at this point
Copy the full SHA 8812dc8View commit details -
zephyr: do not set defaults for LOG_IMMEDIATE Kconfig
LOG_IMMEDIATE Kconfig option has been repurposed and is now a Zephyr's internal, non-visible symbol that should not be used by the end user. The logging mode used by MCUBoot is defined in prj.conf Signed-off-by: Piotr Mienkowski <[email protected]> (cherry picked from commit 01c8442) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ab84e5 - Browse repository at this point
Copy the full SHA 9ab84e5View commit details -
boot_serial: Update cddl-gen version
To bring in bugfixes. Regenerate code. Signed-off-by: Øyvind Rønningstad <[email protected]> (cherry picked from commit 1e63e8f) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f624600 - Browse repository at this point
Copy the full SHA f624600View commit details -
boot_serial: Reintroduce change from fc1ad8d
Also, keep casts to make build pass. Signed-off-by: Øyvind Rønningstad <[email protected]> (cherry picked from commit 6693067) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff55491 - Browse repository at this point
Copy the full SHA ff55491View commit details -
boot: zephyr: Do not use
irq_lock()
if using arm cleanup`irq_lock()` sets `BASEPRI_MAX` aka. the `BASEPRI` mask to whatever zephyr has configured it to be by the value of `_EXC_IRQ_DEFAULT_PRIO`. However by calling arm_cleanup() we also do the call to `__disable_irq()` setting the PRIMASK to 1. Meaning the only exceptions we can recive is fault exceptions. Masking out more exceptions does not really make sense. Sometimes applications booted by MCUBoot will not expect the `BASEPRI` to be set to something else than 0(No effect). Meaning if they depend on using some exception which now is masked out by `BASEPRI` they will fail. Signed-off-by: Sigvart Hovland <[email protected]> (cherry picked from commit e933e58) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e03343 - Browse repository at this point
Copy the full SHA 1e03343View commit details -
boot_serial: cbor_encode: Fix encoding data length
Change fixes encoding data length and adds support for big endian byte ordering. According to specification, data length can be encoded either on 1, 2, 4 or 8 bytes. Signed-off-by: Marek Pieta <[email protected]> (cherry picked from commit 4960d12) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b668c1 - Browse repository at this point
Copy the full SHA 8b668c1View commit details -
boot: zephyr: Fix misaligned #else for
irq_lock
So in PR #1089 I misaligned the `#else` used for the `irq_lock` as it should be aligned with `CONFIG_MCUBOOT_CLEANUP_ARM_CORE`. So that `irq_lock`is called when we don't call `__disable_irq` from arm core clean up code. Signed-off-by: Sigvart Hovland <[email protected]> (cherry picked from commit 9647c46) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d465ab5 - Browse repository at this point
Copy the full SHA d465ab5View commit details -
zephyr/Kconfig: fix deadlock on cryptolib selectors
If user generate project and the will try to switch signature type then it is very likely that MBETLS will be enabled simultaneously when tinycrypt has to be force-selected, which causes kconfig warning on impossible configuration. Such configuration won't be possible to be fixed using menuconfig etc. This patch moves dependency check on !MBEDTLS from kconfig to preprocessor which makes manual fixing using menuconfig possible. Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit 5cf9410) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b549f67 - Browse repository at this point
Copy the full SHA b549f67View commit details
Commits on Sep 14, 2021
-
merge: synchronize up to 85da97f + cherry-pick upstream bugfixes for …
…LTS 2.7.0 Synchronized up using merge as far as possible to not lost compatibility with TFM: up to mcu-tools/mcuboot@85da97f - introduce MCUBOOT_CPU_IDLE() for support low power single thread (fixes single thread power consumption) - Allow not working secondary image device and boot form primary device if image available Other fixes were cherry-picked: - fixes memory alignment of the RAM buffer that is used to temporarily store data during swap. - update devicetree py package lib files include path in assembly - serial recovery: cbor_encoder: fix str encoding macros - zephyr: Kconfig: fix board references - do not set defaults for LOG_IMMEDIATE Kconfig - boot: Do not use `irq_lock()` if using arm cleanup - Kconfig: fix deadlock on cryptolib selectors merged by Github web GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70bfbd2 - Browse repository at this point
Copy the full SHA 70bfbd2View commit details
Commits on Sep 28, 2021
-
Update version fields for 1.8.0-rc2 release. Signed-off-by: David Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9233aef - Browse repository at this point
Copy the full SHA 9233aefView commit details
Commits on Oct 4, 2021
-
Merge tag 'v1.8.0-rc2' into zephyr-to-1.8
This brings MCUboot up to the upstream v1.8.0-rc2 release. Signed-off-by: David Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f51559 - Browse repository at this point
Copy the full SHA 1f51559View commit details
Commits on Oct 6, 2021
-
Merge pull request nrfconnect#60 from d3zd3z/zephyr-to-1.8
Zephyr to mcuboot 1.8
Configuration menu - View commit details
-
Copy full SHA for c615387 - Browse repository at this point
Copy the full SHA c615387View commit details
Commits on Nov 2, 2021
-
Synchronized up to upstream: mcu-tools/mcuboot@1a9c6d8 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c19f9c - Browse repository at this point
Copy the full SHA 2c19f9cView commit details
Commits on Nov 4, 2021
-
merge: synchronized with mcutool/mcuboot 1a9c6d8
- based on mcuboot 1.8.0 - documentation tweaks - bootutil: Fixed boot_read_image_header() error path when flash_area is unavilable - bootutil: Fixed boot_find_status() leaving flash area open - bootutil: Fixed possible uninitialized flash_area access in boot_write_status() - Fixed support for single application with serial recovery merge using GH web GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 225b024 - Browse repository at this point
Copy the full SHA 225b024View commit details
Commits on Dec 10, 2021
-
Merge: synchronize up to mcu-tools/mcuboot/commit/caa1f6b
Merged by GH web UI, PR nrfconnect#66 synchronization up to mcu-tools/mcuboot@05143ce - Fixed serial recovery skipping on nrf5340 - Fixed issue which caused that progressive's erase feature was off although was selected by Kconfig (introduced by #42c985cead) - Added check of reset address in incoming image validation phase, see `CONFIG_MCUBOOT_VERIFY_IMG_ADDRESS` - Allow image header bigger than 1 KB for encrypted images - Fixed build with image encryption using RSA (issue introduced by migration to mbedTLS 3.0.0) - stm32: watchdog support - many documentation improvements Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33906b4 - Browse repository at this point
Copy the full SHA 33906b4View commit details
Commits on Dec 21, 2021
-
Merge: synchronized up to 1eedec3
Synch up to upstream: mcu-tools/mcuboot@1eedec3 - fixed the build issue caused by removal of CONFIG_SYSTEM_CLOCK_DISABLE property (within zephyrproject-rtos/zephyr#37435) - always call sys_clock_disable() in main since the empty sys_clock_disable() callback is provided if the platform doesn't support system clock disable capability. - bootutil: Close flash_area after failure to read swap status information - fixed status offset calculation in case of scratch area - fixed include path for reboot.h header. Merged using GitHub web gui Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 399720d - Browse repository at this point
Copy the full SHA 399720dView commit details
Commits on Feb 10, 2022
-
zephyr/boot_serial_extension: us BOOT_LOG instead of LOG_
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 <[email protected]> (cherry picked from commit d16598f)
Configuration menu - View commit details
-
Copy full SHA for 3f06d75 - Browse repository at this point
Copy the full SHA 3f06d75View commit details -
boot: serial: Adapt to Zephyr's new CRC APIs
As part of zephyrproject-rtos/zephyr#42457, Zephyr recently changed its CRC APIs. The commit below adapted the use of mcumgr in-tree, but MCUboot was missing the change: zephyrproject-rtos/zephyr@07c78e5 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 <[email protected]> (cherry picked from commit b9192a4) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c32a04 - Browse repository at this point
Copy the full SHA 1c32a04View commit details -
Merge pull request nrfconnect#72 from nvlsianpu/fix/align_crc_api
bugfixes for zephyr-rtos 3.0.0-rc2
Configuration menu - View commit details
-
Copy full SHA for 89936c3 - Browse repository at this point
Copy the full SHA 89936c3View commit details
Commits on Mar 14, 2022
-
Merge pull request nrfconnect#73 from nvlsianpu/synch_07III2022
Synchronization 7th March 2022
Configuration menu - View commit details
-
Copy full SHA for 7b9e4ee - Browse repository at this point
Copy the full SHA 7b9e4eeView commit details
Commits on Mar 29, 2022
-
merge using GH web GUI Synch up to upstream mcu-tools/mcuboot@aa041a2 - Added workflow verifying integration with the Zephyr - removed deprecated DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL - Fixed usage of CONFIG_LOG_IMMEDIATE Signed-off-by: Marek Pieta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e86f575 - Browse repository at this point
Copy the full SHA e86f575View commit details
Commits on May 24, 2022
-
boot: zephyr: Disable CONFIG_USB_DEVICE_REMOTE_WAKEUP
Change disables CONFIG_USB_DEVICE_REMOTE_WAKEUP, because it is not supported by the MCUboot bootloader source code. Signed-off-by: Marek Pieta <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2df4d57 - Browse repository at this point
Copy the full SHA 2df4d57View commit details -
zephyr/Kconfig: fix CONFIG_MCUBOOT_INDICATION_LED usage
This option was reserved for serial recovery mode, while it should be available for USB DFU as well. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30889ae - Browse repository at this point
Copy the full SHA 30889aeView commit details -
bootutil: zephyr: Fix not including tinycrypt path when needed
This fixes a build issue when building mcuboot for zephyr with image encryption support enabled using tinycrypt. Signed-off-by: Jamie McCrae <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccd490c - Browse repository at this point
Copy the full SHA ccd490cView commit details -
boot: zephyr: add Kconfig for arm cortex-m that implements a cache
The Cache is an optional configuration of both the ARM Cortex-M7 and Cortex-M55. Previously, it was just checking that it was just an M7 rather than knowing that the CPU actually was built with the cache. Signed-off-by: Ryan McClelland <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75958ec - Browse repository at this point
Copy the full SHA 75958ecView commit details -
bootutil: zephyr: Fix not linking with mbedtls when needed
This fixes a build issue when building mcuboot for zephyr with RSA image encryption support enabled using mbedtls. Signed-off-by: Jamie McCrae <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13296b0 - Browse repository at this point
Copy the full SHA 13296b0View commit details
Commits on May 25, 2022
-
Merge pull request nrfconnect#78 from nvlsianpu/fixes/for_zephyr_3.1.…
…0-rc2 cherry-pick fixes for zephyr 3.1.0-rc2
Configuration menu - View commit details
-
Copy full SHA for e58ea98 - Browse repository at this point
Copy the full SHA e58ea98View commit details
Commits on May 30, 2022
-
espressif:esp32: Move app entry point call back to iram_loader_seg re…
…gion Entry point call was moved back from main to esp_loader, so it is called from iram_loader_seg memory region Signed-off-by: Almir Okato <[email protected]> (cherry picked from commit c4b3058) Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df6249a - Browse repository at this point
Copy the full SHA df6249aView commit details
Commits on May 31, 2022
-
Merge pull request nrfconnect#79 from nvlsianpu/fixes/cherry-pick-pr1362
cherry-pick fix for zephyr 3.1.0-rc3
Configuration menu - View commit details
-
Copy full SHA for e7415b5 - Browse repository at this point
Copy the full SHA e7415b5View commit details
Commits on Jun 22, 2022
-
Revert "zephyr/Kconfig: fix CONFIG_MCUBOOT_INDICATION_LED usage"
This reverts commit 30889ae. This prepares clean synchronization by merging mcu-tools/mcuboot Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67cb024 - Browse repository at this point
Copy the full SHA 67cb024View commit details
Commits on Jun 28, 2022
-
Synch up to upstream commit 1270880
Synchronized with: mcu-tools/mcuboot@1270880 - boot_serial: refactoring and optimalization (mainly afects progresive erase implementation) - migrate includes to <zephyr/...> - switched DFU detection GPIO-pin configuration to be done through DTS. That pin is assigned thanks to `mcuboot-button0` pin-alias. - boot_serial: Fix echo command code no longer compiling - Added MCUboot status callback support, see `CONFIG_MCUBOOT_ACTION_HOOKS` Kconfig option. - reworked LED usage, prefer DTS mcuboot-led0 alias over bootloader-led0 alias - Added initial support for leverage RAM-LOAD mode with the zephyr-rtos port - boot_serial: Upgrade from cddl-gen 0.1.0 to zcbor 0.4.0 - imgtool: Added support for providing the signature by 3rd party Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25a3381 - Browse repository at this point
Copy the full SHA 25a3381View commit details -
Synch up to upstream mcu-tools 7d2f0bf
Merged zephyrproject-rtos/mcuboot#80 using GH web GUI. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b79128 - Browse repository at this point
Copy the full SHA 3b79128View commit details
Commits on Jul 27, 2022
-
Synch up to upstream mcu-tools 3175182
Synchronized up to the: mcu-tools/mcuboot@3175182 Merged nrfconnect#83 using GH web GUI. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c216d34 - Browse repository at this point
Copy the full SHA c216d34View commit details
Commits on Aug 1, 2022
-
Synch up to upstream mcu-tools 8eadf8c
Synchronized up to the: mcu-tools/mcuboot@8eadf8c Merged nrfconnect#84 using GH web GUI. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d44041 - Browse repository at this point
Copy the full SHA 1d44041View commit details
Commits on Aug 11, 2022
-
Synch up to upstream mcu-tools b03c098
Synchronized up to: mcu-tools/mcuboot@b03c098 Merged by GH web GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c73736 - Browse repository at this point
Copy the full SHA 9c73736View commit details
Commits on Aug 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6e1a577 - Browse repository at this point
Copy the full SHA 6e1a577View commit details
Commits on Aug 16, 2022
-
Sync with upstream: mcu-tools/mcuboot@02a3edd Merged using GH web GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21e56a1 - Browse repository at this point
Copy the full SHA 21e56a1View commit details
Commits on Sep 9, 2022
-
Synch up to the mcu-tools/mcuboot rev 4030aac
Synch up to the mcu-tools/mcuboot@4030aac - Switched zephyr port from using FLASH_AREA_ macros to FIXED_PARTITION_ macros - Made flash_map_backend.h compatible with a C++ compiler - Enabled watchdog feed by default - Allowed to get the flash write alignment basing on the zephyr,flash DT chosen node property Merged using GH web gui. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fec7042 - Browse repository at this point
Copy the full SHA fec7042View commit details
Commits on Sep 16, 2022
-
Synch to mcu-tool/mcuboot 2fa1190
Synchronized up to: mcu-tools/mcuboot@2fa1190 - zephyr: fixed typo in watchdog support - serial recovery: fixed build failure if CONFIG_BOOT_SERIAL_DETECT_PIN has undefined value Merged using GH web GUI Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dbe536a - Browse repository at this point
Copy the full SHA dbe536aView commit details -
zephyr/sample.yaml Limit allowed build platforms
Building sample.bootloader.mcuboot for many platforms is not possible (for instance a qemu). The limit is need as otherwise zephyr-rtos/zephyr CI is failing on any push to main branch or nightly CI run. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fcae1c - Browse repository at this point
Copy the full SHA 2fcae1cView commit details
Commits on Sep 29, 2022
-
zephyr/Kconfig: fixed BOOT_WATCHDOG_FEED default value
This property should be enabled by default only when watchdog driver is available. This fixed build with pristine configuration on targets with CONFIG_WATCHDOG=n. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13f6397 - Browse repository at this point
Copy the full SHA 13f6397View commit details
Commits on Oct 7, 2022
-
synchronized up to the mcu-tool/mcuboot 4eca54f
Synchronized to: mcu-tools/mcuboot@4eca54f - added precise check of the image size - loader: Added post copy hook to swap function - added Kconfig option for setting swap using move as default swap algorithm - zephyr: fixed ram loading for ARM, with correct handling of vector table when code has moved to RAM. - imgtool: add option to export public PEM merged using GitHub web gui. Signed-off-by: Andrzej Puzdrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cfec947 - Browse repository at this point
Copy the full SHA cfec947View commit details
Commits on Nov 29, 2022
-
[nrf noup] ci: add downstream-only NCS customizations
Add Jenkinsfile, .gitlint, and backport workflow files. Signed-off-by: Thomas Stilwell <[email protected]> Signed-off-by: Ulrich Myhre <[email protected]> Signed-off-by: Chris Bittner <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Johann Fischer <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit d0bc9b5)
Configuration menu - View commit details
-
Copy full SHA for 89673f8 - Browse repository at this point
Copy the full SHA 89673f8View commit details -
[nrf noup] treewide: add NCS partition manager support
Partition Manager is an nRF Connect SDK component which uses yaml files to resolve flash partition placement with a holistic view of the device. This component's MCUboot portions began life as upstream mcuboot PR#430. This added support for being built as a sub image from the downstream Nordic patch set for a zephyr multi image build system (mcuboot 430 was combined with effor submitted to upstream zephyr as PR#13672, which was ultimately reworked after being rejected for mainline at the ELCE 2019 conference in Lyon). It has since evolved over time. This is the version that will go into NCS v1.3. It features: - page size aligned partitions for all partitions used by mcuboot. - image swaps without scratch partitions Add support for configurations where there exists two primary slots but only one secondary slot, which is shared. These two primary slots are the regular application and B1. B1 can be either S0 or S1 depending on the state of the device. Decide where an upgrade should be stored by looking at the vector table. Provide update candidates for both s0 and s1. These candidates must be signed with mcuboot after being signed by b0. Additional notes: - we make update.hex without trailer data This is needed for serial recovery to work using hex files. Prior to this the update.hex got TLV data at the end of the partition, which caused many blank pages to be included, which made it hard to use in a serial recovery scheme. Instead, make update.hex without TLV data at the end, and provide a new file test_update.hex which contains the TLV data, and can be directly flashed to test the upgrade procedure. - we use a function for signing the application as future-proofing for when other components must be signed as well - this includes an update to single image applications that enables support for partition manager; when single image DFU is used, a scratch partition is not needed. - In NCS, image 1 primary slot is the upgrade bank for mcuboot (IE S0 or S1 depending on the active slot). It is not required that this slot contains any valid data. - The nRF boards all have a single flash page size, and partition manager deals with the size of the update partitions and so on, so we must skip a boot_slots_compatible() check to avoid getting an error. - There is no need to verify the target when using partition manager. - We lock mcuboot using fprotect before jumping, to enable the secure boot property of the system. - Call fw_info_ext_api_provide() before booting if EXT_API_PROVIDE EXT_API is enabled. This is relevant only when the immutable bootloader has booted mcuboot. Signed-off-by: Håkon Øye Amundsen <[email protected]> Signed-off-by: Øyvind Rønningstad <[email protected]> Signed-off-by: Sebastian Bøe <[email protected]> Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Emil Obalski <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Pawel Dunaj <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Johann Fischer <[email protected]> Signed-off-by: Vidar Berg <[email protected]> Signed-off-by: Draus, Sebastian <[email protected]> Signed-off-by: Trond Einar Snekvik <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 1f84c45)
Configuration menu - View commit details
-
Copy full SHA for f7de93f - Browse repository at this point
Copy the full SHA f7de93fView commit details -
[nrf noup] zephyr: Remove duplication from cmake
Removes the `add_subdirectory` of nrfxlib it will still check that the nrfxlib is located outside the mcuboot directory. Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Emil Obalski <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Håkon Øye Amundsen <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit ae87eb5)
Configuration menu - View commit details
-
Copy full SHA for d2c6668 - Browse repository at this point
Copy the full SHA d2c6668View commit details -
[nrf noup] boot: bootutil: Add shared crypto for ECDSA and SHA
* Add functions for ecdsa_verify_secp256r1 and sha256 to use the shared crypto API * Add Kconfig and CMake variables for selecting shared crypto when using ecdsa * Add custom section to project for placing the API section in the correct location in flash * Add kconfig fragment for using external crypto Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Emil Obalski <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Håkon Øye Amundsen <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Trond Einar Snekvik <[email protected]> Signed-off-by: Georgios Vasilakis <[email protected]> Signed-off-by: Johann Fischer <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 2576bf3)
Configuration menu - View commit details
-
Copy full SHA for 192dfe6 - Browse repository at this point
Copy the full SHA 192dfe6View commit details -
[nrf fromtree] boot: zephyr: remove thingy53_nrf5340_cpuapp.conf boar…
…d configuration Removed the board configuration for Thingy:53 Application Core as it contains references to the Kconfig modules that are not available in the upstream Zephyr. The current configuration is set up to work in the nRF Connect SDK environment and should be moved there. Signed-off-by: Kamil Piszczek <[email protected]> (cherry picked from commit b9e47b7)
Configuration menu - View commit details
-
Copy full SHA for 7abea26 - Browse repository at this point
Copy the full SHA 7abea26View commit details -
[nrf noup] boot: nrf53-specific customizations
- Add network core bootloader implementation Enables network core updates of nrf53 using MCUBoot by identifying images through their start addresses. Also implements the control and transfer using the PCD module. - Add support for multi image DFU using partition manager. - Add check for netcore addr if NSIB is enabled so netcore updates works - boot: zephyr: move thingy53_nrf5340_cpuapp.conf downstream Moved the board configuration for Thingy:53 Application Core to the nRF Connect SDK MCUboot downstream repository. The configuration file contains references to the Kconfig modules that are only available in the nRF Connect SDK. The current configuration is set up to work in the nRF Connect SDK environment and cannot be used upstream. - pm: enable ram flash partition using common flag This patch makes mcuboot_primary_1 ram-flash partition selectable using CONFIG_NRF53_MCUBOOT_PRIMARY_1_RAM_FLASH property. This is needed since CONFIG_NRF53_MULTI_IMAGE_UPDATE become not only configuration which requires that partition. Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Emil Obalski <[email protected]> Signed-off-by: Håkon Øye Amundsen <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> Signed-off-by: Johann Fischer <[email protected]> Signed-off-by: Kamil Piszczek <[email protected]> Signed-off-by: Ole Sæther <[email protected]> Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Simon Iversen <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Trond Einar Snekvik <[email protected]> (cherry picked from commit 7c3d7ed) (cherry picked from commit 3895554) (cherry picked from commit 2da20eb) (cherry picked from commit 1d535d0)
Configuration menu - View commit details
-
Copy full SHA for 625c84e - Browse repository at this point
Copy the full SHA 625c84eView commit details -
[nrf noup] boot: add 'minimal' configuration files
Add prj_minimal.conf, a Kconfig fragment to be used for minimally sized image production. The minimal fragment has been simplified for only external crypto. Move partition sizing into Kconfig to be consistent with the method used by b0. Using this fragment with prj_minimal.conf makes MCUboot < 16kB for all nRF devices (9160 still needs 32kB partition). Ref: NCSDK-6704 Signed-off-by: Stephen Stauts <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Sebastian Bøe <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 6186a43)
Configuration menu - View commit details
-
Copy full SHA for 0701661 - Browse repository at this point
Copy the full SHA 0701661View commit details -
[nrf noup] boot: zephyr: add support for Thingy:91
Adds project configurations for the two systems on the Thingy:91 (PCA-20035) board. The bootloader that is factory-programmed on thing91 does not support ECDSA signature type. Hence this commit also sets the signature type to RSA for applications built for Thingy:91. Signed-off-by: Bernt Johan Damslora <[email protected]> Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Jon Helge Nistad <[email protected]> Signed-off-by: Balaji Srinivasan <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 145fa69)
Configuration menu - View commit details
-
Copy full SHA for d1f2ef8 - Browse repository at this point
Copy the full SHA d1f2ef8View commit details -
[nrf noup] do_boot: clean peripherals state before boot
Do some cleanup of nRF peripherals. This is necessary since Zephyr doesn't have any driver deinitialization functionality, and we'd like to leave peripherals in a more predictable state before booting the Zephyr image. This should be re-worked when the zephyr driver model allows us to deinitialize devices cleanly before jumping to the chain-loaded image. Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Øyvind Rønningstad <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Håkon Øye Amundsen <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Johann Fischer <[email protected]> Signed-off-by: Trond Einar Snekvik <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 4869eb3)
Configuration menu - View commit details
-
Copy full SHA for 9dac8ad - Browse repository at this point
Copy the full SHA 9dac8adView commit details -
[nrf noup] bootutil: loader: work-around for multi-image builds
Seems multi-image dependencies are not supported for multi-image in NCS yet. This is a workaround which reverts some lines to restore previous MCUboot behavior, so that Immutable bootloader + MCUBoot type builds will work. Ref. NCSDK-8681 Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 72ce504)
Configuration menu - View commit details
-
Copy full SHA for 8f299e8 - Browse repository at this point
Copy the full SHA 8f299e8View commit details -
[nrf noup] zephyr: Set at least provide EXT_API
-This sets the provide EXT_API to be at least optional when the external_crypto is being used. Ref: NCSDK-12021 Signed-off-by: Georgios Vasilakis <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit ec8b60d)
Configuration menu - View commit details
-
Copy full SHA for 3ab5fbb - Browse repository at this point
Copy the full SHA 3ab5fbbView commit details -
[nrf noup] boot: zephyr: remove CONFIG_DEBUG=y in prj.conf
This commit removes the `CONFIG_DEBUG=y` setting from Zephyr prj.conf to save on flash size. Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Johann Fischer <[email protected]> Signed-off-by: Sebastian Bøe <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 2dc0e40)
Configuration menu - View commit details
-
Copy full SHA for c56439c - Browse repository at this point
Copy the full SHA c56439cView commit details -
[nrf noup] boot: zephyr: Enable zeroize ALT func
-This enables the MBEDTLS_PLATFORM_ZEROIZE_ALT definition on Mbed TLS build of the MCUBOOT when the platform library is enabled. If not defined the Mbed TLS will compile the zeroize function and it will cause multiple definition errors. This is a noup because the configuration does not exist outside the sdk-nrf. Ref: NCSDK-13503 Signed-off-by: Georgios Vasilakis <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 6dfa1a1)
Configuration menu - View commit details
-
Copy full SHA for 542f51f - Browse repository at this point
Copy the full SHA 542f51fView commit details -
[nrf noup] Restore default RTC user channel count
The default value of CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT for nRF52 SOCs has been changed from 0 to 3, but it makes MCUBoot get stuck on erasing flash pages when swapping two images. Restore the previous value until the RTC issue is resolved (see NCSDK-14427) Signed-off-by: Damian Krolik <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit f8d7b0b)
Configuration menu - View commit details
-
Copy full SHA for dbcdfae - Browse repository at this point
Copy the full SHA dbcdfaeView commit details -
[nrf noup] boot: zephyr: Align serial recovery config on Thingy:91
Change removes the legacy configuration. The legacy configuration became problematic, because GPIO DTS nodes no longer support labels that were used to identify nodes in MCUboot. Therefore we need to use GPIO DTS node name with the legacy approach. The GPIO should be configured by board's DTS, which is simpler. Jira: NCSDK-16550 Signed-off-by: Marek Pieta <[email protected]> (cherry picked from commit bf00840)
Configuration menu - View commit details
-
Copy full SHA for bf04817 - Browse repository at this point
Copy the full SHA bf04817View commit details -
[nrf fromtree] ext/nrf/cc310_glue.h: Update Zephyr include path
Add `zephyr/` prefix to `<devicetree.h>`. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 14e45ce)
Configuration menu - View commit details
-
Copy full SHA for 96fe9dd - Browse repository at this point
Copy the full SHA 96fe9ddView commit details
Commits on Dec 2, 2022
-
[nrf fromlist] boot_serial: Add unaligned stack buffer writing
Fixes a bug when writing to devices which have memory alignment requirements with data being using directly from a zcbor-response whereby the alignment of the buffer data does not meet the requirements of the flash driver. Upstream PR: mcu-tools/mcuboot#1533 Signed-off-by: Jamie McCrae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11c5149 - Browse repository at this point
Copy the full SHA 11c5149View commit details -
[nrf fromlist] boot_serial: Allow using a buffer larger than 512 bytes
There are 3 levels of buffers and only the first one seems to be configurable, this fixes that issue. Upstream PR: mcu-tools/mcuboot#1536 Signed-off-by: Jamie McCrae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db3da7f - Browse repository at this point
Copy the full SHA db3da7fView commit details -
[nrf fromlist] boot_serial: Fix rc not being returned as a signed value
Fixes an issue whereby rc is a signed variable but is returned as an unsigned variable in the zcbor functions. Upstream PR: mcu-tools/mcuboot#1538 Signed-off-by: Jamie McCrae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78fd7ff - Browse repository at this point
Copy the full SHA 78fd7ffView commit details
Commits on Dec 12, 2022
-
[nrf noup] treewide: add NCS partition manager support
fixup! [nrf noup] treewide: add NCS partition manager support The comment correctly states that we should skip the check for image 1, but the code skips validation for all images except image 0. Today it is only supported for two images, 0 and 1, but in the future it is expected that there might be an image 2, so we refactor this code to make it future-proof. Also, the comment was confusing and misleading so it has been re-written. Signed-off-by: Sebastian Bøe <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20f8d86 - Browse repository at this point
Copy the full SHA 20f8d86View commit details
Commits on Dec 13, 2022
-
[nrf noup] treewide: add NCS partition manager support
fixup! [nrf noup] treewide: add NCS partition manager support It is more precise to note that it's NSIB that does the validation. Also, this makes the comment more applicable to the fact that we won't be updating the HW counters for this image. Signed-off-by: Sebastian Bøe <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a3357e - Browse repository at this point
Copy the full SHA 7a3357eView commit details -
[nrf noup] boot: zephyr: Skip updating sec counters for MCUBOOT
Don't update security counters for the MCUBoot image as it is NSIB that maintains a counter for this image. Ref: NCSDK-9045 Signed-off-by: Georgios Vasilakis <[email protected]> Signed-off-by: Sebastian Bøe <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 34b3ac7 - Browse repository at this point
Copy the full SHA 34b3ac7View commit details
Commits on Dec 15, 2022
-
[nrf noup] treewide: Fix old Nordic license ID
NCS has switch to the new license ID some time ago from LicenseRef-BSD-5-Clause-Nordic to new (more accurate) LicenseRef-Nordic-5-Clause. All source files must be adjusted to the new name. Ref: NCSIDB-717 Signed-off-by: Dominik Kilian <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 191a946 - Browse repository at this point
Copy the full SHA 191a946View commit details
Commits on Jan 11, 2023
-
[nrf fromlist] zephyr: Missing header and definitions in boot_serial
... extensions Moved group definitions to extension source code. Upstream PR: mcu-tools/mcuboot#1551 Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d2f9b5 - Browse repository at this point
Copy the full SHA 9d2f9b5View commit details
Commits on Jan 13, 2023
-
[nrf noup] treewide: Update comment to not mention SPM
fixup! [nrf noup] treewide: add NCS partition manager support Update comment to not mention the removed SPM secure firmware solution. Signed-off-by: Joakim Andersson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f775a8 - Browse repository at this point
Copy the full SHA 4f775a8View commit details
Commits on Jan 24, 2023
-
fix: boot_set_confirmed_multi() ignores set/confirm command if "unset"
allow boot_set_confirmed_multi() to set mcuboot magic if "unset"
Farhang committedJan 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 7147aff - Browse repository at this point
Copy the full SHA 7147affView commit details