Skip to content

Commit b644432

Browse files
aasthagrnashif
authored andcommitted
boards: x86: acrn : Add configurations for acrn_ehl_crb
Adding acrn configurations specific to the platform on which acrn boots zephyr, Only the EHL specifc configurations for now. Keeping the HW clock frequency to 1900Mhz for EHL and using the new APIc timer driver. Signed-off-by: Aastha Grover <[email protected]>
1 parent cf00554 commit b644432

File tree

4 files changed

+31
-1
lines changed

4 files changed

+31
-1
lines changed

boards/x86/acrn/acrn_ehl_crb.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2019 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "acrn.dts"

boards/x86/acrn/acrn_ehl_crb.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
identifier: acrn_ehl_crb
2+
name: ACRN on EHL configuration
3+
type: mcu
4+
arch: x86
5+
toolchain:
6+
- zephyr
7+
ram: 8192
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
CONFIG_SOC_IA32=y
4+
CONFIG_BOARD_ACRN=y
5+
CONFIG_PIC_DISABLE=y
6+
CONFIG_LOAPIC=y
7+
CONFIG_APIC_TIMER=y
8+
CONFIG_X2APIC=y
9+
CONFIG_CONSOLE=y
10+
CONFIG_SERIAL=y
11+
CONFIG_UART_NS16550=y
12+
CONFIG_UART_CONSOLE=y
13+
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1900000000
14+
CONFIG_BUILD_OUTPUT_BIN=y
15+
CONFIG_SHELL_BACKEND_SERIAL_INTERRUPT_DRIVEN=n
16+
CONFIG_X86_MMU_PAGE_POOL_PAGES=29

tests/benchmarks/boot_time/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ tests:
22
benchmark.kernel.boot_time:
33
arch_allow: x86 arm posix
44
platform_exclude: qemu_x86 qemu_x86_coverage qemu_x86_64 qemu_x86_nommu
5-
minnowboard acrn
5+
minnowboard acrn acrn_ehl_crb
66
tags: benchmark
77
filter: CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC >= 1000000

0 commit comments

Comments
 (0)