Created
September 25, 2020 07:50
-
-
Save CaledoniaProject/63de05140a96b595cee02b1ce03f24e2 to your computer and use it in GitHub Desktop.
emumipsel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -f "vmlinux-3.2.0-4-4kc-malta" ]; then | |
wget https://people.debian.org/~aurel32/qemu/mipsel/vmlinux-3.2.0-4-4kc-malta | |
fi | |
if [ ! -f "debian_wheezy_mipsel_standard.qcow2" ]; then | |
wget https://people.debian.org/~aurel32/qemu/mipsel/debian_wheezy_mipsel_standard.qcow2 | |
fi | |
sudo qemu-system-mipsel -m 1024M -M malta \ | |
-nographic \ | |
-kernel vmlinux-3.2.0-4-4kc-malta \ | |
-hda debian_wheezy_mipsel_standard.qcow2 \ | |
-append "root=/dev/sda1 console=tty0" \ | |
-device VGA \ | |
-net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443,hostfwd=tcp::2222-:22,hostfwd=tcp::8080-:8080,hostfwd=tcp::9999-:9999 \ | |
-net nic -no-reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment