boards: arm: add qemu_cortex_a53_smp
Support SMP and switch to booting from NS world Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
e27c9c7c52
commit
842ed375dd
3 changed files with 49 additions and 0 deletions
8
boards/arm/qemu_cortex_a53/qemu_cortex_a53_smp.dts
Normal file
8
boards/arm/qemu_cortex_a53/qemu_cortex_a53_smp.dts
Normal file
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
* Copyright 2021 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
*/
|
||||
|
||||
#include "qemu_cortex_a53.dts"
|
14
boards/arm/qemu_cortex_a53/qemu_cortex_a53_smp.yaml
Normal file
14
boards/arm/qemu_cortex_a53/qemu_cortex_a53_smp.yaml
Normal file
|
@ -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
|
27
boards/arm/qemu_cortex_a53/qemu_cortex_a53_smp_defconfig
Normal file
27
boards/arm/qemu_cortex_a53/qemu_cortex_a53_smp_defconfig
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue