tests: xip: remove hack and add qemu_x86_xip
We now have a variant x86 build target that only is run for tests tagged with "xip", which is this one. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
26af5fc8d7
commit
a7354ab391
4 changed files with 38 additions and 8 deletions
7
boards/x86/qemu_x86/qemu_x86_xip.dts
Normal file
7
boards/x86/qemu_x86/qemu_x86_xip.dts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2020 Intel Corporation
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "qemu_x86.dts"
|
12
boards/x86/qemu_x86/qemu_x86_xip.yaml
Normal file
12
boards/x86/qemu_x86/qemu_x86_xip.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
identifier: qemu_x86_xip
|
||||||
|
name: QEMU Emulation for X86 (XIP enabled)
|
||||||
|
type: qemu
|
||||||
|
arch: x86
|
||||||
|
simulation: qemu
|
||||||
|
toolchain:
|
||||||
|
- zephyr
|
||||||
|
- xtools
|
||||||
|
testing:
|
||||||
|
default: true
|
||||||
|
only_tags:
|
||||||
|
- xip
|
19
boards/x86/qemu_x86/qemu_x86_xip_defconfig
Normal file
19
boards/x86/qemu_x86/qemu_x86_xip_defconfig
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_SOC_IA32=y
|
||||||
|
CONFIG_BOARD_QEMU_X86=y
|
||||||
|
CONFIG_HPET_TIMER=y
|
||||||
|
CONFIG_PIC_DISABLE=y
|
||||||
|
CONFIG_LOAPIC=y
|
||||||
|
CONFIG_CONSOLE=y
|
||||||
|
CONFIG_SERIAL=y
|
||||||
|
CONFIG_UART_NS16550=y
|
||||||
|
CONFIG_UART_CONSOLE=y
|
||||||
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=25000000
|
||||||
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||||
|
CONFIG_DEBUG_INFO=y
|
||||||
|
CONFIG_SCHED_SCALABLE=y
|
||||||
|
CONFIG_WAITQ_SCALABLE=y
|
||||||
|
CONFIG_X86_VERY_EARLY_CONSOLE=y
|
||||||
|
CONFIG_QEMU_ICOUNT_SHIFT=5
|
||||||
|
CONFIG_XIP=y
|
|
@ -2,11 +2,3 @@ tests:
|
||||||
arch.common.xip:
|
arch.common.xip:
|
||||||
filter: CONFIG_XIP
|
filter: CONFIG_XIP
|
||||||
tags: xip
|
tags: xip
|
||||||
|
|
||||||
# Platforms where XIP is supported but not on by default (rare, typically
|
|
||||||
# emulator targets, to show that XIP is working for a particular arch)
|
|
||||||
arch.common.xip.nondefault:
|
|
||||||
platform_whitelist: qemu_x86 qemu_x86_coverage
|
|
||||||
extra_configs:
|
|
||||||
- CONFIG_XIP=y
|
|
||||||
tags: xip
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue