-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: arm: add qemu_cortex_a53_smp
Support SMP and switch to booting from NS world Signed-off-by: Peng Fan <[email protected]>
- Loading branch information
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright 2021 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
*/ | ||
|
||
#include "qemu_cortex_a53.dts" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
identifier: qemu_cortex_a53_smp | ||
name: QEMU Emulation for Cortex-A53 SMP | ||
type: qemu | ||
simulation: qemu | ||
arch: arm | ||
toolchain: | ||
- zephyr | ||
- cross-compile | ||
ram: 128 | ||
testing: | ||
default: true | ||
ignore_tags: | ||
- net | ||
- bluetooth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
CONFIG_SOC_QEMU_CORTEX_A53=y | ||
CONFIG_BOARD_QEMU_CORTEX_A53=y | ||
CONFIG_ARM_ARCH_TIMER=y | ||
CONFIG_XIP=n | ||
CONFIG_QEMU_ICOUNT=n | ||
|
||
# Enable UART driver | ||
CONFIG_SERIAL=y | ||
|
||
# Enable console | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
|
||
# PSCI is supported | ||
CONFIG_PM_CPU_OPS=y | ||
CONFIG_PM_CPU_OPS_PSCI=y | ||
|
||
# Enable serial port | ||
CONFIG_UART_PL011=y | ||
CONFIG_UART_PL011_PORT0=y | ||
CONFIG_UART_INTERRUPT_DRIVEN=y | ||
|
||
CONFIG_SMP=y | ||
CONFIG_MP_NUM_CPUS=2 | ||
CONFIG_CACHE_MANAGEMENT=y | ||
CONFIG_TIMEOUT_64BIT=y | ||
CONFIG_ARMV8_A_NS=y |