diff options
Diffstat (limited to 'scripts/qemu/qemu-ext2')
-rwxr-xr-x | scripts/qemu/qemu-ext2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/qemu/qemu-ext2 b/scripts/qemu/qemu-ext2 new file mode 100755 index 0000000000..7402709c6c --- /dev/null +++ b/scripts/qemu/qemu-ext2 | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ -z "$QEMU_MEMORY" ] | ||
4 | then | ||
5 | QEMU_MEMORY="64M" | ||
6 | fi | ||
7 | |||
8 | qemu-system-arm -kernel $1 -append "root=/dev/sda mem=$QEMU_MEMORY" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup -M versatilepb -hda $2 \ No newline at end of file | ||