[OE-core] [PATCH] runqemu-internal: Update the qemuzynq boot options
Alistair Francis
alistair.francis at xilinx.com
Tue Jun 7 18:33:37 UTC 2016
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 at xilinx.com>
Reported-by: Arno <star at gmx.li>
---
scripts/runqemu-internal | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index ac1c703..9cc30d4 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -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
--
2.7.4
More information about the Openembedded-core
mailing list