boards: nrf54h20_iron: Allow radio updates

Add necessary changes to provide a simple, updateable radio image.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
This commit is contained in:
Tomasz Chyrowicz 2025-05-14 14:04:35 +02:00 committed by Benjamin Cabé
commit 5e54100551
5 changed files with 26 additions and 1 deletions

View file

@ -27,3 +27,10 @@ config FLASH_LOAD_OFFSET
default 0x2c000 if !USE_DT_CODE_PARTITION
endif # BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON
if BOARD_NRF54H20DK_NRF54H20_CPURAD_IRON
config ROM_START_OFFSET
default 0x800 if BOOTLOADER_MCUBOOT
endif # BOARD_NRF54H20DK_NRF54H20_CPURAD_IRON

View file

@ -35,3 +35,11 @@ slot0_partition: &cpuapp_slot0_partition {
slot1_partition: &cpuapp_slot1_partition {
label = "image-1";
};
slot2_partition: &cpurad_slot0_partition {
label = "image-2";
};
slot3_partition: &cpurad_slot1_partition {
label = "image-3";
};

View file

@ -19,3 +19,11 @@
mbox-names = "tx", "rx";
status = "okay";
};
slot0_partition: &cpurad_slot0_partition {
label = "image-0";
};
slot1_partition: &cpurad_slot1_partition {
label = "image-1";
};

View file

@ -227,6 +227,7 @@ config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT
bool "MCUboot has been configured for DirectXIP with revert"
select MCUBOOT_BOOTUTIL_LIB
select MCUBOOT_BOOTUTIL_LIB_FOR_DIRECT_XIP
select MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE
select MCUBOOT_BOOTLOADER_NO_DOWNGRADE

View file

@ -173,7 +173,8 @@ void soc_late_init_hook(void)
void *radiocore_address =
(void *)(DT_REG_ADDR(DT_GPARENT(DT_NODELABEL_CPURAD_SLOT0_PARTITION)) +
DT_REG_ADDR(DT_NODELABEL_CPURAD_SLOT0_PARTITION));
DT_REG_ADDR(DT_NODELABEL_CPURAD_SLOT0_PARTITION) +
CONFIG_ROM_START_OFFSET);
/* Don't wait as this is not yet supported. */
bool cpu_wait = false;