Skip to content

Commit d9bf481

Browse files
committed
samples/dfu/firmware_loader: partitioning of nrf54lm20dongle
Added DTS overlay for partitions on nRF54LM20dongle. This is for firmware loader - slot0_parttion spans till end of RRAM. MCUboot Is (and must use same partitioning). An application build must keep the same start address but can downsize the partition. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent 2f84e61 commit d9bf481

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/* This is nRF54lm20dongle_nrf54lm20b_cpuapp-specific partitioning for MCUboot and firmware loader.
8+
* slot0_partition defines RRAM region which can be updated by the firmware loader and booted by MCUboot.
9+
* Beginning of the slot0_partition must match the beginning of the slot0_partition of the user
10+
* application, but the application can use a smaller partition and leave some space for
11+
* other purposes like a storage partition.
12+
*/
13+
14+
/delete-node/ &storage_partition;
15+
16+
&cpuapp_rram {
17+
partitions {
18+
slot0_partition: partition@23000 {
19+
label = "image-0";
20+
reg = <0x23000 DT_SIZE_K(1896)>;
21+
};
22+
};
23+
};

samples/dfu/fw_loader/usb_mcumgr/boards/nrf54lm20dongle_nrf54lm20b_cpuapp.overlay

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,21 @@
1919
};
2020

2121
#include "../app.overlay"
22+
23+
/* This is nRF54lm20dongle_nrf54lm20b_cpuapp-specific partitioning for MCUboot and firmware loader.
24+
* slot0_partition defines RRAM region which can be updated by the firmware loader and booted by MCUboot.
25+
* Beginning of the slot0_partition must match the beginning of the slot0_partition of the user
26+
* application, but the application can use a smaller partition and leave some space for
27+
* other purposes like a storage partition.
28+
*/
29+
30+
/delete-node/ &storage_partition;
31+
32+
&cpuapp_rram {
33+
partitions {
34+
slot0_partition: partition@23000 {
35+
label = "image-0";
36+
reg = <0x23000 DT_SIZE_K(1896)>;
37+
};
38+
};
39+
};

0 commit comments

Comments
 (0)