[oe-commits] Chen Qi : runqemu-internal: add "console=ttyS0" to ramfs image kernel parameters
git at git.openembedded.org
git at git.openembedded.org
Thu May 22 15:46:14 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 3d202594bb92fe75cd70f81345e64c2179b52c32
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3d202594bb92fe75cd70f81345e64c2179b52c32
Author: Chen Qi <Qi.Chen at windriver.com>
Date: Mon May 19 16:03:28 2014 +0800
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 at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
scripts/runqemu-internal | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index d317dfd..38745dd 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
More information about the Openembedded-commits
mailing list