Skip to content

Commit c4faca5

Browse files
author
Nicolas Pitre
committed
boards: arm: fvp_base_revc_2xaemv8a: allow SMP on bare metal
This adds necessary configuration files to build with SMP and no trusted firmware. Given PSCI is not available, CPU power management uses the FVP power controller directly. Signed-off-by: Nicolas Pitre <[email protected]>
1 parent a32c9e2 commit c4faca5

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
* Copyright (c) 2025 BayLibre SAS
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
#include "fvp_base_revc_2xaemv8a.dts"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) 2025 BayLibre SAS
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
identifier: fvp_base_revc_2xaemv8a/fvp_base_revc_2xaemv8a/smp
5+
name: FVP Emulation FVP_Base_RevC-2xAEMvA (SMP)
6+
arch: arm64
7+
type: sim
8+
simulation:
9+
- name: armfvp
10+
exec: FVP_Base_RevC-2xAEMvA
11+
toolchain:
12+
- zephyr
13+
- cross-compile
14+
ram: 2048
15+
flash: 64
16+
vendor: arm
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright (c) 2025 BayLibre SAS
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_THREAD_STACK_INFO=y
5+
6+
# Enable Timer and Sys clock
7+
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
8+
CONFIG_ARM_ARCH_TIMER=y
9+
10+
# Enable UART driver
11+
CONFIG_SERIAL=y
12+
13+
# Enable serial port
14+
CONFIG_UART_INTERRUPT_DRIVEN=y
15+
16+
# Enable console
17+
CONFIG_CONSOLE=y
18+
CONFIG_UART_CONSOLE=y
19+
20+
# Enable SMP
21+
CONFIG_SMP=y
22+
CONFIG_MP_MAX_NUM_CPUS=4
23+
CONFIG_CACHE_MANAGEMENT=y
24+
CONFIG_TIMEOUT_64BIT=y
25+
CONFIG_ARM64_SET_VMPIDR_EL2=y
26+
27+
# CPU control without PSCI
28+
CONFIG_PM_CPU_OPS_PSCI=n
29+
CONFIG_PM_CPU_OPS=y
30+
CONFIG_PM_CPU_OPS_FVP=y

0 commit comments

Comments
 (0)