From 28f05bf6e5da9cd8f01cff50c317233e3064e3cb Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Thu, 29 Mar 2012 08:57:37 -0700 Subject: runqemu: set console=ttyS0 when running with nographic option When passing the nograhic option to the runqemu script, set console=ttyS0 in the kernel options so the user can view the kernel boot messages. This fixes [YOCTO #1475] Signed-off-by: Scott Garman Signed-off-by: Richard Purdie --- scripts/runqemu | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/runqemu') diff --git a/scripts/runqemu b/scripts/runqemu index c349de081f..caabf61fe0 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -135,6 +135,7 @@ while [ $i -le $# ]; do ;; "nographic") SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -nographic" + SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" ;; "serial") SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" -- cgit 1.2.3-korg