boards: nrf54h20dk: Make execution from RAM default for PPR

In practice, PPR is intended to be running code from RAM, so make this
the default choice for the `nrf54h20dk/nrf54h20/cpuppr` board target.
Keep the MRAM execution option as a `xip` variant of that target,
replacing the `ram` one.

Align the default `cpuapp` configuration for copying PPR's image to RAM
before it boots the child processor.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
This commit is contained in:
Grzegorz Swiderski 2024-03-14 08:39:38 +01:00 committed by Fabio Baltieri
commit 6ff7ec220e
7 changed files with 12 additions and 8 deletions

View file

@ -5,4 +5,4 @@ config BOARD_NRF54H20DK
select SOC_NRF54H20_CPUAPP if BOARD_NRF54H20DK_NRF54H20_CPUAPP
select SOC_NRF54H20_CPURAD if BOARD_NRF54H20DK_NRF54H20_CPURAD
select SOC_NRF54H20_CPUPPR if BOARD_NRF54H20DK_NRF54H20_CPUPPR || \
BOARD_NRF54H20DK_NRF54H20_CPUPPR_RAM
BOARD_NRF54H20DK_NRF54H20_CPUPPR_XIP

View file

@ -4,5 +4,5 @@ board:
socs:
- name: nrf54h20
variants:
- name: ram
- name: xip
cpucluster: cpuppr

View file

@ -131,7 +131,8 @@
};
&cpuppr_vpr {
execution-memory = <&cpuppr_code_partition>;
execution-memory = <&cpuppr_code_data>;
source-memory = <&cpuppr_code_partition>;
};
&gpiote130 {

View file

@ -8,6 +8,6 @@ arch: riscv
toolchain:
- zephyr
ram: 62
flash: 64
flash: 62
supported:
- gpio

View file

@ -2,3 +2,6 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_USE_DT_CODE_PARTITION=y
# Execute from RAM
CONFIG_XIP=n

View file

@ -1,13 +1,13 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
identifier: nrf54h20dk/nrf54h20/cpuppr/ram
name: nRF54H20-DK-nRF54H20-PPR-RAM
identifier: nrf54h20dk/nrf54h20/cpuppr/xip
name: nRF54H20-DK-nRF54H20-PPR (MRAM XIP)
type: mcu
arch: riscv
toolchain:
- zephyr
ram: 62
flash: 62
flash: 64
supported:
- gpio

View file

@ -1,4 +1,4 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
CONFIG_XIP=n
CONFIG_XIP=y