Skip to content

Commit 2af5420

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 5717182 commit 2af5420

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-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
@@ -48,12 +48,12 @@
4848

4949
boot_partition: partition@0 {
5050
label = "boot";
51-
reg = <0x00000000 DT_SIZE_K(32)>;
51+
reg = <0x00000000 DT_SIZE_K(40)>;
5252
};
5353

5454
slot0_partition: partition@8000 {
5555
label = "slot0";
56-
reg = <0x00008000 DT_SIZE_K(1298)>;
56+
reg = <0x0000a000 DT_SIZE_K(1290)>;
5757
};
5858

5959
slot1_partition: partition@14c800 {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SB_CONFIG_BM_BOOTLOADER_MCUBOOT=y
2+
SB_CONFIG_BM_FIRMWARE_LOADER_BT_MCUMGR=y
3+
SB_CONFIG_SOFTDEVICE_S115=y
4+
SB_CONFIG_BM_BOOTLOADER_MCUBOOT_SIGNATURE_TYPE_ED25519=y
5+
SB_CONFIG_MCUBOOT_GENERATE_DEFAULT_KMU_KEYFILE=y
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
CONFIG_RETAINED_MEM=y
22
CONFIG_RETENTION=y
33
CONFIG_RETENTION_BOOT_MODE=y
4+
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)