]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu-internal: Update the qemuzynq boot options
authorAlistair Francis <alistair.francis@xilinx.com>
Tue, 7 Jun 2016 18:33:37 +0000 (11:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jun 2016 22:35:22 +0000 (23:35 +0100)
The current qemuzynq options were causing QEMU to exit instead of
booting as the QEMU Zynq-7000 machine does not have virtio or
display devices.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reported-by: Arno <star@gmx.li>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu-internal

index 5671b4f434204b503f1b78cf941e913d370a67c3..ea1a307234f4e2ea148dad33ca7227c20d61c948 100755 (executable)
@@ -489,7 +489,8 @@ config_qemush4() {
 config_qemuzynq() {
     set_mem_size 1024
     QEMU=qemu-system-arm
-    QEMU_SYSTEM_OPTIONS="$QEMU_NETWORK_CMD -M xilinx-zynq-a9 -serial null -serial mon:stdio -dtb $KERNEL-$MACHINE.dtb"
+    QEMU_NETWORK_CMD="-net nic -net nic $QEMU_TAP_CMD"
+    QEMU_SYSTEM_OPTIONS="$QEMU_NETWORK_CMD -M xilinx-zynq-a9 -serial null -serial mon:stdio -nographic -dtb $KERNEL-$MACHINE.dtb"
     # zynq serial ports are named 'ttyPS0' and 'ttyPS1', fixup the default values
     SCRIPT_KERNEL_OPT=$(echo "$SCRIPT_KERNEL_OPT" | sed 's/console=ttyS/console=ttyPS/g')
     if [ "${FSTYPE:0:3}" = "ext" -o "${FSTYPE:0:4}" = "cpio" ]; then