[meta-xilinx] [PATCH 11/29] qemuzynq.conf: Update runqemu support

Nathan Rossi nathan at nathanrossi.com
Wed Sep 28 08:15:38 PDT 2016


 * Handle slirp/tap networking separately.
 * Force the use of serial port and always disable graphics since the
   qemuzynq target does not support any graphics

Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
---
 conf/machine/qemuzynq.conf | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/conf/machine/qemuzynq.conf b/conf/machine/qemuzynq.conf
index 894fee8173..e9767d9819 100644
--- a/conf/machine/qemuzynq.conf
+++ b/conf/machine/qemuzynq.conf
@@ -23,7 +23,9 @@ QB_SYSTEM_NAME = "qemu-system-arm"
 QB_MEM = "-m 1024"
 QB_MACHINE = "-machine xilinx-zynq-a9"
 QB_DTB = "${MACHINE}.dtb"
-QB_SERIAL_OPT = "-serial null -serial mon:stdio"
-QB_OPT_APPEND = "-net nic -net nic -usb -usbdevice tablet"
+QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio"
 QB_DEFAULT_FSTYPE = "cpio"
 QB_KERNEL_CMDLINE_APPEND = "console=ttyPS0"
+QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -net nic,netdev=net0,macaddr=@MAC@"
+QB_SLIRP_OPT = "-netdev user,id=net0 -net nic,netdev=net0"
+
-- 
2.9.3



More information about the meta-xilinx mailing list