Skip to content

Commit

Permalink
boards: x86: qemu_x86_tiny@768: change to board variant
Browse files Browse the repository at this point in the history
Change `qemu_x86_tiny@768` board revision to `qemu_x86_tiny/ia32/768`
board variant configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
  • Loading branch information
golowanow committed Feb 12, 2024
1 parent d1f0958 commit 15dc78c
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 16 deletions.
19 changes: 8 additions & 11 deletions boards/qemu/qemu_x86/board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ boards:
socs:
- name: ia32
variants:
- name: 'nokpti'
- name: 'nommu'
- name: 'nopae'
- name: 'virt'
- name: 'xip'
- name: 'nokpti'
- name: 'nommu'
- name: 'nopae'
- name: 'virt'
- name: 'xip'

- name: qemu_x86_lakemont
socs:
Expand All @@ -18,13 +18,10 @@ boards:
socs:
- name: ia32
variants:
- name: 'nokpti'
- name: 'nokpti'

- name: qemu_x86_tiny
socs:
- name: ia32
revision:
format: custom
default: ''
revisions:
- name: '768'
variants:
- name: '768'
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
/*
* Copyright (c) 2022 Intel Corporation
* Copyright (c) 2022-2024 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

#include "qemu_x86_tiny.dts"

/* Override with 768KB DRAM */
&dram0 {
reg = < 0x100000 DT_SIZE_K(768) >;
Expand Down
16 changes: 16 additions & 0 deletions boards/qemu/qemu_x86/qemu_x86_tiny_ia32_768.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
identifier: qemu_x86_tiny/ia32/768
name: QEMU Emulation for X86 (small VM, 768KB DRAM)
type: qemu
arch: x86
simulation: qemu
toolchain:
- zephyr
- xtools
testing:
default: true
only_tags:
- kernel
- userspace
ignore_tags:
- benchmark
vendor: qemu
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2022 Intel Corporation.
# Copyright (c) 2022-2024 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0

# Enable coverage regardless since this config for coverage only.
Expand Down
2 changes: 1 addition & 1 deletion tests/kernel/obj_core/obj_core/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ tests:
- qemu_x86
platform_exclude:
- qemu_x86_tiny
- qemu_x86_tiny@768
- qemu_x86_tiny/ia32/768
2 changes: 1 addition & 1 deletion tests/kernel/obj_core/obj_core_stats/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ tests:
- qemu_x86
platform_exclude:
- qemu_x86_tiny
- qemu_x86_tiny@768
- qemu_x86_tiny/ia32/768
2 changes: 1 addition & 1 deletion tests/kernel/obj_core/obj_core_stats_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ tests:
- qemu_x86
platform_exclude:
- qemu_x86_tiny
- qemu_x86_tiny@768
- qemu_x86_tiny/ia32/768

0 comments on commit 15dc78c

Please sign in to comment.