aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2022-01-24 14:29:25 -0800
committerMark Hatle <mark.hatle@xilinx.com>2022-01-24 14:29:25 -0800
commit34e2652a1ae39dd4ad43b5f931664e74570e9303 (patch)
treee86bdfebdd60b8c5cbf85eed51d47af2119f9218
parent18fa6e5d4a9b3135fa2555ad12c9a307cb76052c (diff)
downloadmeta-xilinx-master.zip
meta-xilinx-master.tar.gz
meta-xilinx-master.tar.bz2
qemu: Move to latest in-progress development versionHEADmasterhonister
Move from the initial qemu-xilinx 6.1.0 version to the current development version. Changelog qemu-devicetrees: versal-psm: Add psm err management module versal: Add vitis variant for xcvc2802 versal: Add xcvc2802 & xcve2802 devices versal: memmap: npi: Allow AIE2 NPI range to be overriden versal: Make generic npi default for all boards versal: remote-port: Add a PL to XRAM port versal: lpd: Move the XRAM into a separate memory region zynqmp: Fix DDR aliasing onto qemu_sysmem versal-pmc-sys: Connect efuse-cache to sysmon versal: smmu: Versal has 1 global + 32 context interrupts vpk180: Add new board dts xcvp1802: Add ssit property board-versal-ps-virt: Add include guards xcvp1802-virt: This virt board is for VPK180 emulation versal: Add pmc error management node vitis: versal: Prepare for NPI forwarding versal: remote-port: Allocate device for NPI forwarding versal: memmap: Add the AIE2 adress range versal-ps-iou: Configure the number of interrupts an slots on usb_dwc3 zynqmp-iou: Configure the number of interrupts an slots on usb_dwc3 versal-pmc-sec: Improve the error message board-versal-pmc-virt: Fix DDR size Changelog qemu-xilinx: versal-psm-error-mng: Fix the mask reg updates versal-psm-error-mng: Add PSM error management module versal-pmc-error-mng: Update MASK regs based on EN/DIS versal: puf: Fix puf-id generation versal: xram-slcr: Reflect XRAM power up/down status versal: sysmon: Model secure efuse transfer versal: pmc: efuse-cache: Implement sysmon data-source interface xlnx-efuse: Introduce sysmon data-source interface Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch30
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2021.2.bb4
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.1.bb5
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb32
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.1.bb (renamed from meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2021.2.bb)0
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.1.bb (renamed from meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2021.2.bb)0
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc2
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2022.1.bb (renamed from meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2021.2.bb)0
8 files changed, 27 insertions, 46 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch b/meta-xilinx-core/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch
deleted file mode 100644
index 32c3338..0000000
--- a/meta-xilinx-core/recipes-devtools/qemu/files/0001-Add-enable-disable-udev.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 4ebe009d505bf10b0d90bad081d3fe5bd1cf7441 Mon Sep 17 00:00:00 2001
-From: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
-Date: Thu, 6 May 2021 14:33:42 -0700
-Subject: [PATCH] Add enable/disable libudev
-
-Upstream-Status: Pending
-Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
-Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
----
- configure | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/configure b/configure
-index c2ef164..612f987 100755
---- a/configure
-+++ b/configure
-@@ -1633,6 +1633,10 @@ for opt do
- ;;
- --gdb=*) gdb_bin="$optarg"
- ;;
-+ --enable-libudev) libudev="yes"
-+ ;;
-+ --disable-libudev) libudev="no"
-+ ;;
- --enable-rng-none) rng_none=yes
- ;;
- --disable-rng-none) rng_none=no
---
-2.7.4
-
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2021.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2021.2.bb
deleted file mode 100644
index 98785e7..0000000
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2021.2.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require qemu-devicetrees.inc
-
-BRANCH ?= "xlnx_rel_v2021.2"
-SRCREV ?= "0462d4d4866481c19102e05ebefe9f1691ed7ee8"
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.1.bb
new file mode 100644
index 0000000..54164c5
--- /dev/null
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.1.bb
@@ -0,0 +1,5 @@
+
+require qemu-devicetrees.inc
+
+BRANCH ?= "master"
+SRCREV ?= "e151ddb709f351e51339d5a45f59203dc3908329"
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb
index efd23d5..eb14c0c 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-helper-native_1.0.bb
@@ -1,18 +1,22 @@
-
-python () {
- if d.getVar("PREFERRED_PROVIDER_qemu-helper-native") != d.getVar("PN"):
- raise bb.parse.SkipRecipe("Set qemu-helper-native provider to use this recipe")
-}
-
-# TODO: improve this, since it is very hacky that this recipe need to build tunctl.
-# include the existing qemu-helper-native
-require recipes-devtools/qemu/qemu-helper-native_1.0.bb
-# get the path to tunctl.c (from oe-core!)
FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-devtools/qemu/qemu-helper:"
# provide it, to replace the existing
-PROVIDES += "qemu-helper-native"
+PROVIDES = "qemu-helper-native"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999"
+
+SRC_URI = "\
+ file://tunctl.c \
+ "
+
+S = "${WORKDIR}"
+inherit native
+
+do_compile() {
+ ${CC} ${CFLAGS} ${LDFLAGS} -Wall tunctl.c -o tunctl
+}
# replace qemu with qemu-xilinx
DEPENDS:remove = "qemu-system-native"
DEPENDS:append = " \
@@ -22,3 +26,9 @@ DEPENDS:append = " \
RDEPENDS:${PN}:remove = "qemu-system-native"
RDEPENDS:${PN}:append = " qemu-xilinx-system-native"
+
+do_install() {
+ install -d ${STAGING_BINDIR_NATIVE}
+ install tunctl ${STAGING_BINDIR_NATIVE}
+
+}
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2021.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.1.bb
index 5e6c2d2..5e6c2d2 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2021.2.bb
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.1.bb
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2021.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.1.bb
index f5b89f0..f5b89f0 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2021.2.bb
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.1.bb
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
index d268f3e..9f402a2 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
@@ -12,7 +12,7 @@ DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native"
XILINX_QEMU_VERSION ?= "v6.1.0"
BRANCH ?= "master"
-SRCREV = "8dd1b8cabff3e3e5b965d7a60472278ca4e27ceb"
+SRCREV = "58e43069b15879cf8bc926ebae02a21909fb7df8"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2021.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2022.1.bb
index 4983b4d..4983b4d 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2021.2.bb
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2022.1.bb