From: Jon Mason <jon.mason@arm.com>
To: yocto@lists.yoctoproject.org
Subject: [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9
Date: Fri, 7 Oct 2022 10:11:58 -0400 [thread overview]
Message-ID: <20221007141203.16632-1-jon.mason@arm.com> (raw)
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
.gitlab-ci.yml | 7 +++++++
ci/qemu-cortex-a9.yml | 10 ++++++++++
.../conf/machine/qemu-cortex-a9.conf | 20 +++++++++++++++++++
3 files changed, 37 insertions(+)
create mode 100644 ci/qemu-cortex-a9.yml
create mode 100644 meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5752254..031b5c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,6 +90,13 @@ qemu-cortex-a53:
- TOOLCHAIN: [default, zephyr-toolchain]
TESTING: testimage
+qemu-cortex-a9:
+ extends: .build
+ parallel:
+ matrix:
+ - TOOLCHAIN: [default, zephyr-toolchain]
+ TESTING: testimage
+
qemu-cortex-m0:
extends: .build
parallel:
diff --git a/ci/qemu-cortex-a9.yml b/ci/qemu-cortex-a9.yml
new file mode 100644
index 0000000..cc44730
--- /dev/null
+++ b/ci/qemu-cortex-a9.yml
@@ -0,0 +1,10 @@
+header:
+ version: 11
+ includes:
+ - ci/base.yml
+
+local_conf_header:
+ failing_tests: |
+ ZEPHYRTESTS:remove = "common queue"
+
+machine: qemu-cortex-a9
diff --git a/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
new file mode 100644
index 0000000..9dfee42
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: qemu-cortex-a9
+#@DESCRIPTION: Machine for Zephyr BOARD qemu_cortex_a9
+
+DEFAULTTUNE ?= "cortexa9"
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/armv7a/tune-cortexa9.inc
+
+TCLIBC = "newlib"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine xilinx-zynq-a9"
+QB_CPU = "-cpu cortex-a9"
+QB_GRAPHICS = "-nographic -vga none"
+QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off -rtc clock=vm"
+
+# Zephyr RTOS settings
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:qemu-cortex-a9 = "arm"
--
2.17.1
next reply other threads:[~2022-10-07 14:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-07 14:11 Jon Mason [this message]
2022-10-07 14:11 ` [meta-zephyr][PATCH 2/6] zephyr-bsp: add support for mps2-an385 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 3/6] zephyr-bsp: add support for mps2-an521 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 4/6] zephyr-bsp: add support for mps3-an547 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 5/6] zephyr-bsp: add support for v2m-musca-b1 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 6/6] zephyr-bsp: add support for v2m-musca-s1 Jon Mason
2022-10-07 14:19 ` [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
2022-10-11 3:59 ` [yocto] " Saini, Naveen Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221007141203.16632-1-jon.mason@arm.com \
--to=jon.mason@arm.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox