[oe-commits] Jagadeesh Krishnanjanappa : runqemu-script: define console for qemuarm NFS booting

git at git.openembedded.org git at git.openembedded.org
Tue Jun 23 10:55:11 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 2d2db8f517ea719f097c957559175a07ecee82ad
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2d2db8f517ea719f097c957559175a07ecee82ad

Author: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
Date:   Tue Jun 16 16:36:28 2015 +0530

runqemu-script: define console for qemuarm NFS booting

Add console=ttyAMA0,115200 as one of the boot parameters
for qemuarm, in order to print bootlog messages on the
console.

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 scripts/runqemu-internal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index eff5ab4..3df1803 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -368,7 +368,7 @@ if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarm
             cleanup
             return 1
         fi
-        KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
+        KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw console=ttyAMA0,115200 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
         QEMUOPTIONS="$QEMU_NETWORK_CMD -M ${MACHINE_SUBTYPE} --no-reboot $QEMU_UI_OPTIONS"
     fi
     if [ "$MACHINE" = "qemuarmv6" ]; then



More information about the Openembedded-commits mailing list