Patchwork runqemu-internal: Add console=tty

login
register
mail settings
Submitter Saul Wold
Date April 5, 2012, 8:43 p.m.
Message ID <1333658636-12725-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/25235/
State Accepted
Commit 1a82989345fb98becb487d270fd93a5e6dffeb47
Headers show

Comments

Saul Wold - April 5, 2012, 8:43 p.m.
Adding this to the nfs to match the ext3 kernelcmdline, this re-enables
keyboard input on the qemuppc.

[YOCTO #2058]

Thanks to Yi Zhao <yi.zhao@windriver.com> for the initial patch suggestion

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 scripts/runqemu-internal |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 92f245a..1831a09 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -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