From: "Jon Mason" <jon.mason@arm.com>
To: meta-arm@lists.yoctoproject.org
Subject: [PATCH 3/3] qemu-cortex-r5: add support
Date: Mon, 16 Aug 2021 17:39:13 -0400 [thread overview]
Message-ID: <20210816213913.8016-3-jon.mason@arm.com> (raw)
In-Reply-To: <20210816213913.8016-1-jon.mason@arm.com>
Mostly for testing out cortex-r tunes...mostly
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
.gitlab-ci.yml | 3 +++
ci/qemu-cortex-r5.yml | 10 +++++++++
meta-arm-bsp/conf/machine/qemu-cortex-r5.conf | 22 +++++++++++++++++++
3 files changed, 35 insertions(+)
create mode 100644 ci/qemu-cortex-r5.yml
create mode 100644 meta-arm-bsp/conf/machine/qemu-cortex-r5.conf
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c2a56b5..697603b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -153,6 +153,9 @@ n1sdp/armgcc:
qemu-cortex-a53:
extends: .build
+qemu-cortex-r5:
+ extends: .build
+
qemuarm64-sbsa:
extends: .build
diff --git a/ci/qemu-cortex-r5.yml b/ci/qemu-cortex-r5.yml
new file mode 100644
index 0000000..1c4e013
--- /dev/null
+++ b/ci/qemu-cortex-r5.yml
@@ -0,0 +1,10 @@
+header:
+ version: 9
+ includes:
+ - base.yml
+ - meta-zephyr.yml
+
+machine: qemu-cortex-r5
+
+target:
+ - zephyr-philosophers
diff --git a/meta-arm-bsp/conf/machine/qemu-cortex-r5.conf b/meta-arm-bsp/conf/machine/qemu-cortex-r5.conf
new file mode 100644
index 0000000..29b37d7
--- /dev/null
+++ b/meta-arm-bsp/conf/machine/qemu-cortex-r5.conf
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: qemu_cortex_r5
+#@DESCRIPTION: Machine for Zephyr BOARD qemu_cortex_r5
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/armv7r/tune-cortexr5.inc
+
+# GLIBC will not work with Cortex-R.
+TCLIBC = "newlib"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-aarch64"
+QB_MACHINE = "-machine xlnx-zcu102"
+QB_CPU = "-cpu cortex-r5"
+QB_MEM = "-m 64k"
+QB_OPT_APPEND = "-nographic -vga none"
+QB_RNG = ""
+
+# Zephyr RTOS settings
+ZEPHYR_BOARD = "qemu_cortex_r5"
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:qemu-cortex-r5 = "arm"
--
2.17.1
prev parent reply other threads:[~2021-08-17 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-16 21:39 [PATCH 1/3] arm-bsp: remove upstreamed cortex-m tunes Jon Mason
2021-08-16 21:39 ` [PATCH 2/3] arm-bsp: cortex-r tunes Jon Mason
2021-08-16 21:39 ` Jon Mason [this message]
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=20210816213913.8016-3-jon.mason@arm.com \
--to=jon.mason@arm.com \
--cc=meta-arm@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;
as well as URLs for NNTP newsgroup(s).