Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions samples/dfu/smp_svr_mini_boot/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ config NETCORE_IPC_RADIO_BT_HCI_IPC
config MCUBOOT_IMAGES_ROM_END_OFFSET_AUTO
default "ipc_radio;ipc_radio_secondary_app" if MCUBOOT_SIGN_MERGED_BINARY

config PARTITION_MANAGER
default n

source "share/sysbuild/Kconfig"
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright (c) 2026 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

/delete-node/ &boot_partition;
/delete-node/ &slot0_partition;
/delete-node/ &slot1_partition;
/delete-node/ &storage_partition;

&cpuapp_rram {
partitions {
boot_partition: partition@0 {
compatible = "zephyr,mapped-partition";
label = "mcuboot";
reg = <0x0 0x8000>;
};

slot0_partition: partition@8000 {
compatible = "zephyr,mapped-partition";
label = "image-0";
reg = <0x8000 0x5a800>;
};

littlefs_storage: partition@62800 {
compatible = "zephyr,mapped-partition";
label = "littlefs-storage";
reg = <0x62800 0x6000>;
};

slot1_partition: partition@68800 {
compatible = "zephyr,mapped-partition";
label = "image-1";
reg = <0x68800 0x60800>;
};

storage_partition: partition@c9000 {
compatible = "zephyr,mapped-partition";
label = "storage";
reg = <0xc9000 0x4000>;
};

unallocated: partition@cd000 {
compatible = "zephyr,mapped-partition";
label = "unallocated";
reg = <0xcd000 0xb0000>;
};
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright (c) 2026 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

/delete-node/ &boot_partition;
/delete-node/ &slot0_partition;
/delete-node/ &slot1_partition;
/delete-node/ &storage_partition;

&cpuapp_rram {
partitions {
boot_partition: partition@0 {
compatible = "zephyr,mapped-partition";
label = "mcuboot";
reg = <0x0 0x10000>;
};

slot0_partition: partition@10000 {
compatible = "zephyr,mapped-partition";
label = "image-0";
reg = <0x10000 0x36800>;
};

slot1_partition: partition@46800 {
compatible = "zephyr,mapped-partition";
label = "image-1";
reg = <0x46800 0x36800>;
};

empty: partition@7d000 {
compatible = "zephyr,mapped-partition";
label = "empty";
reg = <0x7d000 0x2000>;
};
};
};
51 changes: 0 additions & 51 deletions samples/dfu/smp_svr_mini_boot/pm_static.yml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright (c) 2026 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include "../../../boards/nrf54l15dk_nrf54l15_cpuapp.overlay"

/ {
chosen {
zephyr,code-partition = &boot_partition;
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright (c) 2026 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include "../../../boards/nrf54ls05dk_nrf54ls05b_cpuapp.overlay"

/ {
chosen {
zephyr,code-partition = &boot_partition;
};
};
1 change: 0 additions & 1 deletion samples/dfu/smp_svr_mini_boot/sysbuild/mcuboot/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CONFIG_SIZE_OPTIMIZATIONS=y
CONFIG_HW_STACK_PROTECTION=y

CONFIG_MAIN_STACK_SIZE=10240
CONFIG_BOOT_MAX_IMG_SECTORS=256
CONFIG_BOOT_BOOTSTRAP=n

CONFIG_BOOT_VERSION_CMP_USE_BUILD_NUMBER=y
Expand Down
Loading