summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-05-19 16:03:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-21 09:09:02 +0100
commit90b78c3931d88d411286f4cb0c95506f9b995aaf (patch)
tree277a18fc4f7a96ffb5ac1586026c46d4fcce845b
parent387e35954a8b178400b0032bf9d00d9ab6e3b0f1 (diff)
downloadtizen-distro-90b78c3931d88d411286f4cb0c95506f9b995aaf.tar.gz
tizen-distro-90b78c3931d88d411286f4cb0c95506f9b995aaf.tar.bz2
tizen-distro-90b78c3931d88d411286f4cb0c95506f9b995aaf.zip
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>
-rwxr-xr-xscripts/runqemu-internal2
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
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