diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-05-19 16:03:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-21 09:09:02 +0100 |
commit | cdaee026f5f957c0271c5ba146c1cee0866a9052 (patch) | |
tree | d7bd7d95af6da5173bcdfae10a1ae4be4ef08f36 /scripts | |
parent | 250b58aa91755ba79b1cc9878f25018d36dfa501 (diff) | |
download | poky-cdaee026f5f957c0271c5ba146c1cee0866a9052.tar.gz |
runqemu-internal: add "console=ttyS0" to ramfs image kernel parameters
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu-internal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index d317dfd242..38745dd126 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -550,7 +550,7 @@ fi | |||
550 | 550 | ||
551 | if [ "x$RAMFS" = "xtrue" ]; then | 551 | if [ "x$RAMFS" = "xtrue" ]; then |
552 | QEMUOPTIONS="-initrd $ROOTFS -nographic" | 552 | QEMUOPTIONS="-initrd $ROOTFS -nographic" |
553 | KERNCMDLINE="root=/dev/ram0 debugshell" | 553 | KERNCMDLINE="root=/dev/ram0 console=ttyS0 debugshell" |
554 | fi | 554 | fi |
555 | 555 | ||
556 | if [ "x$ISOFS" = "xtrue" ]; then | 556 | if [ "x$ISOFS" = "xtrue" ]; then |