Skip to content

Commit c195d33

Browse files
boot: zephyr: add ram_load overlays for nrf52840dk and mimxrt1050_evk boards
Add ram load overlays for nrf52840dk and mimxrt1050_evk boards. These ram load overlays are moved from the Zephyr in tree smp_svr sample, to enable ram load support for multiple platforms. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 0674798 commit c195d33

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/ {
2+
sram@80008000 {
3+
compatible = "zephyr,memory-region", "mmio-sram";
4+
reg = <0x80008000 DT_SIZE_K(2)>;
5+
zephyr,memory-region = "RetainedMem";
6+
status = "okay";
7+
8+
retainedmem {
9+
compatible = "zephyr,retained-ram";
10+
status = "okay";
11+
#address-cells = <1>;
12+
#size-cells = <1>;
13+
14+
boot_info0: boot_info@0 {
15+
compatible = "zephyr,retention";
16+
status = "okay";
17+
reg = <0x0 0x100>;
18+
};
19+
};
20+
};
21+
22+
chosen {
23+
zephyr,bootloader-info = &boot_info0;
24+
zephyr,code-partition = &boot_partition;
25+
};
26+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/ {
2+
sram@2003FC00 {
3+
compatible = "zephyr,memory-region", "mmio-sram";
4+
reg = <0x2003FC00 DT_SIZE_K(1)>;
5+
zephyr,memory-region = "RetainedMem";
6+
status = "okay";
7+
8+
retainedmem {
9+
compatible = "zephyr,retained-ram";
10+
status = "okay";
11+
#address-cells = <1>;
12+
#size-cells = <1>;
13+
14+
boot_info0: boot_info@0 {
15+
compatible = "zephyr,retention";
16+
status = "okay";
17+
reg = <0x0 0x100>;
18+
};
19+
};
20+
};
21+
22+
chosen {
23+
zephyr,bootloader-info = &boot_info0;
24+
zephyr,code-partition = &boot_partition;
25+
};
26+
};

0 commit comments

Comments
 (0)