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:08:10 +0100 |
commit | 3d202594bb92fe75cd70f81345e64c2179b52c32 (patch) | |
tree | d63841fc13ea2036218eddc903619140f6eeffed /scripts | |
parent | 48c09163db18634e3071009b94645812ade285f4 (diff) | |
download | openembedded-core-3d202594bb92fe75cd70f81345e64c2179b52c32.tar.gz openembedded-core-3d202594bb92fe75cd70f81345e64c2179b52c32.tar.bz2 openembedded-core-3d202594bb92fe75cd70f81345e64c2179b52c32.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.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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 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 |