summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index f156c4dae5..9619bec7b9 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -50,6 +50,9 @@ else
50 "qemuarm") 50 "qemuarm")
51 mem_size=128 51 mem_size=128
52 ;; 52 ;;
53 "qemumicroblaze")
54 mem_size=64
55 ;;
53 "qemumips"|"qemumips64") 56 "qemumips"|"qemumips64")
54 mem_size=128 57 mem_size=128
55 ;; 58 ;;
@@ -264,6 +267,7 @@ fi
264 267
265case "$MACHINE" in 268case "$MACHINE" in
266 "qemuarm") ;; 269 "qemuarm") ;;
270 "qemumicroblaze") ;;
267 "qemumips") ;; 271 "qemumips") ;;
268 "qemumipsel") ;; 272 "qemumipsel") ;;
269 "qemumips64") ;; 273 "qemumips64") ;;
@@ -496,6 +500,15 @@ if [ "$MACHINE" = "akita" ]; then
496 fi 500 fi
497fi 501fi
498 502
503if [ "$MACHINE" = "qemumicroblaze" ]; then
504 QEMU=qemu-system-microblazeel
505 QEMU_SYSTEM_OPTIONS="-M petalogix-ml605 -serial mon:stdio -dtb $KERNEL-$MACHINE.dtb"
506 if [ "${FSTYPE:0:3}" = "ext" -o "${FSTYPE:0:4}" = "cpio" ]; then
507 KERNCMDLINE="earlyprintk root=/dev/ram rw"
508 QEMUOPTIONS="$QEMU_SYSTEM_OPTIONS -initrd $ROOTFS"
509 fi
510fi
511
499if [ "$MACHINE" = "qemuzynq" ]; then 512if [ "$MACHINE" = "qemuzynq" ]; then
500 QEMU=qemu-system-arm 513 QEMU=qemu-system-arm
501 QEMU_SYSTEM_OPTIONS="-M xilinx-zynq-a9 -serial null -serial mon:stdio -dtb $KERNEL-$MACHINE.dtb" 514 QEMU_SYSTEM_OPTIONS="-M xilinx-zynq-a9 -serial null -serial mon:stdio -dtb $KERNEL-$MACHINE.dtb"