Skip to content

Commit 9e877ea

Browse files
committed
samples: boot: Adjustments for mcuboot crypto
Enables mcuboot with crypto. Signed-off-by: Georgios Vasilakis <[email protected]> Signed-off-by: Mateusz Michalek <[email protected]>
1 parent a67177e commit 9e877ea

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l15_cpuapp_s115_softdevice_mcuboot.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727

2828
boot_partition: partition@0 {
2929
label = "boot";
30-
reg = <0x00000000 DT_SIZE_K(32)>;
30+
reg = <0x00000000 DT_SIZE_K(40)>;
3131
};
3232

3333
slot0_partition: partition@8000 {
3434
label = "slot0";
35-
reg = <0x00008000 DT_SIZE_K(1298)>;
35+
reg = <0x0000a000 DT_SIZE_K(1290)>;
3636
};
3737

3838
slot1_partition: partition@14c800 {
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
SB_CONFIG_BM_BOOTLOADER_MCUBOOT=y
22
SB_CONFIG_BM_FIRMWARE_LOADER_BT_MCUMGR=y
33
SB_CONFIG_SOFTDEVICE_S115=y
4+
SB_CONFIG_BM_BOOTLOADER_MCUBOOT_SIGNATURE_TYPE_ED25519=y
5+
SB_CONFIG_MCUBOOT_GENERATE_DEFAULT_KMU_KEYFILE=y

samples/boot/mcuboot_recovery_retention/sysbuild/mcuboot.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ CONFIG_RETAINED_MEM=y
22
CONFIG_RETENTION=y
33
CONFIG_RETENTION_BOOT_MODE=y
44
CONFIG_BOOT_FIRMWARE_LOADER_BOOT_MODE=y
5+
CONFIG_NRF_SECURITY=y
6+
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
7+
CONFIG_PSA_CORE_LITE=y
8+
CONFIG_PSA_CORE_LITE_NSIB_ED25519_OPTIMIZATIONS=y
9+
CONFIG_CRACEN_IKG=n
10+
CONFIG_BOOT_SIGNATURE_USING_KMU=y
11+
CONFIG_LTO=y
12+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)