From 2d20311e0ac31d47e7e76b1d436ceba1c0557a52 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Fri, 6 Mar 2026 21:43:52 -0700 Subject: [PATCH] machine: Add support for xenvm boards 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 Signed-off-by: Lee Chee Yang --- 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 --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"