Skip to content

Commit

Permalink
boot: zephyr: add ram_load overlays for nrf52840dk and mimxrt1050_evk…
Browse files Browse the repository at this point in the history
… 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]>
  • Loading branch information
danieldegrasse committed Feb 3, 2025
1 parent 0674798 commit c195d33
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/ {
sram@80008000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x80008000 DT_SIZE_K(2)>;
zephyr,memory-region = "RetainedMem";
status = "okay";

retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
#address-cells = <1>;
#size-cells = <1>;

boot_info0: boot_info@0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0x0 0x100>;
};
};
};

chosen {
zephyr,bootloader-info = &boot_info0;
zephyr,code-partition = &boot_partition;
};
};
26 changes: 26 additions & 0 deletions boot/zephyr/boards/nrf52840dk_nrf52840_ram_load.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/ {
sram@2003FC00 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x2003FC00 DT_SIZE_K(1)>;
zephyr,memory-region = "RetainedMem";
status = "okay";

retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
#address-cells = <1>;
#size-cells = <1>;

boot_info0: boot_info@0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0x0 0x100>;
};
};
};

chosen {
zephyr,bootloader-info = &boot_info0;
zephyr,code-partition = &boot_partition;
};
};

0 comments on commit c195d33

Please sign in to comment.