diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-05-16 15:44:46 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-05-29 15:05:37 -0500 |
| commit | cbdd12a6a41b43228f567b7088140223aed4ccb5 (patch) | |
| tree | 9a09780da137e979fd71f096179685435366e0bf /meta-xilinx-core/recipes-devtools/qemu | |
| parent | 77eba12b28e4258e1f6a8e613902c1b084a170e1 (diff) | |
| download | meta-xilinx-cbdd12a6a41b43228f567b7088140223aed4ccb5.tar.gz | |
qemu: Bump to lastest master (2024.2) versions
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 16b37ceac501e1cba75a9c25d2f4960e9773ab4b)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-devtools/qemu')
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2024.2.bb (renamed from meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2024.1.bb) | 2 | ||||
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2024.2.inc | 3 | ||||
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2024.2.bb | 11 | ||||
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.2.bb | 35 | ||||
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb | 38 |
5 files changed, 88 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2024.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2024.2.bb index d10504d3..2907bbf1 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2024.1.bb +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2024.2.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | ||
| 2 | require qemu-devicetrees.inc | 2 | require qemu-devicetrees.inc |
| 3 | 3 | ||
| 4 | BRANCH ?= "xlnx_rel_v2024.1" | 4 | BRANCH ?= "master" |
| 5 | SRCREV ?= "b9c88cbfaaa0c8b8be70ea3c74f4cb69fb02a080" | 5 | SRCREV ?= "b9c88cbfaaa0c8b8be70ea3c74f4cb69fb02a080" |
| 6 | 6 | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2024.2.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2024.2.inc new file mode 100644 index 00000000..a528ea93 --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2024.2.inc | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | XILINX_QEMU_VERSION = "v8.1.0" | ||
| 2 | BRANCH = "master" | ||
| 3 | SRCREV = "c0e84b2d5c225f5437954f78f44ac6d3200436d4" | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2024.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2024.2.bb new file mode 100644 index 00000000..5d780dad --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2024.2.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | BPN = "qemu-xilinx" | ||
| 2 | |||
| 3 | DEPENDS += "glib-2.0-native zlib-native" | ||
| 4 | |||
| 5 | require qemu-xilinx-2024.2.inc | ||
| 6 | require qemu-xilinx-native-8.1.inc | ||
| 7 | require qemu-native-alt.inc | ||
| 8 | |||
| 9 | EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-install-blobs --disable-guest-agent" | ||
| 10 | |||
| 11 | PACKAGECONFIG ??= "pie" | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.2.bb new file mode 100644 index 00000000..42e2462c --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.2.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | BPN = "qemu-xilinx" | ||
| 2 | |||
| 3 | require qemu-system-native-alt.inc | ||
| 4 | require qemu-xilinx-2024.2.inc | ||
| 5 | require qemu-xilinx-native-8.1.inc | ||
| 6 | |||
| 7 | # As some of the files installed by qemu-native and qemu-system-native | ||
| 8 | # are the same, we depend on qemu-native to get the full installation set | ||
| 9 | # and avoid file clashes | ||
| 10 | DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native" | ||
| 11 | |||
| 12 | DEPENDS += "qemu-xilinx-multiarch-helper-native" | ||
| 13 | |||
| 14 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "fdt alsa kvm pie slirp png gcrypt \ | ||
| 17 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ | ||
| 18 | " | ||
| 19 | |||
| 20 | # Handle distros such as CentOS 5 32-bit that do not have kvm support | ||
| 21 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" | ||
| 22 | |||
| 23 | do_install:append() { | ||
| 24 | install -Dm 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu-xilinx | ||
| 25 | |||
| 26 | # The following is also installed by qemu-native | ||
| 27 | rm -f ${D}${datadir}/qemu-xilinx/trace-events-all | ||
| 28 | rm -rf ${D}${datadir}/qemu-xilinx/keymaps | ||
| 29 | rm -rf ${D}${datadir}/icons/ | ||
| 30 | rm -rf ${D}${includedir}/qemu-plugin.h | ||
| 31 | |||
| 32 | # Install qmp.py to be used with testimage | ||
| 33 | install -d ${D}${libdir}/qemu-python/qmp/ | ||
| 34 | install -D ${S}/python/qemu/qmp/* ${D}${libdir}/qemu-python/qmp/ | ||
| 35 | } | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb new file mode 100644 index 00000000..78e5415e --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | BBCLASSEXTEND = "nativesdk" | ||
| 2 | |||
| 3 | require qemu-xilinx-2024.2.inc | ||
| 4 | require qemu-8.1.inc | ||
| 5 | require qemu-xilinx-8.1.inc | ||
| 6 | require qemu-alt.inc | ||
| 7 | |||
| 8 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | ||
| 9 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | ||
| 10 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 11 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | ||
| 12 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 13 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | ||
| 14 | |||
| 15 | |||
| 16 | DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native" | ||
| 17 | |||
| 18 | DEPENDS:append:libc-musl = " libucontext" | ||
| 19 | |||
| 20 | CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" | ||
| 21 | |||
| 22 | RDEPENDS:${PN}-common:class-target += "bash" | ||
| 23 | |||
| 24 | EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" | ||
| 25 | EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | ||
| 26 | EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | ||
| 27 | |||
| 28 | PACKAGECONFIG ??= " \ | ||
| 29 | fdt sdl kvm pie slirp gcrypt \ | ||
| 30 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio xen', d)} \ | ||
| 31 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ | ||
| 32 | ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \ | ||
| 33 | " | ||
| 34 | PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp gcrypt \ | ||
| 35 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ | ||
| 36 | " | ||
| 37 | # ppc32 hosts are no longer supported in qemu | ||
| 38 | COMPATIBLE_HOST:powerpc = "null" | ||
