path: root/scripts/runqemu-internal
diff options
authorChen Qi <>2013-01-09 02:31:57 (GMT)
committerRichard Purdie <>2013-01-09 15:05:25 (GMT)
commit6f5d6e2e0fa7a2a0e52a22bb6fc407ca37c329d1 (patch)
tree3c4a900a12345279a26788a2aee154c3fc5d996d /scripts/runqemu-internal
parent278a3c58acc54af4087da56f4aca9e679d4047e6 (diff)
runqemu-internal: add 'debugshell' as a default kernel option
Add 'debugshell' as a default kernel option for ramfs booting. If rootfs.img cannot be found under /media, loops forever without showing any information. Silently looping forever and blocking users is inappropriate. Now that the 'debugshell' feature has been implemented in, It's reasonable to add it to the kernel option when booting a ramfs-based image. In this way, the system doesn't loop forever and instead drops to a shell after a default timeout (30 seconds). (From OE-Core rev: 0ffdfabc5ab5f6303aff11f8ea511875f1eaf0f5) Signed-off-by: Chen Qi <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/runqemu-internal')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index a11220d..9d570ed 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -472,7 +472,7 @@ fi
472 472
473if [ "x$RAMFS" = "xtrue" ]; then 473if [ "x$RAMFS" = "xtrue" ]; then
474 QEMUOPTIONS="-initrd $ROOTFS -nographic" 474 QEMUOPTIONS="-initrd $ROOTFS -nographic"
475 KERNCMDLINE="root=/dev/ram0" 475 KERNCMDLINE="root=/dev/ram0 debugshell"
476fi 476fi
477 477
478if [ "x$QEMUOPTIONS" = "x" ]; then 478if [ "x$QEMUOPTIONS" = "x" ]; then