Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (16 sloc) 536 Bytes
# -serial stdio: redirect the virtual hosts stdio to my console
cur=$(pwd)
sudo qemu-system-arm \
-m 2048 \
-M virt \
-cpu cortex-a15 \
-nographic \
-kernel ${cur}/zImage \
-append "root=/dev/vda1 rootfstype=ext4 rw" \
-initrd ${cur}/initramfs-linux-full.img \
-drive "file=${cur}/armbox.img,if=none,id=hd0,format=raw" \
-device virtio-blk-device,drive=hd0 \
-netdev "user,id=n0" \
-device virtio-net-device,netdev=n0 \
-netdev "bridge,id=n1,br=vmboxnet" \
-device virtio-net-device,netdev=n1 \