Skip to content

Commit b40419f

Browse files
marekmatejkartben
authored andcommitted
dts: common: espressif: update partition tables
Updated list of partition tables generated using the following schemes: - 'default' for most single core applications, - 'amp' for the multi core applications using AMP. The allocation rate for PROCPU and APPCPU usage is 3:1. Added partitions for low-power (LP) cores to allow updates. Signed-off-by: Marek Matej <[email protected]>
1 parent 931c671 commit b40419f

24 files changed

+602
-342
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
* Copyright (c) 2024-2025 Espressif Systems (Shanghai) Co., Ltd.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <espressif/partitions_0x0_amp_4M.dtsi>
7+
#include <espressif/partitions_0x0_amp_4M.dtsi>
Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/*
2-
* Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
* Copyright (c) 2024-2025 Espressif Systems (Shanghai) Co., Ltd.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
/* 16MB flash partition table */
87
&flash0 {
98
partitions {
109
compatible = "fixed-partitions";
@@ -13,42 +12,56 @@
1312

1413
boot_partition: partition@0 {
1514
label = "mcuboot";
16-
reg = <0x0 DT_SIZE_K(64)>;
15+
reg = <0x0 DT_SIZE_K(128)>;
1716
};
1817

1918
slot0_partition: partition@20000 {
2019
label = "image-0";
21-
reg = <0x20000 DT_SIZE_K(6080)>;
20+
reg = <0x20000 DT_SIZE_K(5952)>;
2221
};
2322

24-
slot0_appcpu_partition: partition@610000 {
25-
label = "image-0-appcpu";
26-
reg = <0x610000 DT_SIZE_K(1920)>;
23+
slot1_partition: partition@5f0000 {
24+
label = "image-1";
25+
reg = <0x5F0000 DT_SIZE_K(5952)>;
2726
};
2827

29-
slot1_partition: partition@7F0000 {
30-
label = "image-1";
31-
reg = <0x7F0000 DT_SIZE_K(6080)>;
28+
slot0_appcpu_partition: partition@bc0000 {
29+
label = "image-0-appcpu";
30+
reg = <0xBC0000 DT_SIZE_K(1984)>;
3231
};
3332

34-
slot1_appcpu_partition: partition@DE0000 {
33+
slot1_appcpu_partition: partition@db0000 {
3534
label = "image-1-appcpu";
36-
reg = <0xDE0000 DT_SIZE_K(1920)>;
35+
reg = <0xDB0000 DT_SIZE_K(1984)>;
36+
};
37+
38+
slot0_lpcore_partition: partition@fa0000 {
39+
label = "image-0-lpcore";
40+
reg = <0xFA0000 DT_SIZE_K(32)>;
41+
};
42+
43+
slot1_lpcore_partition: partition@fa8000 {
44+
label = "image-1-lpcore";
45+
reg = <0xFA8000 DT_SIZE_K(32)>;
3746
};
3847

39-
storage_partition: partition@FC0000 {
48+
storage_partition: partition@fb0000 {
4049
label = "storage";
41-
reg = <0xFC0000 DT_SIZE_K(128)>;
50+
reg = <0xFB0000 DT_SIZE_K(192)>;
4251
};
4352

44-
scratch_partition: partition@FE0000 {
45-
label = "image-scratch";
46-
reg = <0xFE0000 DT_SIZE_K(64)>;
53+
scratch_partition: partition@fe0000 {
54+
label = "image-scratch";
55+
reg = <0xFE0000 DT_SIZE_K(124)>;
4756
};
4857

49-
coredump_partition: partition@FF0000 {
50-
label = "coredump-partition";
51-
reg = <0xFF0000 DT_SIZE_K(4)>;
58+
coredump_partition: partition@fff000 {
59+
label = "coredump";
60+
reg = <0xFFF000 DT_SIZE_K(4)>;
5261
};
5362
};
5463
};
64+
65+
/* Remaining flash size is 0kB
66+
* Last used address is 0xFFFFFF
67+
*/
Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/*
2-
* Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
* Copyright (c) 2024-2025 Espressif Systems (Shanghai) Co., Ltd.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
/* 2MB flash partition table */
87
&flash0 {
98
partitions {
109
compatible = "fixed-partitions";
@@ -13,42 +12,56 @@
1312

1413
boot_partition: partition@0 {
1514
label = "mcuboot";
16-
reg = <0x0 DT_SIZE_K(64)>;
15+
reg = <0x0 DT_SIZE_K(128)>;
1716
};
1817

1918
slot0_partition: partition@20000 {
2019
label = "image-0";
2120
reg = <0x20000 DT_SIZE_K(576)>;
2221
};
2322

24-
slot0_appcpu_partition: partition@B0000 {
25-
label = "image-0-appcpu";
26-
reg = <0xB0000 DT_SIZE_K(256)>;
23+
slot1_partition: partition@b0000 {
24+
label = "image-1";
25+
reg = <0xB0000 DT_SIZE_K(576)>;
2726
};
2827

29-
slot1_partition: partition@F0000 {
30-
label = "image-1";
31-
reg = <0xF0000 DT_SIZE_K(576)>;
28+
slot0_appcpu_partition: partition@140000 {
29+
label = "image-0-appcpu";
30+
reg = <0x140000 DT_SIZE_K(192)>;
3231
};
3332

34-
slot1_appcpu_partition: partition@180000 {
33+
slot1_appcpu_partition: partition@170000 {
3534
label = "image-1-appcpu";
36-
reg = <0x1a0000 DT_SIZE_K(256)>;
35+
reg = <0x170000 DT_SIZE_K(192)>;
36+
};
37+
38+
slot0_lpcore_partition: partition@1a0000 {
39+
label = "image-0-lpcore";
40+
reg = <0x1A0000 DT_SIZE_K(32)>;
41+
};
42+
43+
slot1_lpcore_partition: partition@1a8000 {
44+
label = "image-1-lpcore";
45+
reg = <0x1A8000 DT_SIZE_K(32)>;
3746
};
3847

39-
storage_partition: partition@1C0000 {
48+
storage_partition: partition@1b0000 {
4049
label = "storage";
41-
reg = <0x1C0000 DT_SIZE_K(128)>;
50+
reg = <0x1B0000 DT_SIZE_K(192)>;
4251
};
4352

44-
scratch_partition: partition@1E0000 {
45-
label = "image-scratch";
46-
reg = <0x1E0000 DT_SIZE_K(64)>;
53+
scratch_partition: partition@1e0000 {
54+
label = "image-scratch";
55+
reg = <0x1E0000 DT_SIZE_K(124)>;
4756
};
4857

49-
coredump_partition: partition@1F0000 {
50-
label = "coredump-partition";
51-
reg = <0x1F0000 DT_SIZE_K(4)>;
58+
coredump_partition: partition@1ff000 {
59+
label = "coredump";
60+
reg = <0x1FF000 DT_SIZE_K(4)>;
5261
};
5362
};
5463
};
64+
65+
/* Remaining flash size is 0kB
66+
* Last used address is 0x1FFFFF
67+
*/
Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/*
2-
* Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
* Copyright (c) 2024-2025 Espressif Systems (Shanghai) Co., Ltd.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
/* 32MB flash partition table */
87
&flash0 {
98
partitions {
109
compatible = "fixed-partitions";
@@ -13,42 +12,56 @@
1312

1413
boot_partition: partition@0 {
1514
label = "mcuboot";
16-
reg = <0x0 DT_SIZE_K(64)>;
15+
reg = <0x0 DT_SIZE_K(128)>;
1716
};
1817

1918
slot0_partition: partition@20000 {
2019
label = "image-0";
21-
reg = <0x20000 DT_SIZE_K(12352)>;
20+
reg = <0x20000 DT_SIZE_K(12096)>;
2221
};
2322

24-
slot0_appcpu_partition: partition@C30000 {
25-
label = "image-0-appcpu";
26-
reg = <0xC30000 DT_SIZE_K(3840)>;
23+
slot1_partition: partition@bf0000 {
24+
label = "image-1";
25+
reg = <0xBF0000 DT_SIZE_K(12096)>;
2726
};
2827

29-
slot1_partition: partition@FF0000 {
30-
label = "image-1";
31-
reg = <0xFF0000 DT_SIZE_K(12352)>;
28+
slot0_appcpu_partition: partition@17c0000 {
29+
label = "image-0-appcpu";
30+
reg = <0x17C0000 DT_SIZE_K(4032)>;
3231
};
3332

34-
slot1_appcpu_partition: partition@1C00000 {
33+
slot1_appcpu_partition: partition@1bb0000 {
3534
label = "image-1-appcpu";
36-
reg = <0x1C00000 DT_SIZE_K(3840)>;
35+
reg = <0x1BB0000 DT_SIZE_K(4032)>;
36+
};
37+
38+
slot0_lpcore_partition: partition@1fa0000 {
39+
label = "image-0-lpcore";
40+
reg = <0x1FA0000 DT_SIZE_K(32)>;
41+
};
42+
43+
slot1_lpcore_partition: partition@1fa8000 {
44+
label = "image-1-lpcore";
45+
reg = <0x1FA8000 DT_SIZE_K(32)>;
3746
};
3847

39-
storage_partition: partition@1FC0000 {
48+
storage_partition: partition@1fb0000 {
4049
label = "storage";
41-
reg = <0x1FC0000 DT_SIZE_K(128)>;
50+
reg = <0x1FB0000 DT_SIZE_K(192)>;
4251
};
4352

44-
scratch_partition: partition@1FE0000 {
45-
label = "image-scratch";
46-
reg = <0x1FE0000 DT_SIZE_K(64)>;
53+
scratch_partition: partition@1fe0000 {
54+
label = "image-scratch";
55+
reg = <0x1FE0000 DT_SIZE_K(124)>;
4756
};
4857

49-
coredump_partition: partition@1FF0000 {
50-
label = "coredump-partition";
51-
reg = <0x1FF0000 DT_SIZE_K(4)>;
58+
coredump_partition: partition@1fff000 {
59+
label = "coredump";
60+
reg = <0x1FFF000 DT_SIZE_K(4)>;
5261
};
5362
};
5463
};
64+
65+
/* Remaining flash size is 0kB
66+
* Last used address is 0x1FFFFFF
67+
*/
Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/*
2-
* Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
* Copyright (c) 2024-2025 Espressif Systems (Shanghai) Co., Ltd.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
/* 4MB flash partition table */
87
&flash0 {
98
partitions {
109
compatible = "fixed-partitions";
@@ -13,42 +12,56 @@
1312

1413
boot_partition: partition@0 {
1514
label = "mcuboot";
16-
reg = <0x0 DT_SIZE_K(64)>;
15+
reg = <0x0 DT_SIZE_K(128)>;
1716
};
1817

1918
slot0_partition: partition@20000 {
2019
label = "image-0";
2120
reg = <0x20000 DT_SIZE_K(1344)>;
2221
};
2322

24-
slot0_appcpu_partition: partition@170000 {
25-
label = "image-0-appcpu";
26-
reg = <0x170000 DT_SIZE_K(512)>;
23+
slot1_partition: partition@170000 {
24+
label = "image-1";
25+
reg = <0x170000 DT_SIZE_K(1344)>;
2726
};
2827

29-
slot1_partition: partition@1F0000 {
30-
label = "image-1";
31-
reg = <0x1F0000 DT_SIZE_K(1344)>;
28+
slot0_appcpu_partition: partition@2c0000 {
29+
label = "image-0-appcpu";
30+
reg = <0x2C0000 DT_SIZE_K(448)>;
3231
};
3332

34-
slot1_appcpu_partition: partition@340000 {
33+
slot1_appcpu_partition: partition@330000 {
3534
label = "image-1-appcpu";
36-
reg = <0x340000 DT_SIZE_K(512)>;
35+
reg = <0x330000 DT_SIZE_K(448)>;
36+
};
37+
38+
slot0_lpcore_partition: partition@3a0000 {
39+
label = "image-0-lpcore";
40+
reg = <0x3A0000 DT_SIZE_K(32)>;
41+
};
42+
43+
slot1_lpcore_partition: partition@3a8000 {
44+
label = "image-1-lpcore";
45+
reg = <0x3A8000 DT_SIZE_K(32)>;
3746
};
3847

39-
storage_partition: partition@3C0000 {
48+
storage_partition: partition@3b0000 {
4049
label = "storage";
41-
reg = <0x3C0000 DT_SIZE_K(128)>;
50+
reg = <0x3B0000 DT_SIZE_K(192)>;
4251
};
4352

44-
scratch_partition: partition@3E0000 {
45-
label = "image-scratch";
46-
reg = <0x3E0000 DT_SIZE_K(64)>;
53+
scratch_partition: partition@3e0000 {
54+
label = "image-scratch";
55+
reg = <0x3E0000 DT_SIZE_K(124)>;
4756
};
4857

49-
coredump_partition: partition@3F0000 {
50-
label = "coredump-partition";
51-
reg = <0x3F0000 DT_SIZE_K(4)>;
58+
coredump_partition: partition@3ff000 {
59+
label = "coredump";
60+
reg = <0x3FF000 DT_SIZE_K(4)>;
5261
};
5362
};
5463
};
64+
65+
/* Remaining flash size is 0kB
66+
* Last used address is 0x3FFFFF
67+
*/

0 commit comments

Comments
 (0)