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:
parent
4d16e5b7d9
commit
6ff7ec220e
7 changed files with 12 additions and 8 deletions
|
@ -5,4 +5,4 @@ config BOARD_NRF54H20DK
|
||||||
select SOC_NRF54H20_CPUAPP if BOARD_NRF54H20DK_NRF54H20_CPUAPP
|
select SOC_NRF54H20_CPUAPP if BOARD_NRF54H20DK_NRF54H20_CPUAPP
|
||||||
select SOC_NRF54H20_CPURAD if BOARD_NRF54H20DK_NRF54H20_CPURAD
|
select SOC_NRF54H20_CPURAD if BOARD_NRF54H20DK_NRF54H20_CPURAD
|
||||||
select SOC_NRF54H20_CPUPPR if BOARD_NRF54H20DK_NRF54H20_CPUPPR || \
|
select SOC_NRF54H20_CPUPPR if BOARD_NRF54H20DK_NRF54H20_CPUPPR || \
|
||||||
BOARD_NRF54H20DK_NRF54H20_CPUPPR_RAM
|
BOARD_NRF54H20DK_NRF54H20_CPUPPR_XIP
|
||||||
|
|
|
@ -4,5 +4,5 @@ board:
|
||||||
socs:
|
socs:
|
||||||
- name: nrf54h20
|
- name: nrf54h20
|
||||||
variants:
|
variants:
|
||||||
- name: ram
|
- name: xip
|
||||||
cpucluster: cpuppr
|
cpucluster: cpuppr
|
||||||
|
|
|
@ -131,7 +131,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpuppr_vpr {
|
&cpuppr_vpr {
|
||||||
execution-memory = <&cpuppr_code_partition>;
|
execution-memory = <&cpuppr_code_data>;
|
||||||
|
source-memory = <&cpuppr_code_partition>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&gpiote130 {
|
&gpiote130 {
|
||||||
|
|
|
@ -8,6 +8,6 @@ arch: riscv
|
||||||
toolchain:
|
toolchain:
|
||||||
- zephyr
|
- zephyr
|
||||||
ram: 62
|
ram: 62
|
||||||
flash: 64
|
flash: 62
|
||||||
supported:
|
supported:
|
||||||
- gpio
|
- gpio
|
||||||
|
|
|
@ -2,3 +2,6 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_USE_DT_CODE_PARTITION=y
|
CONFIG_USE_DT_CODE_PARTITION=y
|
||||||
|
|
||||||
|
# Execute from RAM
|
||||||
|
CONFIG_XIP=n
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
identifier: nrf54h20dk/nrf54h20/cpuppr/ram
|
identifier: nrf54h20dk/nrf54h20/cpuppr/xip
|
||||||
name: nRF54H20-DK-nRF54H20-PPR-RAM
|
name: nRF54H20-DK-nRF54H20-PPR (MRAM XIP)
|
||||||
type: mcu
|
type: mcu
|
||||||
arch: riscv
|
arch: riscv
|
||||||
toolchain:
|
toolchain:
|
||||||
- zephyr
|
- zephyr
|
||||||
ram: 62
|
ram: 62
|
||||||
flash: 62
|
flash: 64
|
||||||
supported:
|
supported:
|
||||||
- gpio
|
- gpio
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_XIP=n
|
CONFIG_XIP=y
|
Loading…
Add table
Add a link
Reference in a new issue