Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
579 commits
Select commit Hold shift + click to select a range
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
473f7d7
[nrf noup] boards/thingy53_nrf5340_cpuapp: defaulat to LTO
nvlsianpu Oct 13, 2025
1a0361b
[nrf fromtree] bootutil: Fix log module registration
de-nordic Oct 1, 2025
9be087c
[nrf noup] boot: zephyr: HMAC_SHA512 for nrf54L series Kconfig
michalek-no Oct 13, 2025
1a9ec93
[nrf noup] boot: Configure ROM_END_OFFSET images
tomchy Sep 25, 2025
6227edc
[nrf noup] boot/zephyr: fix and rename nrf54l15dk ext flash configs
ahasztag Oct 15, 2025
1734eeb
[nrf fromtree] scripts: Safely fix python files
nordicjm Oct 8, 2025
9f768d2
[nrf fromtree] scripts: Non-safely fix python files
nordicjm Oct 8, 2025
4b5901f
[nrf fromtree] Revert "loader: Allow to specify slot number in version"
tomchy Oct 15, 2025
92b8fd3
[nrf noup] boot: zephyr: update for NCS BM include folder structure
eivindj-nordic Oct 15, 2025
697ca33
[nrf noup] boot: zephyr: Region protection adjustments for nRF54L
ahasztag Oct 10, 2025
a8161d7
[nrf fromtree] boot: zephyr: boards: remove nrf54h20dk overlay
bjarki-andreasen Oct 21, 2025
484a6f3
[nrf noup] Handle pending confirm requests
tomchy Oct 27, 2025
459288d
[nrf noup] bootutil: Fix ITS key locking compile error
ahasztag Oct 31, 2025
82b1eee
[nrf noup] boot: zephyr: BM key revocation
michalek-no Nov 3, 2025
0d263fa
[nrf noup] bootutil: ed25519_psa: multi verification revocation
michalek-no Nov 3, 2025
9e03c89
[nrf fromtree] bootutil: Add API to lock HW counter
tomchy Nov 12, 2025
2842eb0
[nrf fromtree] zephyr: Fix BOOT_DOWNGRADE_PREVENTION_CHOICE symbol
tomchy Nov 13, 2025
3839107
[nrf noup] bootloader: Add support for IronSide counters
tomchy Nov 13, 2025
fdcf758
[nrf noup] zephyr: Move KMU base slot configuration to Kconfig
de-nordic Nov 9, 2025
5caa14a
Revert "[nrf noup] zephyr: Move KMU base slot configuration to Kconfig"
tomchy Nov 19, 2025
c2a3c8f
Revert "[nrf noup] bootloader: Add support for IronSide counters"
tomchy Nov 17, 2025
1949973
Revert "[nrf noup] bootutil: ed25519_psa: multi verification revocation"
tomchy Nov 6, 2025
c05f58b
Revert "[nrf noup] bootutil: Fix ITS key locking compile error"
tomchy Nov 4, 2025
98e3462
Revert "[nrf noup] Handle pending confirm requests"
tomchy Nov 4, 2025
64b5aa8
Revert "[nrf noup] boot: zephyr: remove nonsecure ram cleanup"
tomchy Oct 23, 2025
b8928ac
Revert "[nrf noup] boot: zephyr: Region protection adjustments for nR…
tomchy Oct 23, 2025
bf24b03
Revert "[nrf noup] boards/thingy53_nrf5340_cpuapp: defaulat to LTO"
tomchy Oct 23, 2025
8caf29a
Revert "[nrf noup] boot/zephyr: improve S2RAM resume support using de…
tomchy Oct 23, 2025
5650d9c
Revert "[nrf noup] bootutil: Use correct set of KMU key slots"
tomchy Oct 23, 2025
95914bc
Revert "[nrf noup] bootutil/loader: integrate nRF54h S2RAM with diect…
tomchy Oct 23, 2025
75b8229
Revert "[nrf noup] mcuboot: Use dedicated type for slot numbers"
tomchy Oct 23, 2025
459f226
Revert "[nrf noup] nrf_cleanup: temporary GRTC cleanup with no counte…
tomchy Oct 23, 2025
e1e9092
Revert "[nrf noup] boot: bootutil: Fix b0 checks"
tomchy Oct 23, 2025
25478d2
Revert "[nrf noup] loader: Too many params when calling bootutil_img_…
tomchy Oct 23, 2025
da71ea0
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
72e6217
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
525310e
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
f02379f
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
0182c0b
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
22c23f0
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
b3f5392
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
7a1602d
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
d74ce74
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
42c8ac7
Revert "[nrf noup] loader: Use BOOT_SLOT_PRIMARY and BOOT_SLOT_SECOND…
tomchy Oct 23, 2025
6b46a7b
Revert "[nrf noup] bootutil: Remove bootutil_find_key from code"
tomchy Oct 23, 2025
cd19b18
Revert "[nrf noup] bootutil: Locking KMU keys"
tomchy Oct 23, 2025
3ddae39
Revert "[nrf noup] bootloader: Fix logging in bootloader requests mod…
tomchy Oct 23, 2025
ea09b35
Revert "[nrf noup] boot: Fix test failing with bootloader requests"
tomchy Oct 23, 2025
355c210
Revert "[nrf noup] Support for ed25519 signature verification using ITS"
tomchy Oct 23, 2025
809e06c
Revert "[nrf noup] boot: Use NCS_ prefix for sdk-nrf specific Kconfigs"
tomchy Oct 23, 2025
f0e32f2
Revert "[nrf noup] Added BOOT_SIGNATURE_USING_ITS for ecdsa configura…
tomchy Oct 23, 2025
6c4dcd7
Revert "[nrf noup] bootutil: key revocation"
tomchy Oct 23, 2025
fcc9b61
Revert "[nrf noup] boot: bootutil: Allow configuring number of KMU keys"
tomchy Oct 23, 2025
779a9b4
Revert "[nrf noup] bootutil: Add support for KMU stored ED25519 signa…
tomchy Oct 23, 2025
1a7a567
Revert "[nrf noup] boot: zephyr: Add experimental selection to compre…
tomchy Oct 23, 2025
8d2e047
Revert "[nrf noup] decompression: Align to changes in nrfcompress API"
tomchy Oct 23, 2025
8f518f0
Revert "[nrf noup] zephyr: Add support for compressed image updates"
tomchy Oct 23, 2025
5549c75
Revert "[nrf noup] boot: Improve bootloader request handling"
tomchy Oct 23, 2025
688b7cc
Revert "[nrf noup] bootloader: Add bootloader requests"
tomchy Oct 23, 2025
09d3daa
Revert "[nrf noup] boot: zephyr: Disable self RWX"
tomchy Oct 23, 2025
300f5ea
Revert "[nrf noup] boot/zephyr/nrf_cleanup: fix index error"
tomchy Oct 23, 2025
8fb1185
Revert "[nrf noup] boot: Use NCS_ prefix for sdk-nrf specific Kconfigs"
tomchy Oct 23, 2025
f33c839
Revert "[nrf noup] boot: Add retry for image verification"
tomchy Oct 23, 2025
f367e86
Revert "[nrf noup] nrf_cleanup: nRF54h: fix missing peripheral cleanup"
tomchy Oct 23, 2025
fe1d296
Revert "[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins"
tomchy Oct 23, 2025
9175f60
Revert "[nrf noup] boot/zephyr/nrf_cleanup: cleanup uarte pins"
tomchy Oct 23, 2025
0b393b5
Revert "[nrf noup] boot/zephyr: nrf54h20dk cleanup adaptations"
tomchy Oct 23, 2025
de1eed8
Revert "[nrf noup] partition_manager: Add support for internal flash …
tomchy Oct 23, 2025
cd60239
Revert "[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for…
tomchy Oct 23, 2025
2dbd443
Revert "[nrf noup] sysflash: Add missing _FLASH_0_ID definitions"
tomchy Oct 23, 2025
708c135
Revert "[nrf noup] boot: Remove child/parent references"
tomchy Oct 23, 2025
7acba60
Revert "[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUb…
tomchy Oct 23, 2025
09b31e5
Revert "[nrf noup] treewide: Add support for sysbuild assigned images"
tomchy Oct 23, 2025
3867b8d
Revert "[nrf noup] boot: zephyr: Do not lock PCD region with TF-M"
tomchy Oct 23, 2025
a0e7bad
Revert "[nrf noup] bootutil: loader: Fix netcore address checking"
tomchy Oct 23, 2025
6c78e52
Revert "[nrf noup] boot/../loader: reboot after updating s0/s1"
tomchy Oct 23, 2025
e914397
Revert "[nrf noup] boot/../loader: skip downgrade prevention for s1/s0"
tomchy Oct 23, 2025
90f5bce
Revert "[nrf noup] boot/zephyr: fix fw_info search"
tomchy Oct 23, 2025
6e17859
Revert "[nrf noup] loader: remove cleanup for direct xip mode"
tomchy Oct 23, 2025
797c769
Revert "[nrf noup] loader: introduced cleanup of unusable secondary s…
tomchy Oct 23, 2025
640acfe
Revert "[nrf noup] sysflash: Add support for three images"
tomchy Oct 23, 2025
e88fdbe
Revert "[nrf noup] sysflash: Move partition manager definitions to pm…
tomchy Oct 23, 2025
8edcd0c
Revert "[nrf noup] boot: Add support for NSIB and multi-image"
tomchy Oct 23, 2025
aa73c65
Revert "[nrf noup] loader: Fix missing PCD define check"
tomchy Oct 23, 2025
7775939
Revert "[nrf noup] boards: thingy53: disable GPIO ISR support"
tomchy Oct 23, 2025
a8bc86b
Revert "[nrf noup] loader: Add firmware version check downgrade preve…
tomchy Oct 23, 2025
86e82c6
Revert "[nrf noup] zephyr: Boot even if EXT_ABI is not provided"
tomchy Oct 23, 2025
f2d8a8c
Revert "[nrf noup] zephyr: Add RAM flash configuration to cache for s…
tomchy Oct 23, 2025
0b328a8
Revert "[nrf noup] loader: Do not check reset vector for XIP image"
tomchy Oct 23, 2025
2a3f539
Revert "[nrf noup] loader: Fix reading reset addr to support ext flash"
tomchy Oct 23, 2025
9e26c48
Revert "[nrf noup] zephyr: Clean up non-secure RAM if enabled"
tomchy Oct 23, 2025
df47c7c
Revert "[nrf noup] zephyr: clean peripherals state before boot"
tomchy Oct 23, 2025
f1dbfac
Revert "[nrf noup] boot: nrf53-specific customizations"
tomchy Oct 23, 2025
ca0df6d
Revert "[nrf noup] treewide: add NCS partition manager support"
tomchy Oct 23, 2025
550aebd
[nrf fromtree] bootutil: Add MCUBOOT_CHECK_HEADER_LOAD_ADDRESS
de-nordic Oct 7, 2025
63b1ff7
[nrf fromtree] zephyr: Added MCUBOOT_CHECK_HEADER_LOAD_ADDRESS Kconfig
de-nordic Oct 7, 2025
6ae3e0b
[nrf fromtree] sim: Parametrize make_bad_secondary_slot_image
de-nordic Oct 8, 2025
9ebad96
[nrf fromtree] sim: Add test for MCUBOOT_CHECK_HEADER_LOAD_ADDRESS
de-nordic Oct 8, 2025
394f19c
[nrf fromtree] zephyr: Deprecate MCUBOOT_VERIFY_IMG_ADDRESS
de-nordic Oct 8, 2025
1aba197
[nrf fromtree] bootutil: Move boot_enc_init in boot_swap_image
de-nordic Oct 9, 2025
17f9541
[nrf fromtree] bootutil: Replace literal slot indexes with identifiers
de-nordic Oct 14, 2025
527a960
[nrf fromtree] bootutil: Replace boot_write_enc_key with boot_write_e…
de-nordic Oct 14, 2025
6f60150
[nrf fromtree] boot: bootutil: swap_offset: Fix not including unprote…
nordicjm Oct 15, 2025
5c54c29
[nrf fromtree] docs: design: Add update on swap using offset
nordicjm Oct 15, 2025
01fe50d
[nrf fromtree] bootutil: Drop slot number and boot_state from most bo…
de-nordic Oct 17, 2025
85c8c4b
[nrf fromtree] boot: bootutil: fix image_index definition
stgloorious Oct 2, 2025
5467b48
[nrf fromtree] loader: Fix compile-time issues in loader.c
tomchy Oct 22, 2025
7a54863
[nrf fromtree] loader: Rename boot_version_cmp
tomchy Oct 21, 2025
61a52af
[nrf fromtree] loader: Optimize boot_check_header_erased(..)
tomchy Oct 21, 2025
23af6b5
[nrf fromtree] loader: Unify header_valid(..) API
tomchy Oct 21, 2025
d953bbb
[nrf fromtree] loader: Unify image check API.
tomchy Oct 21, 2025
5aa615d
[nrf fromtree] bootutil: Add missing docs
tomchy Oct 21, 2025
c9befb4
[nrf fromtree] bootutil: Move state-independent area APIs
tomchy Oct 21, 2025
72f223f
[nrf fromtree] loader: Move boot_get_max_app_size(..) API
tomchy Oct 21, 2025
2d71bf1
[nrf fromtree] bootutil: Move update-independent code
tomchy Oct 21, 2025
2e9431f
[nrf fromlist] design: Fix UUID TLVs
tomchy Nov 18, 2025
78ed415
[nrf fromlist] boot: Add MCUboot manifest TLV
tomchy Oct 9, 2025
e2b23da
[nrf fromlist] imgtool: Add a possibility to attach manifest TLV
tomchy Oct 9, 2025
f8d18ef
[nrf fromlist] bootutil: Add manifest-based loader for Direct XIP
tomchy Oct 15, 2025
7dcb00d
[nrf fromlist] doc: Add manifest conceptual description
tomchy Nov 4, 2025
3ed02ee
[nrf noup] treewide: add NCS partition manager support
SebastianBoe Dec 12, 2018
d423d5e
[nrf noup] boot: nrf53-specific customizations
sigvartmh Aug 27, 2020
c44f150
[nrf noup] zephyr: clean peripherals state before boot
nvlsianpu Feb 27, 2020
35110a3
[nrf noup] zephyr: Clean up non-secure RAM if enabled
sigvartmh Jan 6, 2023
7c64e87
[nrf noup] loader: Fix reading reset addr to support ext flash
chrta Feb 10, 2022
8f738fe
[nrf noup] loader: Do not check reset vector for XIP image
de-nordic Sep 22, 2023
18ae08b
[nrf noup] zephyr: Add RAM flash configuration to cache for sysbuild
nordicjm Sep 18, 2023
5d2486d
[nrf noup] zephyr: Boot even if EXT_ABI is not provided
sigvartmh Oct 17, 2023
e039de8
[nrf noup] loader: Add firmware version check downgrade prevention
sigvartmh Sep 27, 2023
2afb84e
[nrf noup] boards: thingy53: disable GPIO ISR support
nika-nordic Oct 9, 2023
13856a6
[nrf noup] loader: Fix missing PCD define check
nordicjm Aug 31, 2023
067ee83
[nrf noup] boot: Add support for NSIB and multi-image
sigvartmh May 31, 2023
a6470b7
[nrf noup] sysflash: Move partition manager definitions to pm_sysflash.h
de-nordic Aug 10, 2023
b761cd2
[nrf noup] sysflash: Add support for three images
de-nordic Aug 11, 2023
37dc87a
[nrf noup] loader: introduced cleanup of unusable secondary slot
nvlsianpu Feb 15, 2024
90ba1dc
[nrf noup] loader: remove cleanup for direct xip mode
gchwier May 17, 2024
e89b75e
[nrf noup] boot/zephyr: fix fw_info search
nvlsianpu May 27, 2024
f193892
[nrf noup] boot/../loader: skip downgrade prevention for s1/s0
nvlsianpu Jun 13, 2024
4a38b97
[nrf noup] boot/../loader: reboot after updating s0/s1
nvlsianpu Jun 18, 2024
d3d0c76
[nrf noup] bootutil: loader: Fix netcore address checking
nordicjm Aug 29, 2024
33faac8
[nrf noup] boot: zephyr: Do not lock PCD region with TF-M
MarkusLassila Aug 30, 2024
b08d22e
[nrf noup] treewide: Add support for sysbuild assigned images
nordicjm Sep 10, 2024
56afc49
[nrf noup] boot: bootutil: loader: Add s0/s1 checking of MCUboot image
nordicjm Oct 15, 2024
bb37379
[nrf noup] boot: Remove child/parent references
nordicjm Dec 5, 2024
96d7610
[nrf noup] sysflash: Add missing _FLASH_0_ID definitions
de-nordic Jan 15, 2025
b4cb330
[nrf noup] boot: zephyr: boards: Disabled NCS boot banner for thingy 53
kkasperczyk-no Jan 24, 2025
579fd11
[nrf noup] partition_manager: Add support for internal flash netcore DFU
hellesvik-nordic Feb 6, 2025
329c27c
[nrf noup] boot/zephyr: nrf54h20dk cleanup adaptations
nordic-mik7 Mar 28, 2025
ca472e1
[nrf noup] boot/zephyr/nrf_cleanup: cleanup uarte pins
nvlsianpu Mar 5, 2024
362da91
[nrf noup] nrf_cleanup: nRF54l: disable cleanup on UARTE pins
nvlsianpu Apr 11, 2025
da5dbbc
[nrf noup] nrf_cleanup: nRF54h: fix missing peripheral cleanup
ahasztag Apr 28, 2025
b2e0603
[nrf noup] boot: Add retry for image verification
adsz-nordic Jul 8, 2025
f7377fc
[nrf noup] boot: zephyr: Disable self RWX
michalek-no Aug 5, 2025
19225a5
[nrf noup] bootloader: Add bootloader requests
tomchy Jul 28, 2025
a74759f
[nrf noup] zephyr: Add support for compressed image updates
nordicjm Aug 22, 2024
8d56dde
[nrf noup] decompression: Align to changes in nrfcompress API
nordic-mik7 May 13, 2025
c0588f2
[nrf noup] boot: zephyr: Add experimental selection to compression
nordicjm Nov 7, 2024
b8f315b
[nrf noup] bootutil: Add support for KMU stored ED25519 signature key
de-nordic Sep 20, 2024
205c508
[nrf noup] boot: bootutil: Allow configuring number of KMU keys
nordicjm Dec 2, 2024
e0392a5
[nrf noup] bootutil: key revocation
michalek-no Mar 17, 2025
00d36dd
[nrf noup] Added BOOT_SIGNATURE_USING_ITS for ecdsa configuration
ahasztag Jul 24, 2025
2b25094
[nrf noup] Support for ed25519 signature verification using ITS
nordic-mik7 Aug 22, 2025
1f7b287
[nrf noup] bootutil: Locking KMU keys
de-nordic Jul 3, 2025
7fd3f76
[nrf noup] bootutil/loader: integrate nRF54h S2RAM with diect-xip
nvlsianpu Sep 30, 2025
b0e84eb
[nrf noup] bootutil: Use correct set of KMU key slots
nordicjm Sep 12, 2025
df17ce1
[nrf noup] boot/zephyr: improve S2RAM resume support using dedicated API
nvlsianpu Sep 18, 2025
02c7d23
[nrf noup] boards/thingy53_nrf5340_cpuapp: defaulat to LTO
nvlsianpu Oct 13, 2025
754d226
[nrf noup] Handle pending confirm requests
tomchy Oct 27, 2025
ed5c307
[nrf noup] bootutil: Fix ITS key locking compile error
ahasztag Oct 31, 2025
72772fb
[nrf noup] Add manifest routines for application
tomchy Nov 4, 2025
0676fd7
[nrf noup] bootutil: ed25519_psa: multi verification revocation
michalek-no Nov 3, 2025
ed780f5
[nrf noup] bootloader: Add support for IronSide counters
tomchy Nov 13, 2025
9ba25b8
[nrf noup] zephyr: Move KMU base slot configuration to Kconfig
de-nordic Nov 9, 2025
31222e1
[nrf noup] bootutil: Separate KMU implementation from ED25519
de-nordic Jul 16, 2025
1ec89b1
[nrf noup] zephyr: ED25519 KMU has now separate unit for compilation
de-nordic Jul 16, 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 }}
10 changes: 5 additions & 5 deletions boot/boot_serial/src/boot_serial_encryption.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ boot_image_validate_encrypted(struct boot_loader_state *state,
int rc;

if (MUST_DECRYPT(fa_p, BOOT_CURR_IMG(state), hdr)) {
rc = boot_enc_load(state, 1, hdr, fa_p, bs);
rc = boot_enc_load(state, BOOT_SLOT_SECONDARY, hdr, fa_p, bs);
if (rc < 0) {
FIH_RET(fih_rc);
}
rc = boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs);
rc = boot_enc_set_key(BOOT_CURR_ENC_SLOT(state, BOOT_SLOT_SECONDARY), bs->enckey[BOOT_SLOT_SECONDARY]);
if (rc < 0) {
FIH_RET(fih_rc);
}
Expand Down Expand Up @@ -169,7 +169,7 @@ decrypt_region_inplace(struct boot_loader_state *state,
blk_sz = tlv_off - (off + bytes_copied);
}
}
boot_enc_decrypt(BOOT_CURR_ENC(state), slot,
boot_enc_decrypt(BOOT_CURR_ENC_SLOT(state, slot),
(off + bytes_copied + idx) - hdr->ih_hdr_size, blk_sz,
blk_off, &buf[idx]);
}
Expand Down Expand Up @@ -235,11 +235,11 @@ decrypt_image_inplace(const struct flash_area *fa_p,
#endif
memset(&boot_data, 0, sizeof(struct boot_loader_state));
/* Load the encryption keys into cache */
rc = boot_enc_load(state, 0, hdr, fa_p, bs);
rc = boot_enc_load(state, BOOT_SLOT_PRIMARY, hdr, fa_p, bs);
if (rc < 0) {
FIH_RET(fih_rc);
}
if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), 0, bs)) {
if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC_SLOT(state, BOOT_SLOT_PRIMARY), bs->enckey[BOOT_SLOT_PRIMARY])) {
FIH_RET(fih_rc);
}
}
Expand Down
4 changes: 4 additions & 0 deletions boot/bootutil/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ target_sources(bootutil
src/bootutil_img_hash.c
src/bootutil_img_security_cnt.c
src/bootutil_misc.c
src/bootutil_area.c
src/bootutil_loader.c
src/bootutil_public.c
src/caps.c
src/encrypted.c
Expand All @@ -30,7 +32,9 @@ target_sources(bootutil
src/image_ed25519.c
src/image_rsa.c
src/image_validate.c
src/mcuboot_manifest.c
src/loader.c
src/loader_manifest_xip.c
src/swap_misc.c
src/swap_move.c
src/swap_scratch.c
Expand Down
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__ */
27 changes: 27 additions & 0 deletions boot/bootutil/include/bootutil/bootutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,36 @@ fih_ret boot_go_for_image_id(struct boot_rsp *rsp, uint32_t image_id);

void boot_state_clear(struct boot_loader_state *state);
fih_ret context_boot_go(struct boot_loader_state *state, struct boot_rsp *rsp);

/**
* Returns a pointer to the boot loader state structure.
*
* @return Pointer to the boot loader state structure.
*/
struct boot_loader_state *boot_get_loader_state(void);

#if defined(MCUBOOT_SERIAL_IMG_GRP_SLOT_INFO) || defined(MCUBOOT_DATA_SHARING)
/**
* Returns pointer to array of image maximum sizes.
*
* @note This function provides a RAW access to the structure. The sizes may not be
* calculated yet. Use boot_get_max_app_size() to ensure the sizes are calculated.
*
* @return Pointer to array of image maximum sizes.
*/
struct image_max_size *boot_get_image_max_sizes(void);

/**
* Fetches the maximum allowed size of all application images.
*
* @note In contrast to boot_get_image_max_sizes(), this function will fetch the sizes
* if they are not yet calculated.
*
* @return A pointer to the structure containing the maximum sizes of images.
*/
const struct image_max_size *boot_get_max_app_size(void);
#endif /* MCUBOOT_SERIAL_IMG_GRP_SLOT_INFO || MCUBOOT_DATA_SHARING */

void boot_fetch_slot_state_sizes(void);
uint32_t boot_get_state_secondary_offset(struct boot_loader_state *state,
const struct flash_area *fap);
Expand Down
Loading