Skip to contentSkip to conversation

runqemu-internal: Add console=tty

PATCH New Saul Wold 1 participant 1 message Apr 5, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 runqemu-internal: Add console=tty

Adding this to the nfs to match the ext3 kernelcmdline, this re-enables keyboard input on the qemuppc.

[YOCTO #2058]

Thanks to Yi Zhao <[email protected]> for the initial patch suggestion

---
 scripts/runqemu-internal |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/runqemu-internal +1 -1
index 92f245a..1831a09 100755
@@ -404,7 +404,7 @@ if [ "$MACHINE" = "qemuppc" ]; then
             cleanup
             return
         fi
-        KERNCMDLINE="root=/dev/nfs console=ttyS0 nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
+        KERNCMDLINE="root=/dev/nfs console=ttyS0 console=tty nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
         QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -no-reboot $QEMU_UI_OPTIONS"
     fi
 fi
Signature · 1 line
1.7.7.6