Skip to content

Commit ca38e00

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 c1fad56 commit ca38e00

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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
9+
* MCUboot.
10+
* Beginning of the slot0_partition must match the beginning of the slot0_partition of the user
11+
* application, but the application can use a smaller partition and leave some space for
12+
* other purposes like a storage partition.
13+
*/
14+
15+
/delete-node/ &storage_partition;
16+
17+
&cpuapp_rram {
18+
partitions {
19+
slot0_partition: partition@23000 {
20+
label = "image-0";
21+
reg = <0x23000 DT_SIZE_K(1896)>;
22+
};
23+
};
24+
};

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,22 @@
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
25+
* MCUboot.
26+
* Beginning of the slot0_partition must match the beginning of the slot0_partition of the user
27+
* application, but the application can use a smaller partition and leave some space for
28+
* other purposes like a storage partition.
29+
*/
30+
31+
/delete-node/ &storage_partition;
32+
33+
&cpuapp_rram {
34+
partitions {
35+
slot0_partition: partition@23000 {
36+
label = "image-0";
37+
reg = <0x23000 DT_SIZE_K(1896)>;
38+
};
39+
};
40+
};

0 commit comments

Comments
 (0)