Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
405 commits
Select commit Hold shift + click to select a range
b26db4d
[nrf noup] boot/zephyr: nRF54h20 resume from S2RAM (hardened)
nvlsianpu Aug 1, 2025
c390295
[nrf noup] boot/zephyr/socs: nrf54h20 prj.conf for S2RAM
nvlsianpu Sep 9, 2025
d0796dc
[nrf noup] ci: add reopen for manifest-pr action
karhama Sep 16, 2025
0e6e9a3
Revert "[nrf noup] ci: add reopen for manifest-pr action"
jukkar Sep 23, 2025
1c81b6a
Revert "[nrf noup] boot/zephyr/socs: nrf54h20 prj.conf for S2RAM"
jukkar Sep 23, 2025
fb65971
Revert "[nrf noup] boot/zephyr: nRF54h20 resume from S2RAM (hardened)"
jukkar Sep 23, 2025
fd41ec7
Revert "[nrf noup] bootutil: Locking KMU keys"
jukkar Sep 23, 2025
0faca0f
Revert "[nrf noup] bootloader: Fix logging in bootloader requests mod…
jukkar Sep 23, 2025
5201d15
Revert "[nrf noup] boot: Fix test failing with bootloader requests"
jukkar Sep 23, 2025
f95af37
Revert "[nrf noup] zephyr: Add basic UUID checks implementation"
jukkar Sep 23, 2025
764548c
Revert "[nrf noup] Support for ed25519 signature verification using ITS"
jukkar Sep 23, 2025
2bf1876
Revert "[nrf noup] boot: Use NCS_ prefix for sdk-nrf specific Kconfigs"
jukkar Sep 23, 2025
80418c1
Revert "[nrf noup] Added BOOT_SIGNATURE_USING_ITS for ecdsa configura…
jukkar Sep 23, 2025
6fa2579
Revert "[nrf noup] bootutil: key revocation"
jukkar Sep 23, 2025
e48158b
Revert "[nrf noup] boot: bootutil: Allow configuring number of KMU keys"
jukkar Sep 23, 2025
b0a623a
Revert "[nrf noup] bootutil: Add support for KMU stored ED25519 signa…
jukkar Sep 23, 2025
00203c7
Revert "[nrf noup] boot: zephyr: Add experimental selection to compre…
jukkar Sep 23, 2025
f96a0f4
Revert "[nrf noup] decompression: Align to changes in nrfcompress API"
jukkar Sep 23, 2025
6722cfc
Revert "[nrf noup] zephyr: Add support for compressed image updates"
jukkar Sep 23, 2025
ad5310a
Revert "[nrf noup] boot: Improve bootloader request handling"
jukkar Sep 23, 2025
bde7f77
Revert "[nrf noup] bootloader: Add bootloader requests"
jukkar Sep 23, 2025
94d83b9
Revert "[nrf fromtree] imgtool: Add support for VID and CID"
jukkar Sep 23, 2025
7c3acc8
Revert "[nrf fromtree] boot: Add VID and CID checks"
jukkar Sep 23, 2025
62b9990
Revert "[nrf fromtree] boot: Enable Encryption with PSA + ECDSA"
jukkar Sep 23, 2025
1b21524
Revert "[nrf fromtree] bootutil: Fix bootutil_aes_ctr_drop memset usage"
jukkar Sep 23, 2025
7adec5c
Revert "[nrf fromtree] zephyr: Add support for slot selection boot hook"
jukkar Sep 23, 2025
0ae9b52
Revert "[nrf fromtree] loader: Add boot hook for slot selection"
jukkar Sep 23, 2025
cc2292e
Revert "[nrf noup] zephyr: boards: nrf54lm20dk_nrf54lm20a_cpuapp.conf"
jukkar Sep 23, 2025
a3003ec
Revert "[nrf noup] boot: zephyr: Disable self RWX"
jukkar Sep 23, 2025
4d9919a
Revert "[nrf noup] boot: zephyr: firmware_loader: Allow GPIO usage in…
jukkar Sep 23, 2025
8953d48
Revert "[nrf noup] boot: zephyr: Add NCS boot banner"
jukkar Sep 23, 2025
5fae104
Revert "[nrf noup] boot: zephyr: Delay bm IO button check"
jukkar Sep 23, 2025
1e80b6e
Revert "[nrf noup] boot: zephyr: remove nonsecure ram cleanup"
jukkar Sep 23, 2025
89933f4
Revert "[nrf fromtree] zephyr: Add support for AES256"
jukkar Sep 23, 2025
e8fa07b
Revert "[nrf fromtree] imgtool: Allow for AES256 encryption"
jukkar Sep 23, 2025
7d95087
Revert "[nrf fromlist] zephyr: Fix FLASH_DEVICE_ID for nRF54H20 platf…
jukkar Sep 23, 2025
c813046
Revert "[nrf fromlist] bootutil: Fix PureEdDSA when flash base is not…
jukkar Sep 23, 2025
0496a6a
Revert "[nrf noup] zephyr: hw security counter limited set by default"
jukkar Sep 23, 2025
f02b1a8
Revert "[nrf fromtree] bootutil: Fixed security counter overflow dete…
jukkar Sep 23, 2025
b4adebf
Revert "[nrf noup] boot: zephyr: Adjust PSA requirements for PSA_CORE…
jukkar Sep 23, 2025
5d5e83b
Revert "[nrf fromtree] bootutil: Fix scratch scrambling"
jukkar Sep 23, 2025
a9e2543
Revert "[nrf fromlist] boot/boot_serial: build-time skip of the erasi…
jukkar Sep 23, 2025
57c1a83
Revert "[nrf fromtree] boot: Switch to picolibc"
jukkar Sep 23, 2025
89df5d7
Revert "[nrf noup] boot: zephyr: Fix bm IO button check"
jukkar Sep 23, 2025
bf97481
Revert "[nrf fromlist] boot: zephyr: Fix including asn1 when ed25519 …
jukkar Sep 23, 2025
a612064
Revert "[nrf noup] workflows: Add manifest PRs creation"
jukkar Sep 23, 2025
2b45eb8
Revert "[nrf noup] boot/zephyr/nrf_cleanup: fix index error"
jukkar Sep 23, 2025
5abb665
Revert "[nrf noup] boot: Use NCS_ prefix for sdk-nrf specific Kconfigs"
jukkar Sep 23, 2025
205ac07
Revert "[nrf noup] zephyr: Enforce HMAC-SHA512 for NRF54L with X25519"
jukkar Sep 23, 2025
671886a
Revert "[nrf fromtree] imgtool: Fix x25519 TLV HMAC tag"
jukkar Sep 23, 2025
2bc25aa
Revert "[nrf fromtree] bootutil: Fix X25519 HMAC-SHA512"
jukkar Sep 23, 2025
9f9c14d
Revert "[nrf noup] boot: zephyr: Kconfig dependencies for PSA LITE"
jukkar Sep 23, 2025
3c620de
Revert "[nrf noup] boot: Add retry for image verification"
jukkar Sep 23, 2025
57add99
Revert "[nrf noup] boot: Provide default configuration for nRF54H20"
jukkar Sep 23, 2025
c4624f4
Revert "[nrf noup] boot: zephyr: Add bm firmware loader code"
jukkar Sep 23, 2025
69df65f
Revert "[nrf noup] nrf_cleanup: nRF54h: fix missing peripheral cleanup"
jukkar Sep 23, 2025
8ba1966
Revert "[nrf noup] boot: zephyr: boards: nrf54lm20pdk"
jukkar Sep 23, 2025
7633055
Revert "[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins"
jukkar Sep 23, 2025
814a7db
Revert "[nrf noup] boot/zephyr/Kconfig: fix MBEDTLS_CFG_FILE value"
jukkar Sep 23, 2025
74d2d08
Revert "[nrf noup] boot/zephyr/nrf_cleanup: cleanup uarte pins"
jukkar Sep 23, 2025
700a749
Revert "[nrf noup] boot/zephyr: nrf54h20dk cleanup adaptations"
jukkar Sep 23, 2025
b9aa02b
Revert "[nrf noup] boot/zephyr: nrf54h20dk board support"
jukkar Sep 23, 2025
366e7de
Revert "[nrf noup] zephyr: Use mbedTLS specific C functions with RSA"
jukkar Sep 23, 2025
5688774
Revert "[nrf noup] zephyr: Fix path variables"
jukkar Sep 23, 2025
0d27007
Revert "[nrf noup] zephyr: sdk-nrf specific overrides on PSA Kconfigs"
jukkar Sep 23, 2025
0f917c6
Revert "[nrf noup] partition_manager: Add support for internal flash …
jukkar Sep 23, 2025
6620bad
Revert "[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for…
jukkar Sep 23, 2025
33af731
Revert "[nrf noup] sysflash: Add missing _FLASH_0_ID definitions"
jukkar Sep 23, 2025
e5e4f19
Revert "[nrf noup] boot: Remove child/parent references"
jukkar Sep 23, 2025
bcf9056
Revert "[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig…
jukkar Sep 23, 2025
426d53e
Revert "[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MA…
jukkar Sep 23, 2025
614b735
Revert "[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs"
jukkar Sep 23, 2025
bea2cbc
Revert "[nrf noup] workflows: Add a backport workflow"
jukkar Sep 23, 2025
835ce6d
Revert "[nrf noup] boards: Thingy:91 X release config"
jukkar Sep 23, 2025
2285d57
Revert "[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUb…
jukkar Sep 23, 2025
41a2f1b
Revert "[nrf noup] treewide: Add support for sysbuild assigned images"
jukkar Sep 23, 2025
57d5581
Revert "[nrf noup] boot: zephyr: Do not lock PCD region with TF-M"
jukkar Sep 23, 2025
0e83a04
Revert "[nrf noup] boot: Add shared crypto for ECDSA and SHA"
jukkar Sep 23, 2025
b553fc6
Revert "[nrf noup] boards: nrf54l15dk: Disable FPROTECT"
jukkar Sep 23, 2025
1b1ce65
Revert "[nrf noup] bootutil: loader: Fix netcore address checking"
jukkar Sep 23, 2025
6861355
Revert "[nrf noup] boot/../loader: reboot after updating s0/s1"
jukkar Sep 23, 2025
e9dbc28
Revert "[nrf noup] boot/../loader: skip downgrade prevention for s1/s0"
jukkar Sep 23, 2025
827ac3d
Revert "[nrf noup] boot/zephyr: fix fw_info search"
jukkar Sep 23, 2025
38ea80e
Revert "[nrf noup] boot: zephyr: Disable boot banner if NCS_BOOT_BANN…
jukkar Sep 23, 2025
e3603d0
Revert "[nrf noup] boards: thingy91x: enable serial recovery"
jukkar Sep 23, 2025
96c0f5d
Revert "[nrf noup] loader: remove cleanup for direct xip mode"
jukkar Sep 23, 2025
ba27006
Revert "[nrf noup] loader: introduced cleanup of unusable secondary s…
jukkar Sep 23, 2025
fa54b9e
Revert "[nrf noup] sysflash: Add support for three images"
jukkar Sep 23, 2025
25ea283
Revert "[nrf noup] sysflash: Move partition manager definitions to pm…
jukkar Sep 23, 2025
5cdd38b
Revert "[nrf noup] boot: Add support for NSIB and multi-image"
jukkar Sep 23, 2025
ce1f6d9
Revert "[nrf noup] loader: Fix missing PCD define check"
jukkar Sep 23, 2025
c879500
Revert "[nrf noup] loader: work-around for multi-image builds"
jukkar Sep 23, 2025
b815b3d
Revert "[nrf noup] boards: thingy53: disable GPIO ISR support"
jukkar Sep 23, 2025
5962e99
Revert "[nrf noup] loader: Add firmware version check downgrade preve…
jukkar Sep 23, 2025
bd97bab
Revert "[nrf noup] zephyr: Boot even if EXT_ABI is not provided"
jukkar Sep 23, 2025
2fc18b5
Revert "[nrf noup] zephyr: Add RAM flash configuration to cache for s…
jukkar Sep 23, 2025
0f2ddaf
Revert "[nrf noup] loader: Do not check reset vector for XIP image"
jukkar Sep 23, 2025
82455dd
Revert "[nrf noup] loader: Fix reading reset addr to support ext flash"
jukkar Sep 23, 2025
1845626
Revert "[nrf noup] zephyr: Clean up non-secure RAM if enabled"
jukkar Sep 23, 2025
d376a70
Revert "[nrf noup] zephyr: clean peripherals state before boot"
jukkar Sep 23, 2025
3854eda
Revert "[nrf noup] boot: nrf53-specific customizations"
jukkar Sep 23, 2025
521ea52
Revert "[nrf noup] treewide: add NCS partition manager support"
jukkar Sep 23, 2025
7efda26
Revert "[nrf noup] boards: thingy91x: add board config"
jukkar Sep 23, 2025
b67bceb
Revert "[nrf noup] boards: add support for Thingy:91"
jukkar Sep 23, 2025
56f13e8
Revert "[nrf noup] zephyr: Remove duplication from cmake"
jukkar Sep 23, 2025
94a0209
Revert "[nrf noup] github: Add a commit tags check workflow"
jukkar Sep 23, 2025
1dcb159
Revert "[nrf fromtree] zephyr: Enable building ECDSA PSA variant"
jukkar Sep 23, 2025
171e71c
Revert "[nrf fromtree] loader: Allow to specify slot number in version"
jukkar Sep 23, 2025
6e7853a
Revert "[nrf fromlist] zephyr: Improve SHA support selectors"
jukkar Sep 23, 2025
5c9d12c
Revert "[nrf fromtree] boot: zephyr: RAM cleanup debug loop"
jukkar Sep 23, 2025
5dda3d4
Revert "[nrf fromlist] zephyr: boards: nrf - remove redundant multith…
jukkar Sep 23, 2025
1d52879
Revert "[nrf fromlist] bootutil: Unify app_max_size() implementations"
jukkar Sep 23, 2025
e538cc5
Revert "[nrf fromlist] boot: zephyr: boards: Remove outdated nrf54l15…
jukkar Sep 23, 2025
1b1a3db
Revert "[nrf fromtree] bootutil: Use flash base address for direct hash"
jukkar Sep 23, 2025
3af1060
Revert "[nrf fromtree] imgtool: Add support for HMAC/HKDF-SHA512 with…
jukkar Sep 23, 2025
89d5036
Revert "[nrf fromtree] zephyr: Support for HKDF/HMAC with SHA512"
jukkar Sep 23, 2025
b838a07
Revert "[nrf fromtree] bootutil: Add support for HAMC-SHA512 with ECI…
jukkar Sep 23, 2025
47b261f
Revert "[nrf fromtree] doc: Add information on supporting SHA512 with…
jukkar Sep 23, 2025
ffc5bb7
Revert "[nrf fromtree] bootutil: Small cleanup in image.h"
jukkar Sep 23, 2025
4334aa1
Revert "[nrf fromtree] zephyr: Improve logging"
jukkar Sep 23, 2025
9bd2f19
Revert "[nrf fromtree] bootutil: Improve logging coverage"
jukkar Sep 23, 2025
94578d5
Revert "[nrf fromtree] boot: zephyr: Refactor DFU entry logic"
jukkar Sep 23, 2025
9ed5840
Revert "[nrf fromtree] bootutil: loader: overwrite-only mode fix for …
jukkar Sep 23, 2025
8a40a15
Revert "[nrf fromlist] zephyr: Fix pinreset trigger"
jukkar Sep 23, 2025
f7d3a0c
Revert "[nrf fromtree] scripts: imgtool: Compression of no header-pad…
jukkar Sep 23, 2025
19cf8ca
Revert "[nrf fromlist] bootutil: Fix boot_scramble_region escaping fl…
jukkar Sep 23, 2025
0ef308d
Revert "[nrf fromlist] bootutil: Replace local identifiers with commo…
jukkar Sep 23, 2025
52b6dc8
Revert "[nrf fromlist] bootutil: Remove redundant ALIGN definitions"
jukkar Sep 23, 2025
86697dc
Revert "[nrf fromlist] bootutil: Move all encryption TLV helper ident…
jukkar Sep 23, 2025
f8925f9
[nrf mergeup] Merge upstream up to commit 8d14eebfe0b7402ebdf77ce1b99…
jukkar Sep 23, 2025
bda0167
[nrf noup] github: Add a commit tags check workflow
carlescufi Oct 10, 2023
9507c25
[nrf noup] zephyr: Remove duplication from cmake
sigvartmh Mar 26, 2019
11916fe
[nrf noup] boards: add support for Thingy:91
bjda Sep 20, 2019
fff02ed
[nrf noup] boards: thingy91x: add board config
maxd-nordic Dec 8, 2023
0081445
[nrf noup] treewide: add NCS partition manager support
SebastianBoe Dec 12, 2018
7f1fb0c
[nrf noup] boot: nrf53-specific customizations
sigvartmh Aug 27, 2020
d6a003b
[nrf noup] zephyr: clean peripherals state before boot
nvlsianpu Feb 27, 2020
92da561
[nrf noup] zephyr: Clean up non-secure RAM if enabled
sigvartmh Jan 6, 2023
f239be9
[nrf noup] loader: Fix reading reset addr to support ext flash
chrta Feb 10, 2022
99de749
[nrf noup] loader: Do not check reset vector for XIP image
de-nordic Sep 22, 2023
6512a03
[nrf noup] zephyr: Add RAM flash configuration to cache for sysbuild
nordicjm Sep 18, 2023
0f20d8e
[nrf noup] zephyr: Boot even if EXT_ABI is not provided
sigvartmh Oct 17, 2023
d1c8f64
[nrf noup] loader: Add firmware version check downgrade prevention
sigvartmh Sep 27, 2023
2c695f4
[nrf noup] boards: thingy53: disable GPIO ISR support
nika-nordic Oct 9, 2023
9a33626
[nrf noup] loader: work-around for multi-image builds
sigvartmh Mar 30, 2021
a23ae31
[nrf noup] loader: Fix missing PCD define check
nordicjm Aug 31, 2023
5cb4e74
[nrf noup] boot: Add support for NSIB and multi-image
sigvartmh May 31, 2023
2c2c2e5
[nrf noup] sysflash: Move partition manager definitions to pm_sysflash.h
de-nordic Aug 10, 2023
7025efd
[nrf noup] sysflash: Add support for three images
de-nordic Aug 11, 2023
1e13c43
[nrf noup] loader: introduced cleanup of unusable secondary slot
nvlsianpu Feb 15, 2024
210289d
[nrf noup] loader: remove cleanup for direct xip mode
gchwier May 17, 2024
8a1a4c9
[nrf noup] boards: thingy91x: enable serial recovery
maxd-nordic Mar 12, 2024
cc0b66f
[nrf noup] boot: zephyr: Disable boot banner if NCS_BOOT_BANNER is used
rlubos May 17, 2024
b054302
[nrf noup] boot/zephyr: fix fw_info search
nvlsianpu May 27, 2024
6ccfff8
[nrf noup] boot/../loader: skip downgrade prevention for s1/s0
nvlsianpu Jun 13, 2024
7e0d802
[nrf noup] boot/../loader: reboot after updating s0/s1
nvlsianpu Jun 18, 2024
919ecf0
[nrf noup] bootutil: loader: Fix netcore address checking
nordicjm Aug 29, 2024
3de4115
[nrf noup] boards: nrf54l15dk: Disable FPROTECT
nvlsianpu Sep 18, 2024
5015e54
[nrf noup] boot: Add shared crypto for ECDSA and SHA
sigvartmh Feb 14, 2019
2e29ea6
[nrf noup] boot: zephyr: Do not lock PCD region with TF-M
MarkusLassila Aug 30, 2024
8a76fc2
[nrf noup] treewide: Add support for sysbuild assigned images
nordicjm Sep 10, 2024
4aba01c
[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUboot image
nordicjm Oct 15, 2024
2847335
[nrf noup] boards: Thingy:91 X release config
maxd-nordic Oct 23, 2024
6ac9844
[nrf noup] workflows: Add a backport workflow
carlescufi Oct 25, 2024
5ef6bae
[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs
michalek-no Nov 7, 2024
232924a
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SE…
nvlsianpu Sep 19, 2024
c2358e0
[nrf noup] boot: zephyr: serial_recovery: Add nRF5340 Kconfig override
nordicjm Dec 9, 2024
eb87347
[nrf noup] boot: Remove child/parent references
nordicjm Dec 5, 2024
dbbf3fd
[nrf noup] sysflash: Add missing _FLASH_0_ID definitions
de-nordic Jan 15, 2025
19e8300
[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for thingy 53
kkasperczyk-no Jan 24, 2025
4185e97
[nrf noup] partition_manager: Add support for internal flash netcore DFU
hellesvik-nordic Feb 6, 2025
0918e21
[nrf noup] zephyr: sdk-nrf specific overrides on PSA Kconfigs
de-nordic Mar 4, 2025
306a249
[nrf noup] zephyr: Fix path variables
nordicjm Jul 11, 2023
ce02ebe
[nrf noup] zephyr: Use mbedTLS specific C functions with RSA
de-nordic Mar 14, 2025
1bb7845
[nrf noup] boot/zephyr: nrf54h20dk board support
nordic-mik7 Mar 10, 2025
a5e4aeb
[nrf noup] boot/zephyr: nrf54h20dk cleanup adaptations
nordic-mik7 Mar 28, 2025
a9918fa
[nrf noup] boot/zephyr/nrf_cleanup: cleanup uarte pins
nvlsianpu Mar 5, 2024
a610578
[nrf noup] boot/zephyr/Kconfig: fix MBEDTLS_CFG_FILE value
nvlsianpu Apr 1, 2025
5b586d4
[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins
nvlsianpu Apr 11, 2025
97fcfdc
[nrf noup] boot: zephyr: boards: nrf54lm20pdk
michalek-no Apr 23, 2025
4509ceb
[nrf noup] nrf_cleanup: nRF54h: fix missing peripheral cleanup
ahasztag Apr 28, 2025
d3ee583
[nrf noup] boot: zephyr: Add bm firmware loader code
nordicjm Jun 12, 2025
2b13bce
[nrf noup] boot: Provide default configuration for nRF54H20
tomchy Jul 3, 2025
d29c5a5
[nrf noup] boot: Add retry for image verification
adsz-nordic Jul 8, 2025
47d8a1c
[nrf noup] boot: zephyr: Kconfig dependencies for PSA LITE
michalek-no May 28, 2025
54d2fda
[nrf noup] zephyr: Enforce HMAC-SHA512 for NRF54L with X25519
de-nordic Jul 30, 2025
9126c5a
[nrf noup] boot: Use NCS_ prefix for sdk-nrf specific Kconfigs
de-nordic Jul 31, 2025
e2bd607
[nrf noup] boot/zephyr/nrf_cleanup: fix index error
nordic-auko Aug 4, 2025
9d16a63
[nrf noup] workflows: Add manifest PRs creation
karhama Aug 8, 2025
d8357fa
[nrf noup] boot: zephyr: Fix bm IO button check
nordicjm Aug 7, 2025
9508e94
[nrf noup] boot: zephyr: Adjust PSA requirements for PSA_CORE_LITE
Vge0rge Aug 8, 2025
f5d42e9
[nrf noup] zephyr: hw security counter limited set by default
ahasztag Aug 11, 2025
4adc4f6
[nrf noup] boot: zephyr: remove nonsecure ram cleanup
michalek-no Aug 19, 2025
f2a6ad2
[nrf noup] boot: zephyr: Delay bm IO button check
nordicjm Aug 19, 2025
25f21d2
[nrf noup] boot: zephyr: Add NCS boot banner
nordicjm Jun 11, 2024
07b4cb6
[nrf noup] boot: zephyr: firmware_loader: Allow GPIO usage in BM
nordicjm Aug 26, 2025
211da1b
[nrf noup] boot: zephyr: Disable self RWX
michalek-no Aug 5, 2025
c54198b
[nrf noup] zephyr: boards: nrf54lm20dk_nrf54lm20a_cpuapp.conf
michalek-no Aug 26, 2025
cc558ef
[nrf noup] bootloader: Add bootloader requests
tomchy Jul 28, 2025
bb72623
[nrf noup] boot: Improve bootloader request handling
tomchy Sep 4, 2025
90b2279
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
1efcec1
[nrf noup] decompression: Align to changes in nrfcompress API
nordic-mik7 May 13, 2025
4d4123b
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
d0cd58f
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
37df88a
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
08e2009
[nrf noup] bootutil: key revocation
michalek-no Mar 17, 2025
e2bfd22
[nrf noup] Added BOOT_SIGNATURE_USING_ITS for ecdsa configuration
ahasztag Jul 24, 2025
7047d54
[nrf noup] boot: Use NCS_ prefix for sdk-nrf specific Kconfigs
de-nordic Aug 1, 2025
335b6df
[nrf noup] Support for ed25519 signature verification using ITS
nordic-mik7 Aug 22, 2025
2c3b2be
[nrf noup] zephyr: Add basic UUID checks implementation
tomchy Sep 5, 2025
3fc7ca5
[nrf noup] boot: Fix test failing with bootloader requests
ahasztag Sep 9, 2025
4e25b7a
[nrf noup] bootloader: Fix logging in bootloader requests module
ahasztag Sep 11, 2025
cb297de
[nrf noup] bootutil: Locking KMU keys
de-nordic Jul 3, 2025
a5f3c93
[nrf noup] boot/zephyr: nRF54h20 resume from S2RAM (hardened)
nvlsianpu Aug 1, 2025
ea35f98
[nrf noup] boot/zephyr/socs: nrf54h20 prj.conf for S2RAM
nvlsianpu Sep 9, 2025
b8200d3
[nrf noup] ci: add reopen for manifest-pr action
karhama Sep 16, 2025
0d5b49d
[nrf noup] bootutil: Remove bootutil_find_key from code
de-nordic Sep 9, 2025
98b9e4b
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
72179c9
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
6108352
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
a72f4f3
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
e72408e
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
3b4341c
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
98b6e78
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
2b997f2
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
ea6bb5c
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
a290437
[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECONDARY
de-nordic Sep 9, 2025
a9a760f
[nrf noup] loader: Too many params when calling bootutil_img_validate
jukkar Sep 15, 2025
347a912
[nrf noup] boot: zephyr: Prevent old USB stack warning
nordicjm Sep 16, 2025
e8ddb17
[nrf noup] boot: bootutil: Fix b0 checks
nordicjm Sep 16, 2025
40861fd
[nrf noup] boot/zephyr/socs: nrf54h20 prj.conf fix
jukkar Sep 18, 2025
a999034
[nrf noup] boot/zephyr: update nrf54l15dk ext flash configs
gchwier Sep 17, 2025
70846f7
Revert "[nrf noup] boot/zephyr: update nrf54l15dk ext flash configs"
gchwier Sep 26, 2025
a0de307
Revert "[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs"
gchwier Sep 26, 2025
bba107f
[nrf fromtree] zephyr: nRF54L05 and L10 configuration with LTO enabled
gchwier Sep 26, 2025
e184235
[nrf noup] boot/zephyr: add nrf54l15dk ext flash configs
michalek-no Nov 7, 2024
35be0b7
[nrf noup] boot/zephyr: update nrf54l15dk ext flash configs
gchwier Sep 17, 2025
511e742
[nrf noup] nrf_cleanup: temporary GRTC cleanup with no counter reset
ahasztag Sep 29, 2025
388a9da
[nrf fromtree] hooks: Use dedicated type for slot numbers
tomchy Sep 29, 2025
8534953
[nrf noup] mcuboot: Use dedicated type for slot numbers
tomchy Sep 29, 2025
7c44ed0
[nrf fromtree] boot: bootutil: write_sz fix
michalek-no Sep 26, 2025
049dc0b
[nrf fromtree] bootutil: Fix minor issues
tomchy Oct 3, 2025
f34b20b
[nrf noup] mcuboot: Fix warning
tomchy Oct 3, 2025
26e93ba
[nrf fromtree] boot: zephyr: Fix IO-based entrance method
tomchy Sep 19, 2025
077bfe5
[nrf noup] boot/zephyr/nrf54h20_custom_s2ram: direct-xip support
nvlsianpu Sep 30, 2025
1c8a595
[nrf noup] bootutil/loader: integrate nRF54h S2RAM with diect-xip
nvlsianpu Sep 30, 2025
754f958
[nrf noup] bootutil: Use correct set of KMU key slots
nordicjm Sep 12, 2025
dd353bc
[nrf noup] boot/zephyr: improve S2RAM resume support using dedicated API
nvlsianpu Sep 18, 2025
6256d9f
[nrf noup] boot/zephyr/socs: update nrf54h20 prj.conf for S2RAM
nvlsianpu Sep 26, 2025
6435279
[nrf noup] boot/bootutil/loader: image discovery by ih_load_address
nvlsianpu Jul 2, 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
17 changes: 17 additions & 0 deletions .github/workflows/manifest-PR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: handle manifest PR
on:
pull_request_target:
types: [opened, synchronize, closed, reopened]
branches:
- main


jobs:
call-manifest-pr-action:
runs-on: ubuntu-latest
steps:
- name: handle manifest PR
uses: nrfconnect/action-manifest-pr@main
with:
token: ${{ secrets.NCS_GITHUB_TOKEN }}
manifest-pr-title-details: ${{ github.event.pull_request.title }}
2 changes: 1 addition & 1 deletion boot/bootutil/include/bootutil/boot_hooks.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,6 @@ int flash_area_get_device_id_hook(const struct flash_area *fa,
* @return 0 if a slot was requested;
* BOOT_HOOK_REGULAR follow the normal execution path.
*/
int boot_find_next_slot_hook(struct boot_loader_state *state, uint8_t image, uint32_t *active_slot);
int boot_find_next_slot_hook(struct boot_loader_state *state, uint8_t image, enum boot_slot *active_slot);

#endif /*H_BOOTUTIL_HOOKS*/
106 changes: 106 additions & 0 deletions boot/bootutil/include/bootutil/boot_request.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2025 Nordic Semiconductor ASA
*/

#ifndef __BOOT_REQUEST_H__
#define __BOOT_REQUEST_H__

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>
#include <stdbool.h>
#include <bootutil/bootutil_public.h>

/** Special value, indicating that there is no preferred slot. */
#define BOOT_REQUEST_NO_PREFERRED_SLOT UINT32_MAX

/**
* @brief Request a bootloader to confirm the specified slot of an image.
*
* @param[in] image Image number.
* @param[in] slot Slot number.
*
* @return 0 if requested, negative error code otherwise.
*/
int boot_request_confirm_slot(uint8_t image, enum boot_slot slot);

/**
* @brief Request a bootloader to boot the specified slot of an image.
*
* @param[in] image Image number.
* @param[in] slot Slot number.
*
* @return 0 if requested, negative error code otherwise.
*/
int boot_request_set_preferred_slot(uint8_t image, enum boot_slot slot);

/**
* @brief Request a bootloader to boot recovery image.
*
* @return 0 if requested, negative error code otherwise.
*/
int boot_request_enter_recovery(void);

/**
* @brief Request a bootloader to boot firmware loader image.
*
* @return 0 if requested, negative error code otherwise.
*/
int boot_request_enter_firmware_loader(void);

/**
* @brief Check if there is a request to confirm the specified slot of an image.
*
* @param[in] image Image number.
* @param[in] slot Slot number.
*
* @return true if requested, false otherwise.
*/
bool boot_request_check_confirmed_slot(uint8_t image, enum boot_slot slot);

/**
* @brief Find if there is a request to boot certain slot of the specified image.
*
* @param[in] image Image number.
*
* @return slot number if requested, BOOT_SLOT_NONE otherwise.
*/
enum boot_slot boot_request_get_preferred_slot(uint8_t image);

/**
* @brief Check if there is a request to boot recovery image.
*
* @return true if requested, false otherwise.
*/
bool boot_request_detect_recovery(void);

/**
* @brief Check if there is a request to boot firmware loader image.
*
* @return true if requested, false otherwise.
*/
bool boot_request_detect_firmware_loader(void);

/**
* @brief Initialize boot requests module.
*
* @return 0 if successful, negative error code otherwise.
*/
int boot_request_init(void);

/**
* @brief Clear/drop all requests.
*
* @return 0 if successful, negative error code otherwise.
*/
int boot_request_clear(void);

#ifdef __cplusplus
}
#endif

#endif /* __BOOT_REQUEST_H__ */
116 changes: 110 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 @@ -72,12 +73,18 @@
#include "bootutil/crypto/common.h"
#endif

#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 @@ -129,8 +136,7 @@ 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
#ifndef MCUBOOT_USE_PSA_CRYPTO
/*
* cp points to ASN1 string containing an integer.
* Verify the tag, and that the length is 32 bytes. Helper function.
Expand Down Expand Up @@ -180,8 +186,9 @@ static int bootutil_decode_sig(uint8_t signature[NUM_ECC_BYTES * 2], uint8_t *cp
}
return 0;
}
#endif /* not MCUBOOT_ECDSA_NEED_ASN1_SIG */
#endif /* !MCUBOOT_USE_PSA_CRYPTO */

#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 @@ -250,16 +257,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 @@ -464,6 +475,7 @@ static int bootutil_ecdsa_parse_public_key(bootutil_ecdsa_context *ctx,
}
#endif /* !MCUBOOT_BUILTIN_KEY */

#if !defined(CONFIG_NCS_BOOT_SIGNATURE_USING_ITS)
/* Verify the signature against the provided hash. The signature gets parsed from
* the encoding first, then PSA Crypto has a dedicated API for ECDSA verification
*/
Expand All @@ -482,6 +494,55 @@ static inline int bootutil_ecdsa_verify(bootutil_ecdsa_context *ctx,
return (int) psa_verify_hash(ctx->key_id, PSA_ALG_ECDSA(ctx->required_algorithm),
hash, hlen, reformatted_signature, 2*ctx->curve_byte_count);
}
#else /* !CONFIG_NCS_BOOT_SIGNATURE_USING_ITS */

static const psa_key_id_t builtin_key_ids[] = {
0x40022100,
0x40022101,
0x40022102,
0x40022103
};

#define BOOT_SIGNATURE_BUILTIN_KEY_SLOTS ARRAY_SIZE(builtin_key_ids)

static inline int bootutil_ecdsa_verify(bootutil_ecdsa_context *ctx,
uint8_t *pk, size_t pk_len,
uint8_t *hash, size_t hlen,
uint8_t *sig, size_t slen)
{
(void)pk;
(void)pk_len;
(void)slen;
psa_status_t status = PSA_ERROR_BAD_STATE;

/* Initialize PSA Crypto */
status = psa_crypto_init();
if (status != PSA_SUCCESS) {
BOOT_LOG_ERR("PSA crypto init failed %d", status);
return 1;
}

uint8_t reformatted_signature[96] = {0}; /* Enough for P-384 signature sizes */
parse_signature_from_rfc5480_encoding(sig, ctx->curve_byte_count, reformatted_signature);

status = PSA_ERROR_BAD_STATE;

for (int i = 0; i < BOOT_SIGNATURE_BUILTIN_KEY_SLOTS; ++i) {
psa_key_id_t kid = builtin_key_ids[i];

status = psa_verify_hash(kid, PSA_ALG_ECDSA(ctx->required_algorithm),
hash, hlen, reformatted_signature, 2*ctx->curve_byte_count);
if (status == PSA_SUCCESS) {
break;
}
BOOT_LOG_ERR("ECDSA signature verification failed %d", status);
}

return status == PSA_SUCCESS ? 0 : 2;
}

#endif /* !CONFIG_NCS_BOOT_SIGNATURE_USING_ITS */

#elif defined(MCUBOOT_USE_MBED_TLS)

typedef mbedtls_ecdsa_context bootutil_ecdsa_context;
Expand Down Expand Up @@ -615,6 +676,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
Loading