Checkout the 'master-next' branches (on github.com/Xilinx) for meta-xilinx and meta-xilinx-tools. It _compiles_ for langdale (master), but I was only able to get runqemu working for zynqmp-generic.

In the meta-xilinx repositority only meta-xilinx-core and meta-xilinx-standalone have been updated at this point.

Open for additional patches. This might also prove to be a foundation for Kirkstone work as well. I've not attempted kirkstone yet.

--Mark

On 5/4/22 7:02 PM, Mark Hatle wrote:


On 5/4/22 5:41 PM, Jeremy Puhlman wrote:


On 5/4/2022 12:56 PM, Jeremy Puhlman via lists.yoctoproject.org wrote:


On 5/4/2022 12:37 PM, Mark Hatle wrote:
What is your configuration for these?  I'm using the default config
and not getting any of these errors.  I want to try to match what I can.

(Assume DISTRO_FEATURES?)

(I don't doubt the selinux one is wrong, since I know I don't have
that one.  At one point the selinux config was a YP specific patch.)

Again this is off of master, not honister. The oe-core alsa config is
--audio-drv-list=default, which leads to the specific error for alsa, and
the pulsedio is --enable/disable, but the config doesn't know what
etiher of them are.

As an aside it appears the master/kirkstone version of runqemu sets

"-nographic -serial null -serial mon:stdio"

based on if you specify nographic(it sets it to mon:vc otherwise) on the
command line or not.

This ends up duplicating -serial mon:* on the qemu command line.
Removing the mon setting in  QB_OPT_APPEND in zynq-generic.conf
allows it to run, but leaving it in it exits complaining about the
conflict(even if the setting is identical).

   > runqemu - ERROR - Failed to run qemu: qemu-system-aarch64: -serial
mon:stdio: cannot use stdio by multiple character devices
   > qemu-system-aarch64: -serial mon:stdio: could not connect serial
device to character backend 'mon:stdio'

Thanks, I'll attempt to get this resolved as well.

Thanks!
--Mark


--Mark

On 5/4/22 1:29 PM, Jeremy Puhlman wrote:
+PACKAGECONFIG[alsa] = "--audio-drv-list=alsa,,alsa-lib"
| ERROR: Unknown driver 'default' selected
|        Possible drivers are: oss alsa sdl pa

+PACKAGECONFIG[pulsedio] = "--audio-drv-list=pa,,pulseaudio"
| ERROR: unknown option --disable-pa

+#PACKAGECONFIG[selinux] = ""
| ERROR: unknown option --disable-selinux

Signed-off-by: Jeremy A. Puhlman <[email protected]>
---
    meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc | 8 ++++++++
    1 file changed, 8 insertions(+)

diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
index 9f402a2b..225dce3a 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
@@ -30,10 +30,18 @@ S = "${WORKDIR}/git"
    PACKAGECONFIG:remove = "kvm"
    PACKAGECONFIG:append = " fdt sdl gcrypt pie"
    +
    PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt,"
    PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl2"
    PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,,"
    +# Remove when version is in sync with core oe-core
+PACKAGECONFIG:remove:class-nativesdk= "pulsedio"
+PACKAGECONFIG:remove:class-native = "pulsedio"
+PACKAGECONFIG[alsa] = "--audio-drv-list=alsa,,alsa-lib"
+PACKAGECONFIG[pulsedio] = "--audio-drv-list=pa,,pulseaudio"
+PACKAGECONFIG[selinux] = ""
+
    DISABLE_STATIC:pn-${PN} = ""
    EXTRA_OECONF:remove = " --with-git=/bin/false
--with-git-submodules=ignore"
















-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5007): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5007
Mute This Topic: https://lists.yoctoproject.org/mt/90894568/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to