new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel ${1:-output}/images/Image -append "rootwait root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=${1:-output}/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel output/images/Image -append "rootwait root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-arm -M versatilepb -kernel ${1:-output}/images/zImage -dtb ${1:-output}/images/versatile-pb.dtb -append "console=ttyAMA0,115200" -serial stdio -net user -net nic,model=smc91c111
+
+# The login prompt will appear in the terminal that started Qemu. The
+# graphical window is the framebuffer.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -append "console=ttyAMA0,115200" -serial stdio -net user -net nic,model=smc91c111
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-arm -M versatilepb -kernel ${1:-output}/images/zImage -dtb ${1:-output}/images/versatile-pb.dtb -drive file=${1:-output}/images/rootfs.ext2,if=scsi,format=raw -append "rootwait root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
+
+# The login prompt will appear in the terminal that started Qemu. The
+# graphical window is the framebuffer.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "rootwait root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,3 @@
+#!/bin/env bash
+
+qemu-system-arm -machine virt -machine secure=on -cpu cortex-a15 -smp 1 -s -m 1024 -d unimp -serial stdio -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic -semihosting-config enable,target=native -bios ${1:-output}/images/bl1.bin
new file mode 100755
@@ -0,0 +1,11 @@
+#!/bin/env bash
+
+qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel ${1:-output}/images/zImage -dtb ${1:-output}/images/vexpress-v2p-ca9.dtb -drive file=${1:-output}/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 rootwait root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
+
+# The login prompt will appear in the terminal that started Qemu. The
+# graphical window is the framebuffer.
+
+# If you want to emulate more cores change "-smp 1" to "-smp 2" for
+# dual-core or even "smp -4" for a quad-core configuration.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,11 +0,0 @@
-Run the emulation with:
-
- qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 rootwait root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer.
-
-If you want to emulate more cores change "-smp 1" to "-smp 2" for
-dual-core or even "smp -4" for a quad-core configuration.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,5 @@
+#!/bin/env bash
+
+qemu-system-cskyv1 -M virt -nographic -kernel vmlinux
+
+# The login prompt will appear in the terminal that started Qemu. Username is root and no password.
deleted file mode 100644
@@ -1,5 +0,0 @@
-Run with qemu:
-
- qemu-system-cskyv1 -M virt -nographic -kernel vmlinux
-
-The login prompt will appear in the terminal that started Qemu. Username is root and no password.
new file mode 100755
@@ -0,0 +1,5 @@
+#!/bin/env bash
+
+qemu-system-cskyv2 -M virt -nographic -kernel vmlinux
+
+# The login prompt will appear in the terminal that started Qemu. Username is root and no password.
deleted file mode 100644
@@ -1,5 +0,0 @@
-Run with qemu:
-
-qemu-system-cskyv2 -M virt -nographic -kernel vmlinux
-
-The login prompt will appear in the terminal that started Qemu. Username is root and no password.
new file mode 100755
@@ -0,0 +1,5 @@
+#!/bin/env bash
+
+qemu-system-cskyv2 -M virt -nographic -kernel vmlinux
+
+# The login prompt will appear in the terminal that started Qemu. Username is root and no password.
deleted file mode 100644
@@ -1,5 +0,0 @@
-Run with qemu:
-
- qemu-system-cskyv2 -M virt -nographic -kernel vmlinux
-
-The login prompt will appear in the terminal that started Qemu. Username is root and no password.
new file mode 100755
@@ -0,0 +1,5 @@
+#!/bin/env bash
+
+qemu-system-cskyv2 -M virt -cpu ck860 -smp 2 -nographic -kernel vmlinux
+
+# The login prompt will appear in the terminal that started Qemu. Username is root and no password.
deleted file mode 100644
@@ -1,5 +0,0 @@
-Run with qemu:
-
- qemu-system-cskyv2 -M virt -cpu ck860 -smp 2 -nographic -kernel vmlinux
-
-The login prompt will appear in the terminal that started Qemu. Username is root and no password.
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-m68k -M mcf5208evb -cpu m5208 -kernel ${1:-output}/images/vmlinux -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-m68k -M mcf5208evb -cpu m5208 -kernel output/images/vmlinux -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-m68k -M q800 -kernel ${1:-output}/images/vmlinux -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0" -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.11.0 from https://github.com/vivier/qemu-m68k
+# You need following branch: q800-v2.11.0
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-m68k -M q800 -kernel output/images/vmlinux -nographic -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0"
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.11.0 from https://github.com/vivier/qemu-m68k
-You need following branch: q800-v2.11.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-microblaze -M petalogix-s3adsp1800 -kernel ${1:-output}/images/linux.bin -serial stdio
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-microblaze -M petalogix-s3adsp1800 -kernel output/images/linux.bin -serial stdio
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-microblazeel -M petalogix-s3adsp1800 -kernel ${1:-output}/images/linux.bin -serial stdio
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-microblazeel -M petalogix-s3adsp1800 -kernel output/images/linux.bin -serial stdio
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,2 @@
+#!/bin/env bash
+
deleted file mode 100644
@@ -1,9 +0,0 @@
-Run the emulation with:
-
- qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer. No keyboard support has been
-enabled.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,9 @@
+#!/bin/env bash
+
+qemu-system-mipsel -M malta -kernel ${1:-output}/images/vmlinux -serial stdio -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user
+
+# The login prompt will appear in the terminal that started Qemu. The
+# graphical window is the framebuffer. No keyboard support has been
+# enabled.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,9 +0,0 @@
-Run the emulation with:
-
- qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer. No keyboard support has been
-enabled.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-mips -M malta -cpu mips32r6-generic -kernel ${1:-output}/images/vmlinux -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
-qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel ${1:-output}/images/vmlinux -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
-qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-mips64 -M malta -kernel ${1:-output}/images/vmlinux -serial stdio -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda"
+
+# The login prompt will appear in the terminal that started Qemu. The
+# graphical window is the framebuffer.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda"
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-mips64el -M malta -kernel ${1:-output}/images/vmlinux -serial stdio -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda"
+
+# The login prompt will appear in the terminal that started Qemu. The
+# graphical window is the framebuffer.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda"
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-mips64 -M malta -cpu I6400 -kernel ${1:-output}/images/vmlinux -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-mips64 -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-mips64el -M malta -cpu I6400 -kernel ${1:-output}/images/vmlinux -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-mips64el -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-nios2 -kernel ${1:-output}/images/vmlinux -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0.
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-nios2 -kernel output/images/vmlinux -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0.
new file mode 100755
@@ -0,0 +1,9 @@
+#!/bin/env bash
+
+qemu-system-or1k -kernel ${1:-output}/images/vmlinux -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Ethernet support is not working, yet.
+
+# Tested with QEMU 2.12.0.
deleted file mode 100644
@@ -1,9 +0,0 @@
-Run the emulation with:
-
- qemu-system-or1k -kernel output/images/vmlinux -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Ethernet support is not working, yet.
-
-Tested with QEMU 2.12.0.
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-ppc -M g3beige -kernel ${1:-output}/images/vmlinux -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user
+
+# The login prompt will appear in the terminal that started Qemu. The
+# graphical window is the framebuffer.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user
-
-The login prompt will appear in the terminal that started Qemu. The
-graphical window is the framebuffer.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,5 @@
+#!/bin/env bash
+
+qemu-system-ppc -M mac99 -cpu g4 -m 1G -kernel ${1:-output}/images/vmlinux -drive file=${1:-output}/images/rootfs.ext2,format=raw -net nic,model=sungem -net user -append "root=/dev/sda" -nographic -vga none
+
+# Tested with QEMU 3.1.0
deleted file mode 100644
@@ -1,5 +0,0 @@
-Run the emulation with:
-
- qemu-system-ppc -nographic -vga none -M mac99 -cpu g4 -m 1G -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -net nic,model=sungem -net user -append "root=/dev/sda"
-
-Tested with QEMU 3.1.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-ppc -M mpc8544ds -kernel ${1:-output}/images/vmlinux -serial stdio -net nic,model=e1000 -net user
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-ppc -M mpc8544ds -kernel output/images/vmlinux -serial stdio -net nic,model=e1000 -net user
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-ppc -M virtex-ml507 -m 256 -kernel ${1:-output}/images/vmlinux -dtb ${1:-output}/images/virtex440-ml507.dtb -append "console=ttyS0" -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-ppc -M virtex-ml507 -kernel output/images/vmlinux -m 256 -nographic -append "console=ttyS0" -dtb output/images/virtex440-ml507.dtb
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel ${1:-output}/images/uImage -drive file=${1:-output}/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel ${1:-output}/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=${1:-output}/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-ppc64 -M pseries -cpu POWER8 -m 256 -kernel ${1:-output}/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=${1:-output}/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
+
+# The login prompt will appear in the terminal window.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
-qemu-system-ppc64 -M pseries -cpu POWER8 -m 256 -kernel output/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
-
-The login prompt will appear in the terminal window.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-riscv32 -M virt -kernel ${1:-output}/images/fw_jump.elf -device loader,file=${1:-output}/images/Image,addr=0x80400000 -append "rootwait root=/dev/vda ro" -drive file=${1:-output}/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 3.1
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run Linux in emulation with:
-
- qemu-system-riscv32 -M virt -kernel output/images/fw_jump.elf -device loader,file=output/images/Image,addr=0x80400000 -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 3.1
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-riscv64 -M virt -kernel ${1:-output}/images/fw_jump.elf -device loader,file=${1:-output}/images/Image,addr=0x80200000 -append "rootwait root=/dev/vda ro" -drive file=${1:-output}/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 3.1
+
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run Linux in emulation with:
-
- qemu-system-riscv64 -M virt -kernel output/images/fw_jump.elf -device loader,file=output/images/Image,addr=0x80200000 -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 3.1
new file mode 100755
@@ -0,0 +1,9 @@
+#!/bin/env bash
+
+qemu-system-sh4 -M r2d -kernel ${1:-output}/images/zImage -drive file=${1:-output}/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
+
+# The login prompt will appear in the terminal that started Qemu.
+# The graphical window is the framebuffer.
+
+# Tested with QEMU 2.12.0
+
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
-
-The login prompt will appear in the terminal that started Qemu.
-The graphical window is the framebuffer.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,8 @@
+#!/bin/env bash
+
+qemu-system-sh4eb -M r2d -kernel ${1:-output}/images/zImage -drive file=${1:-output}/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
+
+# The login prompt will appear in the terminal that started Qemu.
+# The graphical window is the framebuffer.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,8 +0,0 @@
-Run the emulation with:
-
- qemu-system-sh4eb -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
-
-The login prompt will appear in the terminal that started Qemu.
-The graphical window is the framebuffer.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-sparc -M SS-10 -kernel ${1:-output}/images/zImage -drive file=${1:-output}/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -net nic,model=lance -net user
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -net nic,model=lance -net user
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-sparc64 -M sun4u -kernel ${1:-output}/images/vmlinux -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -drive file=${1:-output}/images/rootfs.ext2,format=raw -net nic,model=e1000 -net user
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-sparc64 -M sun4u -kernel output/images/vmlinux -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -drive file=output/images/rootfs.ext2,format=raw -net nic,model=e1000 -net user
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,9 @@
+#!/bin/env bash
+
+qemu-system-i386 -M pc -kernel ${1:-output}/images/bzImage -drive file=${1:-output}/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0" -serial stdio -net nic,model=virtio -net user
+
+# Optionally add -smp N to emulate a SMP system with N CPUs.
+
+# The login prompt will appear in the graphical window.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,9 +0,0 @@
-Run the emulation with:
-
- qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0" -serial stdio -net nic,model=virtio -net user
-
-Optionally add -smp N to emulate a SMP system with N CPUs.
-
-The login prompt will appear in the graphical window.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,9 @@
+#!/bin/env bash
+
+qemu-system-x86_64 -M pc -kernel ${1:-output}/images/bzImage -drive file=${1:-output}/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0" -serial stdio -net nic,model=virtio -net user
+
+# Optionally add -smp N to emulate a SMP system with N CPUs.
+
+# The login prompt will appear in the graphical window.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,9 +0,0 @@
-Run the emulation with:
-
- qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0" -serial stdio -net nic,model=virtio -net user
-
-Optionally add -smp N to emulate a SMP system with N CPUs.
-
-The login prompt will appear in the graphical window.
-
-Tested with QEMU 2.12.0
new file mode 100755
@@ -0,0 +1,7 @@
+#!/bin/env bash
+
+qemu-system-xtensa -M lx60 -cpu dc233c -kernel ${1:-output}/images/Image.elf -monitor null -nographic
+
+# The login prompt will appear in the terminal that started Qemu.
+
+# Tested with QEMU 2.12.0
deleted file mode 100644
@@ -1,7 +0,0 @@
-Run the emulation with:
-
- qemu-system-xtensa -M lx60 -cpu dc233c -monitor null -nographic -kernel output/images/Image.elf
-
-The login prompt will appear in the terminal that started Qemu.
-
-Tested with QEMU 2.12.0