Skip to content

boards: nordic: nrf54h20dk iron board MCUBoot support #88298

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

Closed
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
10 changes: 10 additions & 0 deletions boards/nordic/nrf54h20dk/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ config MAX_THREAD_BYTES
default 3 if USERSPACE

endif # BOARD_NRF54H20DK_NRF54H20_CPURAD

if BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON

config ROM_START_OFFSET
default 0x800 if BOOTLOADER_MCUBOOT

config FLASH_LOAD_OFFSET
default 0x2c000 if !USE_DT_CODE_PARTITION

endif # BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON
22 changes: 20 additions & 2 deletions boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_iron.dts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,33 @@
* the application core.
*/

/ {
chosen {
zephyr,code-partition = &slot0_partition;
zephyr,uart-mcumgr = &uart136;
};
};

&mram1x {
cpuapp_rx_partitions: cpuapp-rx-partitions {
compatible = "nordic,owned-partitions", "fixed-partitions";
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RXS>;
#address-cells = <1>;
#size-cells = <1>;

cpuapp_slot0_partition: partition@2c000 {
reg = <0x2c000 DT_SIZE_K(480)>;
boot_partition: partition@2c000 {
label = "mcuboot";
reg = <0x2c000 DT_SIZE_K(64)>;
};

slot0_partition: partition@3c000 {
label = "image-0";
reg = <0x3c000 DT_SIZE_K(400)>;
};

slot1_partition: partition@6E000 {
label = "image-1";
reg = <0x6E000 DT_SIZE_K(400)>;
Comment on lines +36 to +43
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the size of these partitions was supposed to be 200 kB, not 400.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in the new PR

};

cpuppr_code_partition: partition@a4000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

CONFIG_USE_DT_CODE_PARTITION=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
9 changes: 9 additions & 0 deletions samples/subsys/mgmt/mcumgr/smp_svr/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

config SMP_SVR_NRF54H20_SAMPLE
bool
default y if SOC_NRF54H20_CPUAPP
select EXPERIMENTAL

source "Kconfig.zephyr"
Comment on lines +1 to +9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file to go

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was requested to deliver this sample as experimental.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Disable GPD because no IPC is enabled in SSDFW
CONFIG_SOC_NRF54H20_GPD=n
CONFIG_PM=n
1 change: 1 addition & 0 deletions samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ tests:
- mimxrt685_evk/mimxrt685s/cm33
- rd_rw612_bga
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp/iron
- pinnacle_100_dvk
- mg100
integration_platforms:
Expand Down
Loading