Skip to content

Commit 449e5d5

Browse files
committed
boards: nordic: bm_nrf54l15dk: Reduce MCUboot partition size
Due to optimisations applied to MCUboot configuration, the size of the partition can be reduced to 31KiB which allows memory protection to be applied to the section using a single protection region, and even with logs enabled there is still spare space available in the slot Signed-off-by: Jamie McCrae <[email protected]>
1 parent 1d1a202 commit 449e5d5

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l05_cpuapp_s115_softdevice_mcuboot.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848

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

54-
storage_partition: partition@9000 {
54+
storage_partition: partition@7c00 {
5555
compatible = "fixed-subpartitions";
5656
label = "storage";
57-
reg = <0x00009000 DT_SIZE_K(8)>;
58-
ranges = <0x0 0x9000 DT_SIZE_K(8)>;
57+
reg = <0x00007c00 DT_SIZE_K(8)>;
58+
ranges = <0x0 0x7c00 DT_SIZE_K(8)>;
5959
#address-cells = <1>;
6060
#size-cells = <1>;
6161

@@ -70,9 +70,9 @@
7070
};
7171
};
7272

73-
slot0_partition: partition@b000 {
73+
slot0_partition: partition@9c00 {
7474
label = "slot0";
75-
reg = <0x0000b000 DT_SIZE_K(282)>;
75+
reg = <0x0009c00 DT_SIZE_K(287)>;
7676
};
7777

7878
slot1_partition: partition@51800 {

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l10_cpuapp_s115_softdevice_mcuboot.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848

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

54-
storage_partition: partition@9000 {
54+
storage_partition: partition@7c00 {
5555
compatible = "fixed-subpartitions";
5656
label = "storage";
57-
reg = <0x00009000 DT_SIZE_K(8)>;
58-
ranges = <0x0 0x9000 DT_SIZE_K(8)>;
57+
reg = <0x00007c00 DT_SIZE_K(8)>;
58+
ranges = <0x0 0x7c00 DT_SIZE_K(8)>;
5959
#address-cells = <1>;
6060
#size-cells = <1>;
6161

@@ -70,9 +70,9 @@
7070
};
7171
};
7272

73-
slot0_partition: partition@b000 {
73+
slot0_partition: partition@9c00 {
7474
label = "slot0";
75-
reg = <0x0000b000 DT_SIZE_K(794)>;
75+
reg = <0x00009c00 DT_SIZE_K(799)>;
7676
};
7777

7878
slot1_partition: partition@d1800 {

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l15_cpuapp_s115_softdevice_mcuboot.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848

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

54-
storage_partition: partition@9000 {
54+
storage_partition: partition@7c00 {
5555
compatible = "fixed-subpartitions";
5656
label = "storage";
57-
reg = <0x00009000 DT_SIZE_K(8)>;
58-
ranges = <0x0 0x9000 DT_SIZE_K(8)>;
57+
reg = <0x00007c00 DT_SIZE_K(8)>;
58+
ranges = <0x0 0x7c00 DT_SIZE_K(8)>;
5959
#address-cells = <1>;
6060
#size-cells = <1>;
6161

@@ -70,9 +70,9 @@
7070
};
7171
};
7272

73-
slot0_partition: partition@b000 {
73+
slot0_partition: partition@9c00 {
7474
label = "slot0";
75-
reg = <0x0000b000 DT_SIZE_K(1306)>;
75+
reg = <0x00009c00 DT_SIZE_K(1311)>;
7676
};
7777

7878
slot1_partition: partition@151800 {

0 commit comments

Comments
 (0)