]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu-internal: add "console=ttyS0" to ramfs image kernel parameters
authorChen Qi <Qi.Chen@windriver.com>
Mon, 19 May 2014 08:03:28 +0000 (16:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 May 2014 12:42:09 +0000 (13:42 +0100)
We need this kernel command parameter so that when we start a ramfs
image, we can actually get some output. Although we can make this
happen by specifying the 'bootparams' for the 'runqemu' command, it's
better to make this the default behaviour.

(From OE-Core rev: 3d202594bb92fe75cd70f81345e64c2179b52c32)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu-internal

index d317dfd2422422e00729549f1a696c492ef8a613..38745dd126a2245db37b346c1a22b2dbcd20b470 100755 (executable)
@@ -550,7 +550,7 @@ fi
 
 if [ "x$RAMFS" = "xtrue" ]; then
     QEMUOPTIONS="-initrd $ROOTFS -nographic"
-    KERNCMDLINE="root=/dev/ram0 debugshell"
+    KERNCMDLINE="root=/dev/ram0 console=ttyS0 debugshell"
 fi
 
 if [ "x$ISOFS" = "xtrue" ]; then