aboutsummaryrefslogtreecommitdiffstats
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
"qemuarm")
mem_size=128
;;
+ "qemumicroblaze")
+ mem_size=64
+ ;;
"qemumips"|"qemumips64")
mem_size=128
;;
@@ -264,6 +267,7 @@ fi
case "$MACHINE" in
"qemuarm") ;;
+ "qemumicroblaze") ;;
"qemumips") ;;
"qemumipsel") ;;
"qemumips64") ;;
@@ -496,6 +500,15 @@ if [ "$MACHINE" = "akita" ]; then
fi
fi
+if [ "$MACHINE" = "qemumicroblaze" ]; then
+ QEMU=qemu-system-microblazeel
+ QEMU_SYSTEM_OPTIONS="-M petalogix-ml605 -serial mon:stdio -dtb $KERNEL-$MACHINE.dtb"
+ if [ "${FSTYPE:0:3}" = "ext" -o "${FSTYPE:0:4}" = "cpio" ]; then
+ KERNCMDLINE="earlyprintk root=/dev/ram rw"
+ QEMUOPTIONS="$QEMU_SYSTEM_OPTIONS -initrd $ROOTFS"
+ fi
+fi
+
if [ "$MACHINE" = "qemuzynq" ]; then
QEMU=qemu-system-arm
QEMU_SYSTEM_OPTIONS="-M xilinx-zynq-a9 -serial null -serial mon:stdio -dtb $KERNEL-$MACHINE.dtb"