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:
parent
a280fbf9fb
commit
5e54100551
5 changed files with 26 additions and 1 deletions
|
@ -27,3 +27,10 @@ config FLASH_LOAD_OFFSET
|
||||||
default 0x2c000 if !USE_DT_CODE_PARTITION
|
default 0x2c000 if !USE_DT_CODE_PARTITION
|
||||||
|
|
||||||
endif # BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON
|
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
|
||||||
|
|
|
@ -35,3 +35,11 @@ slot0_partition: &cpuapp_slot0_partition {
|
||||||
slot1_partition: &cpuapp_slot1_partition {
|
slot1_partition: &cpuapp_slot1_partition {
|
||||||
label = "image-1";
|
label = "image-1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
slot2_partition: &cpurad_slot0_partition {
|
||||||
|
label = "image-2";
|
||||||
|
};
|
||||||
|
|
||||||
|
slot3_partition: &cpurad_slot1_partition {
|
||||||
|
label = "image-3";
|
||||||
|
};
|
||||||
|
|
|
@ -19,3 +19,11 @@
|
||||||
mbox-names = "tx", "rx";
|
mbox-names = "tx", "rx";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
slot0_partition: &cpurad_slot0_partition {
|
||||||
|
label = "image-0";
|
||||||
|
};
|
||||||
|
|
||||||
|
slot1_partition: &cpurad_slot1_partition {
|
||||||
|
label = "image-1";
|
||||||
|
};
|
||||||
|
|
|
@ -227,6 +227,7 @@ config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
|
||||||
|
|
||||||
config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT
|
config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT
|
||||||
bool "MCUboot has been configured for DirectXIP with revert"
|
bool "MCUboot has been configured for DirectXIP with revert"
|
||||||
|
select MCUBOOT_BOOTUTIL_LIB
|
||||||
select MCUBOOT_BOOTUTIL_LIB_FOR_DIRECT_XIP
|
select MCUBOOT_BOOTUTIL_LIB_FOR_DIRECT_XIP
|
||||||
select MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE
|
select MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE
|
||||||
select MCUBOOT_BOOTLOADER_NO_DOWNGRADE
|
select MCUBOOT_BOOTLOADER_NO_DOWNGRADE
|
||||||
|
|
|
@ -173,7 +173,8 @@ void soc_late_init_hook(void)
|
||||||
|
|
||||||
void *radiocore_address =
|
void *radiocore_address =
|
||||||
(void *)(DT_REG_ADDR(DT_GPARENT(DT_NODELABEL_CPURAD_SLOT0_PARTITION)) +
|
(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. */
|
/* Don't wait as this is not yet supported. */
|
||||||
bool cpu_wait = false;
|
bool cpu_wait = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue