diff mbox series

[yocto-patches,meta-zephyr,master,8/9] machine: Add support for xenvm boards

Message ID 20260307044353.1936182-9-sandeep.gundlupet-raju@amd.com
State New
Headers show
Series Update to v4.3.0 | expand

Commit Message

Gundlupet Raju, Sandeep March 7, 2026, 4:43 a.m. UTC
Add support for xenvm(gicv2) and xenvmgicv3 boards that that allows to
run Zephyr as Xen guest on any ARMv8 board that supports ARM
Virtualization Extensions.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
---
 meta-zephyr-bsp/conf/machine/xenvm.conf      | 14 ++++++++++++++
 meta-zephyr-bsp/conf/machine/xenvmgicv3.conf | 14 ++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 meta-zephyr-bsp/conf/machine/xenvm.conf
 create mode 100644 meta-zephyr-bsp/conf/machine/xenvmgicv3.conf
diff mbox series

Patch

diff --git a/meta-zephyr-bsp/conf/machine/xenvm.conf b/meta-zephyr-bsp/conf/machine/xenvm.conf
new file mode 100644
index 0000000..73cb7a1
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/xenvm.conf
@@ -0,0 +1,14 @@ 
+#@TYPE: Machine
+#@NAME: xenvm
+#@DESCRIPTION: Machine for Zephyr BOARD xenvm(gicv2) that allows
+#              to run Zephyr as Xen guest on any ARMv8 board that
+#              supports ARM Virtualization Extensions.
+
+# Include tune-cortexa72-cortexa53.inc
+require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
+
+DEFAULTTUNE = "cortexa72-cortexa53"
+
+# Zephyr RTOS settings
+ZEPHYR_BOARD = "xenvm"
+ARCH:xenvm = "aarch64"
diff --git a/meta-zephyr-bsp/conf/machine/xenvmgicv3.conf b/meta-zephyr-bsp/conf/machine/xenvmgicv3.conf
new file mode 100644
index 0000000..e203fe9
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/xenvmgicv3.conf
@@ -0,0 +1,14 @@ 
+#@TYPE: Machine
+#@NAME: xenvmgicv3
+#@DESCRIPTION: Machine for Zephyr BOARD xenvm gicv3 variant that
+#              to allows run Zephyr as Xen guest on any ARMv8 board
+#              that supports ARM Virtualization Extensions.
+
+# Include tune-cortexa72-cortexa53.inc
+require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
+
+DEFAULTTUNE = "cortexa72-cortexa53"
+
+# Zephyr RTOS settings
+ZEPHYR_BOARD = "xenvm/xenvm/gicv3"
+ARCH:xenvm = "aarch64"