File tree Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Beechwoods Software, Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ #include <raspberrypi/partitions_2M_storage.dtsi>
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Beechwoods Software, Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ &flash0 {
8
+ status = "okay";
9
+
10
+ partitions {
11
+ compatible = "fixed-partitions";
12
+ #address-cells = <1>;
13
+ #size-cells = <1>;
14
+
15
+ /*
16
+ * Usable flash. Starts at 0x100, after the bootloader. The partition
17
+ * size is 1MB minus the 0x100 bytes taken by the bootloader.
18
+ */
19
+ code_partition: partition@100 {
20
+ label = "code";
21
+ reg = <0x100 (DT_SIZE_M(1) - 0x100)>;
22
+ read-only;
23
+ };
24
+
25
+ storage_partition: partition@100000 {
26
+ label = "storage";
27
+ reg = <0x100000 DT_SIZE_M(1)>;
28
+ };
29
+ };
30
+ };
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Beechwoods Software, Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ &flash0 {
8
+ status = "okay";
9
+
10
+ partitions {
11
+ compatible = "fixed-partitions";
12
+ #address-cells = < 0x1 >;
13
+ #size-cells = < 0x1 >;
14
+
15
+ second_stage_bootloader: partition@0 {
16
+ label = "second_stage_bootloader";
17
+ reg = < 0x0 0x100 >;
18
+ read-only;
19
+ };
20
+
21
+ boot_partition: partition@100 {
22
+ label = "mcuboot";
23
+ reg = < 0x100 0xfe00 >;
24
+ };
25
+
26
+ slot0_partition: partition@10000 {
27
+ label = "image-0";
28
+ reg = < 0x10000 0xd0000 >;
29
+ };
30
+
31
+ slot1_partition: partition@E0000 {
32
+ label = "image-1";
33
+ reg = < 0xe0000 0xd0000 >;
34
+ };
35
+
36
+ storage_partition: partition@1B0000 {
37
+ label = "storage";
38
+ reg = < 0x1b0000 0x50000 >;
39
+ };
40
+ };
41
+ };
You can’t perform that action at this time.
0 commit comments