drive 'file=-raspbian-jessie.img,index=0,media=disk,format=raw' With -hda option I had a warning that raw format was selected automatically but it should be avoided, so line 21 and line 31 should be replaced by There is a newer version of Raspbian Jessie compatible with last kernel available so lines 11-14 can be replaced byĮxport RPI_FS=./raspbian-/-raspbian-jessie.zip There is a newer version of kernel so lines 6-8 can be replaced byĮxport RPI_KERNEL=./kernel-qemu-4.4.34-jessie Using curl to download files it's nice but using wget it easier. It's easier to install qemu by using hombrew so line 2 should be replaced by
Hi, first of all great job!! Your script helped me a lot trying to emulate Raspbian on MacOS Sierra using qemu. # Referenced from Emulating Jessie image with 4.1.7 kernel. Ssh -p 5022 Referenced from OSX raspberry pi emulation via QEMU. append 'root=/dev/sda2 panic=1 rootfstype=ext4 rw ' \ append 'root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash ' \ M versatilepb -no-reboot -serial stdio \ # Tweak filesystem: start qemu with init flag, switch to guest window to execute tweak and close window afterwards
# Download filesystem and export location Export RPI_KERNEL=./kernel-qemu-4.1.7-jessie