From da849d49f2be08f3fb405e5bd5a9c88447439ac1 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 14 Apr 2025 15:27:42 +0200 Subject: [PATCH 1/2] meta-zephyr-sdk: xilinx_qemu: Enable slirp Enable user-space TCP/IP stack for network emulation to be able to connect emulated ethernet controllers with host PC for testing purpose. Signed-off-by: Michal Simek --- .../recipes-devtools/qemu_xilinx/qemu-xilinx_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-zephyr-sdk/recipes-devtools/qemu_xilinx/qemu-xilinx_git.bb b/meta-zephyr-sdk/recipes-devtools/qemu_xilinx/qemu-xilinx_git.bb index d71876e0..a1709a90 100644 --- a/meta-zephyr-sdk/recipes-devtools/qemu_xilinx/qemu-xilinx_git.bb +++ b/meta-zephyr-sdk/recipes-devtools/qemu_xilinx/qemu-xilinx_git.bb @@ -1,4 +1,4 @@ -DEPENDS = "glib-2.0 zlib dtc pixman bison-native meson-native ninja-native libgcrypt" +DEPENDS = "glib-2.0 zlib dtc pixman bison-native meson-native ninja-native libgcrypt libslirp" LICENSE = "GPL-2.0-only & LGPL-2.1-only" RDEPENDS:${PN}-common:class-target += "bash" @@ -57,6 +57,7 @@ EXTRA_OECONF = " \ --disable-curl --disable-attr --disable-curses --disable-iconv \ --disable-kvm --disable-parallels --disable-replication \ --disable-live-block-migration --disable-dmg --disable-werror \ + --enable-slirp \ " QEMU_TARGETS = "aarch64-softmmu riscv32-softmmu riscv64-softmmu microblazeel-softmmu" From c3760659876f39d21a305e2152230355e09be45c Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 15 Apr 2025 14:34:31 +0200 Subject: [PATCH 2/2] qemu: Enable slirp Enable user-space TCP/IP stack for network emulation to be able to connect emulated ethernet controllers with host PC for testing purpose. Signed-off-by: Michal Simek --- meta-zephyr-sdk/recipes-devtools/qemu/qemu-zephyr_9.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-zephyr-sdk/recipes-devtools/qemu/qemu-zephyr_9.2.1.bb b/meta-zephyr-sdk/recipes-devtools/qemu/qemu-zephyr_9.2.1.bb index 41d84d13..a737ff6e 100644 --- a/meta-zephyr-sdk/recipes-devtools/qemu/qemu-zephyr_9.2.1.bb +++ b/meta-zephyr-sdk/recipes-devtools/qemu/qemu-zephyr_9.2.1.bb @@ -10,7 +10,7 @@ a variety of guest operating systems" HOMEPAGE = "http://qemu.org" LICENSE = "GPL-2.0-only & LGPL-2.1-only" -DEPENDS += "bison-native meson-native ninja-native" +DEPENDS += "bison-native meson-native ninja-native libslirp" DEPENDS += "glib-2.0 zlib pixman"