Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nodes required by MCUboot #1493

Merged
merged 3 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions boards/arm/nrf54l15pdk_nrf54l15/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ config BOARD
config BT_CTLR
default BT

config ROM_START_OFFSET
hex
default 0x800 if BOOTLOADER_MCUBOOT

endif # BOARD_NRF54L15PDK_NRF54L15_CPUAPP
26 changes: 22 additions & 4 deletions boards/arm/nrf54l15pdk_nrf54l15/nrf54l15pdk_nrf54l15_cpuapp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
chosen {
zephyr,console = &uart20;
zephyr,shell-uart = &uart20;
zephyr,uart-mcumgr = &uart20;
zephyr,sram = &sram0;
zephyr,flash = &rram0;
zephyr,code-partition = &slot0_partition;
Expand Down Expand Up @@ -133,13 +134,30 @@
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
slot0_partition: partition@0 {
label = "image-0";
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x0 DT_SIZE_K(64)>;
};
storage_partition: partition@f2000 {
slot0_partition: partition@10000 {
label = "image-0";
reg = <0x10000 DT_SIZE_K(348)>;
};
slot0_ns_partition: partition@67000 {
label = "image-0-nonsecure";
reg = <0x67000 DT_SIZE_K(348)>;
};
slot1_partition: partition@be000 {
label = "image-1";
reg = <0xbe000 DT_SIZE_K(348)>;
};
slot1_ns_partition: partition@115000 {
label = "image-1-nonsecure";
reg = <0x115000 DT_SIZE_K(348)>;
};
/* 32k from 0x16c000 to 0x173fff reserved for TF-M partitions */
storage_partition: partition@174000 {
label = "storage";
reg = <0xf2000 DT_SIZE_K(24)>;
reg = <0x174000 DT_SIZE_K(36)>;
};
};
};
Expand Down
Loading