[OE-core] [PATCH 1/1] runqemu-internal: add "console=ttyS0" to ramfs image kernel parameters
Chen Qi
Qi.Chen at windriver.com
Mon May 19 08:03:28 UTC 2014
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>
---
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
--
1.7.9.5
More information about the Openembedded-core
mailing list