Skip to content

[nrf fromtree] boot: Add config for dongle bare variant #469

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

Open
wants to merge 283 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
5e4f255
[nrf noup] boot/../loader: reboot after updating s0/s1
nvlsianpu Jun 18, 2024
ec1805a
[nrf noup] bootutil: loader: Fix netcore address checking
nordicjm Aug 29, 2024
22d3492
[nrf noup] boards: nrf54l15dk: Disable FPROTECT
nvlsianpu Sep 18, 2024
e3d6091
[nrf noup] boot: Add shared crypto for ECDSA and SHA
sigvartmh Feb 14, 2019
5ed18b7
[nrf noup] boot: zephyr: Do not lock PCD region with TF-M
MarkusLassila Aug 30, 2024
28de21a
[nrf noup] treewide: Add support for sysbuild assigned images
nordicjm Sep 10, 2024
aaf851a
[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUboot image
nordicjm Oct 15, 2024
4cf6bdc
[nrf noup] boards: Thingy:91 X release config
maxd-nordic Oct 23, 2024
7c2f15e
[nrf noup] workflows: Add a backport workflow
carlescufi Oct 25, 2024
4a7fca1
[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs
michalek-no Nov 7, 2024
315d2f5
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SE…
nvlsianpu Sep 19, 2024
e041019
[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig override
nordicjm Dec 9, 2024
514a007
[nrf noup] boot/zephyr/boards: configure fastest RRAM operations
nvlsianpu Dec 17, 2024
1d1ca9b
[nrf noup] boot: Remove child/parent references
nordicjm Dec 5, 2024
298f630
[nrf noup] sysflash: Add missing _FLASH_0_ID definitions
de-nordic Jan 15, 2025
1d96021
[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for thingy 53
kkasperczyk-no Jan 24, 2025
19d25e4
[nrf noup] partition_manager: Add support for internal flash netcore DFU
hellesvik-nordic Feb 6, 2025
a6b51f1
[nrf noup] zephyr: sdk-nrf specific overrides on PSA Kconfigs
de-nordic Mar 4, 2025
ab3b5d7
[nrf noup] zephyr: Fix path variables
nordicjm Jul 11, 2023
2f691b7
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
3e3db4b
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
26b638c
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
8a366a3
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
7f9f7e1
[nrf noup] zephyr: Use mbedTLS specific C functions with RSA
de-nordic Mar 14, 2025
1ec9e79
[nrf noup] boot/zephyr: nrf54h20dk board support
nordic-mik7 Mar 10, 2025
ede9b99
[nrf noup] boot/zephyr: nrf54h20dk cleanup adaptations
nordic-mik7 Mar 28, 2025
22c2cac
[nrf noup] bootutil: key revocation
michalek-no Mar 17, 2025
1e75d5d
[nrf noup] boot/zephyr/nrf_cleanup: cleanup uarte pins
nvlsianpu Mar 5, 2024
e80f8ed
[nrf noup] boot/zephyr/Kconfig: fix MBEDTLS_CFG_FILE value
nvlsianpu Apr 1, 2025
62ee7ad
[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins
nvlsianpu Apr 11, 2025
ce377b6
[nrf noup] boot: zephyr: boards: nrf54lm20pdk
michalek-no Apr 23, 2025
e92888b
[nrf noup] nrf_cleanup: nRF54h: fix missing peripheral cleanup
ahasztag Apr 28, 2025
e110d76
[nrf noup] decompression: Align to changes in nrfcompress API
nordic-mik7 May 13, 2025
766081b
[nrf fromtree] boot/zephyr/main: fix placement of pointer to arm vector
nvlsianpu May 14, 2025
4532c33
[nrf fromtree] zephyr: nRF54l15_cpuapp configuration with LTO enabled
de-nordic May 7, 2025
72c673f
[nrf fromtree] bootutil: Improve defines in PSA encryption source
de-nordic Apr 23, 2025
53e81a6
[nrf fromtree] bootutil: Remove BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE
de-nordic Apr 25, 2025
1c75a58
[nrf fromtree] bootutil: Improve HKDF code
de-nordic May 8, 2025
fad8beb
[nrf fromtree] bootutil: encryption: Fix typo in PSA code
de-nordic May 21, 2025
cff5b9a
[nrf fromlist] bootutil: Move all encryption TLV helper identifiers i…
de-nordic May 29, 2025
e78fe84
[nrf fromlist] bootutil: Remove redundant ALIGN definitions
de-nordic May 29, 2025
b37f58b
[nrf fromlist] bootutil: Replace local identifiers with common defini…
de-nordic May 30, 2025
d84d2f1
[nrf noup] boot: zephyr: boards: 54l15 fprotect
michalek-no Jun 2, 2025
1916314
[nrf noup] boot: zephyr: Kconfig dependencies for PSA LITE
michalek-no May 28, 2025
830cd1c
Revert "[nrf noup] boot: zephyr: Kconfig dependencies for PSA LITE"
rlubos Jun 11, 2025
3dd5951
Revert "[nrf noup] boot: zephyr: boards: 54l15 fprotect"
rlubos Jun 11, 2025
841592e
Revert "[nrf fromlist] bootutil: Replace local identifiers with commo…
rlubos Jun 11, 2025
523e5db
Revert "[nrf fromlist] bootutil: Remove redundant ALIGN definitions"
rlubos Jun 11, 2025
5a7aba8
Revert "[nrf fromlist] bootutil: Move all encryption TLV helper ident…
rlubos Jun 11, 2025
32e7639
Revert "[nrf fromtree] bootutil: encryption: Fix typo in PSA code"
rlubos Jun 11, 2025
834d12b
Revert "[nrf fromtree] bootutil: Improve HKDF code"
rlubos Jun 11, 2025
15e9d08
Revert "[nrf fromtree] bootutil: Remove BOOTUTIL_CRYPTO_AES_CTR_KEY_S…
rlubos Jun 11, 2025
7a58888
Revert "[nrf fromtree] bootutil: Improve defines in PSA encryption so…
rlubos Jun 11, 2025
d072af7
Revert "[nrf fromtree] zephyr: nRF54l15_cpuapp configuration with LTO…
rlubos Jun 11, 2025
963f668
Revert "[nrf fromtree] boot/zephyr/main: fix placement of pointer to …
rlubos Jun 11, 2025
e63cc13
Revert "[nrf noup] decompression: Align to changes in nrfcompress API"
rlubos Jun 11, 2025
2c56b4e
Revert "[nrf noup] nrf_cleanup: nRF54h: fix missing peripheral cleanup"
rlubos Jun 11, 2025
ccda4cf
Revert "[nrf noup] boot: zephyr: boards: nrf54lm20pdk"
rlubos Jun 11, 2025
60d1ceb
Revert "[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins"
rlubos Jun 11, 2025
0d2ff68
Revert "[nrf noup] boot/zephyr/Kconfig: fix MBEDTLS_CFG_FILE value"
rlubos Jun 11, 2025
83b2c41
Revert "[nrf noup] boot/zephyr/nrf_cleanup: cleanup uarte pins"
rlubos Jun 11, 2025
1bbc68e
Revert "[nrf noup] bootutil: key revocation"
rlubos Jun 11, 2025
76c39fb
Revert "[nrf noup] boot/zephyr: nrf54h20dk cleanup adaptations"
rlubos Jun 11, 2025
af4a03c
Revert "[nrf noup] boot/zephyr: nrf54h20dk board support"
rlubos Jun 11, 2025
2e7d062
Revert "[nrf noup] zephyr: Use mbedTLS specific C functions with RSA"
rlubos Jun 11, 2025
d544f0b
Revert "[nrf noup] boot: bootutil: Allow configuring number of KMU keys"
rlubos Jun 11, 2025
a534e10
Revert "[nrf noup] boot: zephyr: Add experimental selection to compre…
rlubos Jun 11, 2025
f7da147
Revert "[nrf noup] bootutil: Add support for KMU stored ED25519 signa…
rlubos Jun 11, 2025
0f8eb7f
Revert "[nrf noup] zephyr: Add support for compressed image updates"
rlubos Jun 11, 2025
6e06201
Revert "[nrf noup] zephyr: Fix path variables"
rlubos Jun 11, 2025
6f40dd5
Revert "[nrf noup] zephyr: sdk-nrf specific overrides on PSA Kconfigs"
rlubos Jun 11, 2025
4a5e722
Revert "[nrf noup] partition_manager: Add support for internal flash …
rlubos Jun 11, 2025
ede9ec9
Revert "[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for…
rlubos Jun 11, 2025
4caa387
Revert "[nrf noup] sysflash: Add missing _FLASH_0_ID definitions"
rlubos Jun 11, 2025
3de0d41
Revert "[nrf noup] boot: Remove child/parent references"
rlubos Jun 11, 2025
f921e4f
Revert "[nrf noup] boot/zephyr/boards: configure fastest RRAM operati…
rlubos Jun 11, 2025
6d71cf6
Revert "[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig…
rlubos Jun 11, 2025
4f8abed
Revert "[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MA…
rlubos Jun 11, 2025
72a5aa7
Revert "[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs"
rlubos Jun 11, 2025
72c894f
Revert "[nrf noup] workflows: Add a backport workflow"
rlubos Jun 11, 2025
a59ed96
Revert "[nrf noup] boards: Thingy:91 X release config"
rlubos Jun 11, 2025
030c74e
Revert "[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUb…
rlubos Jun 11, 2025
5089c53
Revert "[nrf noup] treewide: Add support for sysbuild assigned images"
rlubos Jun 11, 2025
b53d66c
Revert "[nrf noup] boot: zephyr: Do not lock PCD region with TF-M"
rlubos Jun 11, 2025
a18d751
Revert "[nrf noup] boot: Add shared crypto for ECDSA and SHA"
rlubos Jun 11, 2025
350afd9
Revert "[nrf noup] boards: nrf54l15dk: Disable FPROTECT"
rlubos Jun 11, 2025
77cb044
Revert "[nrf noup] bootutil: loader: Fix netcore address checking"
rlubos Jun 11, 2025
dba2ec0
Revert "[nrf noup] boot/../loader: reboot after updating s0/s1"
rlubos Jun 11, 2025
e471935
Revert "[nrf noup] boot/../loader: skip downgrade prevention for s1/s0"
rlubos Jun 11, 2025
d9eb6b9
Revert "[nrf noup] boot: zephyr: Add NCS boot banner"
rlubos Jun 11, 2025
602e48d
Revert "[nrf noup] zephyr/boards: fix nrf54l15pdk ext flash dts overlay"
rlubos Jun 11, 2025
7e6be93
Revert "[nrf noup] boot/zephyr: fix fw_info search"
rlubos Jun 11, 2025
3ffe480
Revert "[nrf noup] boot: zephyr: Disable boot banner if NCS_BOOT_BANN…
rlubos Jun 11, 2025
d82e787
Revert "[nrf noup] boards: thingy91x: enable serial recovery"
rlubos Jun 11, 2025
7f74b90
Revert "[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash update"
rlubos Jun 11, 2025
322e6bc
Revert "[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash partition"
rlubos Jun 11, 2025
8a6c678
Revert "[nrf noup] loader: remove cleanup for direct xip mode"
rlubos Jun 11, 2025
f3f3435
Revert "[nrf noup] boards: nrf54l15: Disable FPROTECT"
rlubos Jun 11, 2025
09a9105
Revert "[nrf noup] loader: introduced cleanup of unusable secondary s…
rlubos Jun 11, 2025
510a830
Revert "[nrf noup] sysflash: Add support for three images"
rlubos Jun 11, 2025
013f010
Revert "[nrf noup] sysflash: Move partition manager definitions to pm…
rlubos Jun 11, 2025
3f86644
Revert "[nrf noup] boot: Add support for NSIB and multi-image"
rlubos Jun 11, 2025
27048fe
Revert "[nrf noup] loader: Fix missing PCD define check"
rlubos Jun 11, 2025
9f7aad9
Revert "[nrf noup] loader: work-around for multi-image builds"
rlubos Jun 11, 2025
28394a0
Revert "[nrf noup] boot/zephyr/boards: nRF54l15pdk ext flash cfg"
rlubos Jun 11, 2025
f3f534e
Revert "[nrf noup] boards: thingy53: disable GPIO ISR support"
rlubos Jun 11, 2025
49f5ddf
Revert "[nrf noup] loader: Add firmware version check downgrade preve…
rlubos Jun 11, 2025
41497e3
Revert "[nrf noup] zephyr: Boot even if EXT_ABI is not provided"
rlubos Jun 11, 2025
9bf1e2c
Revert "[nrf noup] zephyr: Add RAM flash configuration to cache for s…
rlubos Jun 11, 2025
c6e4ffd
Revert "[nrf noup] loader: Do not check reset vector for XIP image"
rlubos Jun 11, 2025
3a9bdc3
Revert "[nrf noup] loader: Fix reading reset addr to support ext flash"
rlubos Jun 11, 2025
ec61ecd
Revert "[nrf noup] zephyr: Clean up non-secure RAM if enabled"
rlubos Jun 11, 2025
55b62db
Revert "[nrf noup] zephyr: clean peripherals state before boot"
rlubos Jun 11, 2025
1782a99
Revert "[nrf noup] boot: nrf53-specific customizations"
rlubos Jun 11, 2025
333852b
Revert "[nrf noup] treewide: add NCS partition manager support"
rlubos Jun 11, 2025
7dfd447
Revert "[nrf noup] boards: thingy91x: add board config"
rlubos Jun 11, 2025
72d4986
Revert "[nrf noup] zephyr: Restore default RTC user channel count"
rlubos Jun 11, 2025
ecf7303
Revert "[nrf noup] boards: add support for Thingy:91"
rlubos Jun 11, 2025
28112c5
Revert "[nrf noup] zephyr: add 'minimal' configuration files"
rlubos Jun 11, 2025
2c6c875
Revert "[nrf noup] zephyr: Remove duplication from cmake"
rlubos Jun 11, 2025
77d5c87
Revert "[nrf noup] github: Add a commit tags check workflow"
rlubos Jun 11, 2025
3a44aa5
[nrf mergeup] Merge upstream up to commit 468e2611be1a6244c807a9cdc7e…
rlubos Jun 11, 2025
67c4da4
[nrf noup] github: Add a commit tags check workflow
carlescufi Oct 10, 2023
0566363
[nrf noup] zephyr: Remove duplication from cmake
sigvartmh Mar 26, 2019
33d3e61
[nrf noup] zephyr: add 'minimal' configuration files
mbolivar-nordic Sep 3, 2021
0512d8d
[nrf noup] boards: add support for Thingy:91
bjda Sep 20, 2019
3957a30
[nrf noup] zephyr: Restore default RTC user channel count
Damian-Nordic Mar 21, 2022
1b2d11c
[nrf noup] boards: thingy91x: add board config
maxd-nordic Dec 8, 2023
9554013
[nrf noup] treewide: add NCS partition manager support
SebastianBoe Dec 12, 2018
3db6eca
[nrf noup] boot: nrf53-specific customizations
sigvartmh Aug 27, 2020
c14ac2b
[nrf noup] zephyr: clean peripherals state before boot
nvlsianpu Feb 27, 2020
11ea3a2
[nrf noup] zephyr: Clean up non-secure RAM if enabled
sigvartmh Jan 6, 2023
3644031
[nrf noup] loader: Fix reading reset addr to support ext flash
chrta Feb 10, 2022
1e99172
[nrf noup] loader: Do not check reset vector for XIP image
de-nordic Sep 22, 2023
e92f17c
[nrf noup] zephyr: Add RAM flash configuration to cache for sysbuild
nordicjm Sep 18, 2023
2d5f4f9
[nrf noup] zephyr: Boot even if EXT_ABI is not provided
sigvartmh Oct 17, 2023
42e8551
[nrf noup] loader: Add firmware version check downgrade prevention
sigvartmh Sep 27, 2023
87d7d74
[nrf noup] boards: thingy53: disable GPIO ISR support
nika-nordic Oct 9, 2023
a59f2b1
[nrf noup] boot/zephyr/boards: nRF54l15pdk ext flash cfg
nvlsianpu Apr 11, 2024
663f42e
[nrf noup] loader: work-around for multi-image builds
sigvartmh Mar 30, 2021
cd1fe34
[nrf noup] loader: Fix missing PCD define check
nordicjm Aug 31, 2023
a39070a
[nrf noup] boot: Add support for NSIB and multi-image
sigvartmh May 31, 2023
8d4a62b
[nrf noup] sysflash: Move partition manager definitions to pm_sysflash.h
de-nordic Aug 10, 2023
b1ef248
[nrf noup] sysflash: Add support for three images
de-nordic Aug 11, 2023
6dca0d2
[nrf noup] loader: introduced cleanup of unusable secondary slot
nvlsianpu Feb 15, 2024
d82956a
[nrf noup] boards: nrf54l15: Disable FPROTECT
gchwier Apr 16, 2024
b525a77
[nrf noup] loader: remove cleanup for direct xip mode
gchwier May 17, 2024
2c46ff1
[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash partition
nvlsianpu Apr 15, 2024
f5eb648
[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash update
nvlsianpu May 20, 2024
654a1e3
[nrf noup] boards: thingy91x: enable serial recovery
maxd-nordic Mar 12, 2024
86ab04b
[nrf noup] boot: zephyr: Disable boot banner if NCS_BOOT_BANNER is used
rlubos May 17, 2024
d4e6c3e
[nrf noup] boot/zephyr: fix fw_info search
nvlsianpu May 27, 2024
6f5d3ae
[nrf noup] zephyr/boards: fix nrf54l15pdk ext flash dts overlay
nvlsianpu Jun 5, 2024
4b3d6ab
[nrf noup] boot: zephyr: Add NCS boot banner
nordicjm Jun 11, 2024
101d9c0
[nrf noup] boot/../loader: skip downgrade prevention for s1/s0
nvlsianpu Jun 13, 2024
6bb40d3
[nrf noup] boot/../loader: reboot after updating s0/s1
nvlsianpu Jun 18, 2024
7168679
[nrf noup] bootutil: loader: Fix netcore address checking
nordicjm Aug 29, 2024
1c8ff2a
[nrf noup] boards: nrf54l15dk: Disable FPROTECT
nvlsianpu Sep 18, 2024
d3412b0
[nrf noup] boot: Add shared crypto for ECDSA and SHA
sigvartmh Feb 14, 2019
d43ef93
[nrf noup] boot: zephyr: Do not lock PCD region with TF-M
MarkusLassila Aug 30, 2024
99601b6
[nrf noup] treewide: Add support for sysbuild assigned images
nordicjm Sep 10, 2024
9c83462
[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUboot image
nordicjm Oct 15, 2024
8444d75
[nrf noup] boards: Thingy:91 X release config
maxd-nordic Oct 23, 2024
b1376c6
[nrf noup] workflows: Add a backport workflow
carlescufi Oct 25, 2024
add70d4
[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs
michalek-no Nov 7, 2024
19ac794
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SE…
nvlsianpu Sep 19, 2024
2591ebd
[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig override
nordicjm Dec 9, 2024
1bbee3d
[nrf noup] boot/zephyr/boards: configure fastest RRAM operations
nvlsianpu Dec 17, 2024
1e18f3c
[nrf noup] boot: Remove child/parent references
nordicjm Dec 5, 2024
8a3f508
[nrf noup] sysflash: Add missing _FLASH_0_ID definitions
de-nordic Jan 15, 2025
2c73cb4
[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for thingy 53
kkasperczyk-no Jan 24, 2025
7911236
[nrf noup] partition_manager: Add support for internal flash netcore DFU
hellesvik-nordic Feb 6, 2025
558d1c1
[nrf noup] zephyr: sdk-nrf specific overrides on PSA Kconfigs
de-nordic Mar 4, 2025
63224e3
[nrf noup] zephyr: Fix path variables
nordicjm Jul 11, 2023
d20d66d
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
6f91355
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
4538b4d
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
36c1fdf
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
7ff9d37
[nrf noup] zephyr: Use mbedTLS specific C functions with RSA
de-nordic Mar 14, 2025
b404bb1
[nrf noup] boot/zephyr: nrf54h20dk board support
nordic-mik7 Mar 10, 2025
ea5b6b6
[nrf noup] boot/zephyr: nrf54h20dk cleanup adaptations
nordic-mik7 Mar 28, 2025
105551f
[nrf noup] bootutil: key revocation
michalek-no Mar 17, 2025
1f19003
[nrf noup] boot/zephyr/nrf_cleanup: cleanup uarte pins
nvlsianpu Mar 5, 2024
a5b2594
[nrf noup] boot/zephyr/Kconfig: fix MBEDTLS_CFG_FILE value
nvlsianpu Apr 1, 2025
5717af4
[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins
nvlsianpu Apr 11, 2025
cc3d19b
[nrf noup] boot: zephyr: boards: nrf54lm20pdk
michalek-no Apr 23, 2025
df61bd1
[nrf noup] nrf_cleanup: nRF54h: fix missing peripheral cleanup
ahasztag Apr 28, 2025
c75fc59
[nrf noup] decompression: Align to changes in nrfcompress API
nordic-mik7 May 13, 2025
2d93958
[nrf fromlist] bootutil: Move all encryption TLV helper identifiers i…
de-nordic May 29, 2025
c1bb3a3
[nrf fromlist] bootutil: Remove redundant ALIGN definitions
de-nordic May 29, 2025
f4a5081
[nrf fromlist] bootutil: Replace local identifiers with common defini…
de-nordic May 30, 2025
fddf539
[nrf noup] boot: zephyr: boards: 54l15 fprotect
michalek-no Jun 2, 2025
ad2e825
[nrf noup] boot: zephyr: Kconfig dependencies for PSA LITE
michalek-no May 28, 2025
fa17bc9
[nrf fromlist] bootutil: Fix boot_scramble_region escaping flash area
de-nordic Jun 11, 2025
30ef7f9
[nrf noup] boot: bootutil: Add support for NSIB maximum image size
nordicjm Jun 12, 2025
6821cbf
[nrf fromtree] scripts: imgtool: Compression of no header-padded images
nordic-mik7 Jun 9, 2025
38e8159
[nrf noup] decompression: Fix flash writes alignment
nordic-mik7 Jun 9, 2025
18e3bc8
[nrf fromlist] zephyr: Fix pinreset trigger
tomchy Jun 16, 2025
89e4353
[nrf noup] boot/zephyr/prj_minimal: replace deprecated LibC config
nvlsianpu Jun 10, 2025
c2bede2
[nrf fromtree] bootutil: loader: overwrite-only mode fix for trailer …
nordic-mik7 Jun 16, 2025
bfb698a
[nrf noup] boot: bootutil: Fix #if check
nordicjm Jun 18, 2025
03ccabc
Revert "[nrf noup] decompression: Fix flash writes alignment"
de-nordic Jun 17, 2025
82a68af
Revert "[nrf noup] decompression: Align to changes in nrfcompress API"
de-nordic Jun 17, 2025
0d807df
Revert "[nrf noup] bootutil: key revocation"
de-nordic Jun 17, 2025
5b2d12b
Revert "[nrf noup] boot: bootutil: Allow configuring number of KMU keys"
de-nordic Jun 17, 2025
9bcf4c5
Revert "[nrf noup] boot: zephyr: Add experimental selection to compre…
de-nordic Jun 17, 2025
29745ea
Revert "[nrf noup] bootutil: Add support for KMU stored ED25519 signa…
de-nordic Jun 17, 2025
f359271
Revert "[nrf noup] zephyr: Add support for compressed image updates"
de-nordic Jun 17, 2025
7aa2a38
[nrf fromtree] boot: zephyr: Refactor DFU entry logic
sayoojkkarun Apr 23, 2025
0bef0bb
[nrf fromtree] bootutil: Improve logging coverage
de-nordic May 15, 2025
ca61577
[nrf fromtree] zephyr: Improve logging
de-nordic May 15, 2025
c3ba628
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
afb178a
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
8cd14c1
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
324aed8
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
6227d66
[nrf noup] bootutil: key revocation
michalek-no Mar 17, 2025
aa59bad
[nrf noup] decompression: Align to changes in nrfcompress API
nordic-mik7 May 13, 2025
6d74c59
[nrf fromtree] bootutil: Small cleanup in image.h
de-nordic May 28, 2025
15a34d3
[nrf fromtree] doc: Add information on supporting SHA512 with ECIES-X…
de-nordic May 7, 2025
a101653
[nrf fromtree] bootutil: Add support for HAMC-SHA512 with ECIES-X25519
de-nordic May 8, 2025
210b738
[nrf fromtree] zephyr: Support for HKDF/HMAC with SHA512
de-nordic May 8, 2025
518f74a
[nrf fromtree] imgtool: Add support for HMAC/HKDF-SHA512 with ECIES-X…
de-nordic May 9, 2025
f123819
[nrf noup] boot: zephyr: Add bm firmware loader code
nordicjm Jun 12, 2025
33a4201
[nrf noup] boot: bootutil: loader: Fix scope of NSIB variable
nordicjm Jul 1, 2025
9571f88
[nrf noup] nsib: Use scramble instead of erase in nsib_swap_run
de-nordic Jul 1, 2025
6192328
[nrf fromtree] bootutil: Use flash base address for direct hash
tomchy Jul 1, 2025
29bcb74
[nrf noup] boot: Provide default configuration for nRF54H20
tomchy Jul 3, 2025
78a3d18
[nrf noup] boot: zephyr: Fix renamed Kconfig
nordicjm Jul 7, 2025
c3950c6
[nrf noup] boot: zephyr: Fix typo in bm console output
nordicjm Jul 7, 2025
c438d2c
Revert "[nrf noup] zephyr/boards: fix nrf54l15pdk ext flash dts overlay"
nordicjm Jul 8, 2025
65f9513
Revert "[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash update"
nordicjm Jul 8, 2025
30ab78b
Revert "[nrf noup] boot/zephyr/boards: nrf54l15pdk ext-flash partition"
nordicjm Jul 8, 2025
e6cfb61
Revert "[nrf noup] boards: nrf54l15: Disable FPROTECT"
nordicjm Jul 8, 2025
a8bd30f
Revert "[nrf noup] boot/zephyr/boards: nRF54l15pdk ext flash cfg"
nordicjm Jul 8, 2025
78ad12e
[nrf fromlist] boot: zephyr: boards: Remove outdated nrf54l15pdk boar…
nordicjm Jul 8, 2025
cf1f76c
[nrf fromlist] bootutil: Unify app_max_size() implementations
tomchy May 23, 2025
4eb18b2
[nrf noup] boot: zephyr: disable boot banner in minimal config
ahasztag Jul 10, 2025
dd6b3ac
[nrf fromlist] zephyr: boards: nrf - remove redundant multithreading …
nordic-mik7 Jul 4, 2025
576e08d
[nrf noup] zephyr: boards: nrf54l15dk: remove multithreading config
nordic-mik7 Jul 4, 2025
fb1119d
[nrf noup] zephyr: boards: thingy91x: remove multithreading config
nordic-mik7 Jul 10, 2025
9016396
[nrf noup] zephyr: boards: thingy53: remove multithreading config
nordic-mik7 Jul 10, 2025
2534681
[nrf noup] boot: Add retry for image verification
adsz-nordic Jul 8, 2025
dcec607
Revert "[nrf noup] bootutil: key revocation"
michalek-no Jul 15, 2025
323e327
Revert "[nrf noup] boot: bootutil: Allow configuring number of KMU keys"
michalek-no Jul 15, 2025
62013cb
Revert "[nrf noup] bootutil: Add support for KMU stored ED25519 signa…
michalek-no Jul 15, 2025
c82b710
[nrf fromtree] boot: zephyr: RAM cleanup debug loop
michalek-no Jul 2, 2025
e28f5e9
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
e211d92
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
a378749
[nrf noup] bootutil: key revocation
michalek-no Mar 17, 2025
71f4a50
[nrf fromtree] boot: Add config for dongle bare variant
tomchy Jul 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Backport
on:
pull_request_target:
types:
- closed
- labeled
branches:
- main

jobs:
backport:
name: Backport
runs-on: ubuntu-22.04
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged &&
(
github.event.action == 'closed' ||
(
github.event.action == 'labeled' &&
contains(github.event.label.name, 'backport')
)
)
steps:
- name: Backport
uses: zephyrproject-rtos/[email protected]
with:
github_token: ${{ secrets.NCS_GITHUB_TOKEN }}
issue_labels: Backport
labels_template: '["Backport"]'
28 changes: 28 additions & 0 deletions .github/workflows/commit-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Commit tags

on:
pull_request:
types: [synchronize, opened, reopened, edited, labeled, unlabeled,
milestoned, demilestoned, assigned, unassigned, ready_for_review,
review_requested]

jobs:
commit_tags:
runs-on: ubuntu-22.04
name: Run commit tags checks on patch series (PR)
steps:
- name: Update PATH for west
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Checkout the code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Run the commit tags
uses: nrfconnect/action-commit-tags@main
with:
target: .
upstream: mcu-tools/mcuboot/main
19 changes: 19 additions & 0 deletions boot/bootutil/include/bootutil/bootutil_macros.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
*/

#ifndef H_BOOTUTIL_MACROS
#define H_BOOTUTIL_MACROS

#ifndef ALIGN_UP
#define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1))
#endif

#ifndef ALIGN_DOWN
#define ALIGN_DOWN(num, align) ((num) & ~((align) - 1))
#endif

#endif
15 changes: 7 additions & 8 deletions boot/bootutil/include/bootutil/bootutil_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,13 @@
#include <string.h>
#include <flash_map_backend/flash_map_backend.h>
#include <mcuboot_config/mcuboot_config.h>
#include <bootutil/bootutil_macros.h>
#include <bootutil/image.h>

#ifdef __cplusplus
extern "C" {
#endif

#ifndef ALIGN_UP
#define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1))
#endif

#ifndef ALIGN_DOWN
#define ALIGN_DOWN(num, align) ((num) & ~((align) - 1))
#endif

/** Attempt to boot the contents of the primary slot. */
#define BOOT_SWAP_TYPE_NONE 1

Expand Down Expand Up @@ -302,6 +295,12 @@ boot_set_next(const struct flash_area *fa, bool active, bool confirm);
/**
* Attempts to load image header from flash; verifies flash header fields.
*
* The selected update method (i.e. swap move) may impose additional restrictions
* on the image size (i.e. due to the presence of the image trailer).
* Such restrictions are not verified by this function.
* These checks are implemented as part of the boot_image_validate(..) that uses
* sizes from the bootutil_max_image_size(..).
*
* @param[in] fa_p flash area pointer
* @param[out] hdr buffer for image header
*
Expand Down
64 changes: 58 additions & 6 deletions boot/bootutil/include/bootutil/crypto/ecdsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#if (defined(MCUBOOT_USE_TINYCRYPT) + \
defined(MCUBOOT_USE_CC310) + \
defined(MCUBOOT_USE_NRF_EXTERNAL_CRYPTO) + \
defined(MCUBOOT_USE_PSA_OR_MBED_TLS)) != 1
#error "One crypto backend must be defined: either CC310/TINYCRYPT/MBED_TLS/PSA_CRYPTO"
#endif
Expand Down Expand Up @@ -70,12 +71,18 @@
#include "bootutil/sign_key.h"
#include "common.h"

#if defined(MCUBOOT_USE_NRF_EXTERNAL_CRYPTO)
#include <bl_crypto.h>
#define NUM_ECC_BYTES (256 / 8)
#endif /* MCUBOOT_USE_NRF_EXTERNAL_CRYPTO */

#ifdef __cplusplus
extern "C" {
#endif

#if (defined(MCUBOOT_USE_TINYCRYPT) || defined(MCUBOOT_USE_MBED_TLS) || \
defined(MCUBOOT_USE_CC310)) && !defined(MCUBOOT_USE_PSA_CRYPTO)
defined(MCUBOOT_USE_CC310) || defined(MCUBOOT_USE_NRF_EXTERNAL_CRYPTO)) \
&& !defined(MCUBOOT_USE_PSA_CRYPTO)
/*
* Declaring these like this adds NULL termination.
*/
Expand Down Expand Up @@ -127,8 +134,6 @@ static int bootutil_import_key(uint8_t **cp, uint8_t *end)
}
#endif /* (MCUBOOT_USE_TINYCRYPT || MCUBOOT_USE_MBED_TLS || MCUBOOT_USE_CC310) && !MCUBOOT_USE_PSA_CRYPTO */

#if defined(MCUBOOT_USE_TINYCRYPT)
#ifndef MCUBOOT_ECDSA_NEED_ASN1_SIG
/*
* cp points to ASN1 string containing an integer.
* Verify the tag, and that the length is 32 bytes. Helper function.
Expand Down Expand Up @@ -178,8 +183,8 @@ static int bootutil_decode_sig(uint8_t signature[NUM_ECC_BYTES * 2], uint8_t *cp
}
return 0;
}
#endif /* not MCUBOOT_ECDSA_NEED_ASN1_SIG */

#if defined(MCUBOOT_USE_TINYCRYPT)
typedef uintptr_t bootutil_ecdsa_context;
static inline void bootutil_ecdsa_init(bootutil_ecdsa_context *ctx)
{
Expand Down Expand Up @@ -248,16 +253,20 @@ static inline int bootutil_ecdsa_verify(bootutil_ecdsa_context *ctx,
{
(void)ctx;
(void)pk_len;
(void)sig_len;
(void)hash_len;
uint8_t dsig[2 * NUM_ECC_BYTES];

if (bootutil_decode_sig(dsig, sig, sig + sig_len)) {
return -1;
}

/* Only support uncompressed keys. */
if (pk[0] != 0x04) {
return -1;
}
pk++;

return cc310_ecdsa_verify_secp256r1(hash, pk, sig, BOOTUTIL_CRYPTO_ECDSA_P256_HASH_SIZE);
return cc310_ecdsa_verify_secp256r1(hash, pk, dsig, BOOTUTIL_CRYPTO_ECDSA_P256_HASH_SIZE);
}

static inline int bootutil_ecdsa_parse_public_key(bootutil_ecdsa_context *ctx,
Expand Down Expand Up @@ -613,6 +622,49 @@ static inline int bootutil_ecdsa_parse_public_key(bootutil_ecdsa_context *ctx,

#endif /* MCUBOOT_USE_MBED_TLS */

#if defined(MCUBOOT_USE_NRF_EXTERNAL_CRYPTO)
typedef uintptr_t bootutil_ecdsa_context;
static inline void bootutil_ecdsa_init(bootutil_ecdsa_context *ctx)
{
(void)ctx;
}

static inline void bootutil_ecdsa_drop(bootutil_ecdsa_context *ctx)
{
(void)ctx;
}

static inline int bootutil_ecdsa_verify(bootutil_ecdsa_context *ctx,
uint8_t *pk, size_t pk_len,
uint8_t *hash, size_t hash_len,
uint8_t *sig, size_t sig_len)
{
(void)ctx;
(void)pk_len;
(void)hash_len;
uint8_t dsig[2 * NUM_ECC_BYTES];

if (bootutil_decode_sig(dsig, sig, sig + sig_len)) {
return -1;
}

/* Only support uncompressed keys. */
if (pk[0] != 0x04) {
return -1;
}
pk++;

return bl_secp256r1_validate(hash, BOOTUTIL_CRYPTO_ECDSA_P256_HASH_SIZE, pk, dsig);
}

static inline int bootutil_ecdsa_parse_public_key(bootutil_ecdsa_context *ctx,
uint8_t **cp,uint8_t *end)
{
(void)ctx;
return bootutil_import_key(cp, end);
}
#endif /* MCUBOOT_USE_NRF_EXTERNAL_CRYPTO */

#ifdef __cplusplus
}
#endif
Expand Down
4 changes: 2 additions & 2 deletions boot/bootutil/include/bootutil/crypto/rsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ static int bootutil_rsa_oaep_decrypt(
return -1;
}
size_t input_size = PSA_BITS_TO_BYTES(psa_get_key_bits(&key_attr));
if (input_size != TLV_ENC_RSA_SZ) {
if (input_size != BOOT_ENC_TLV_SIZE) {
return -1;
}

status = psa_asymmetric_decrypt(ctx->key_id, PSA_ALG_RSA_OAEP(PSA_ALG_SHA_256),
input, TLV_ENC_RSA_SZ, NULL, 0,
input, BOOT_ENC_TLV_SIZE, NULL, 0,
output, output_max_len, olen);
return (int)status;
}
Expand Down
32 changes: 32 additions & 0 deletions boot/bootutil/include/bootutil/crypto/sha.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

#if (defined(MCUBOOT_USE_PSA_OR_MBED_TLS) + \
defined(MCUBOOT_USE_TINYCRYPT) + \
defined(MCUBOOT_USE_NRF_EXTERNAL_CRYPTO) + \
defined(MCUBOOT_USE_CC310)) != 1
#error "One crypto backend must be defined: either CC310/MBED_TLS/TINYCRYPT/PSA_CRYPTO"
#endif
Expand Down Expand Up @@ -270,6 +271,37 @@ static inline int bootutil_sha_finish(bootutil_sha_context *ctx,
}
#endif /* MCUBOOT_USE_CC310 */

#if defined(MCUBOOT_USE_NRF_EXTERNAL_CRYPTO)

#include <bl_crypto.h>

typedef bl_sha256_ctx_t bootutil_sha_context;

static inline void bootutil_sha_init(bootutil_sha_context *ctx)
{
bl_sha256_init(ctx);
}

static inline void bootutil_sha_drop(bootutil_sha_context *ctx)
{
(void)ctx;
}

static inline int bootutil_sha_update(bootutil_sha_context *ctx,
const void *data,
uint32_t data_len)
{
return bl_sha256_update(ctx, data, data_len);
}

static inline int bootutil_sha_finish(bootutil_sha_context *ctx,
uint8_t *output)
{
bl_sha256_finalize(ctx, output);
return 0;
}
#endif /* MCUBOOT_USE_NRF_EXTERNAL_CRYPTO */

#ifdef __cplusplus
}
#endif
Expand Down
2 changes: 0 additions & 2 deletions boot/bootutil/include/bootutil/enc_key.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
extern "C" {
#endif

#define BOOT_ENC_TLV_ALIGN_SIZE ALIGN_UP(BOOT_ENC_TLV_SIZE, BOOT_MAX_ALIGN)

struct enc_key_data {
uint8_t valid;
bootutil_aes_ctr_context aes_ctr;
Expand Down
Loading