summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index bc2a3557a5..eff5ab4ea5 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -389,6 +389,15 @@ if [ "$MACHINE" = "qemuarm64" ]; then
389 # qemu-system-aarch64 only support '-machine virt -cpu cortex-a57' for now 389 # qemu-system-aarch64 only support '-machine virt -cpu cortex-a57' for now
390 QEMUOPTIONS="$QEMU_NETWORK_CMD -machine virt -cpu cortex-a57 $ROOTFS_OPTIONS $QEMU_UI_OPTIONS" 390 QEMUOPTIONS="$QEMU_NETWORK_CMD -machine virt -cpu cortex-a57 $ROOTFS_OPTIONS $QEMU_UI_OPTIONS"
391 fi 391 fi
392 if [ "$FSTYPE" = "nfs" ]; then
393 if [ "$NFS_SERVER" = "192.168.7.1" -a ! -d "$NFS_DIR" ]; then
394 echo "Error: NFS mount point $ROOTFS doesn't exist"
395 cleanup
396 return 1
397 fi
398 KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw console=ttyAMA0,38400 mem=$QEMU_MEMORY highres=off $KERNEL_NETWORK_CMD"
399 QEMUOPTIONS="$QEMU_NETWORK_CMD -machine virt -cpu cortex-a57 $QEMU_UI_OPTIONS"
400 fi
392fi 401fi
393 402
394 403