Blog

Install Raspbian on OSX

http://royvanrijn.com/blog/2014/06/raspberry-pi-emulation-on-os-x/

ea595584-832f-40ae-92f5-d07df24b1675.jpg

Install Homebrew

1
tinman:~ mattias$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
install-homebrew.png

Install qemu

1
tinman:~ mattias$ brew install qemu --env=std
install-qemu.png

Download Linux kernel

1
osx$ curl [http://xecdesign.com/downloads/linux-qemu/kernel-qemu](http://xecdesign.com/downloads/linux-qemu/kernel-qemu) > kernel-qemu

Download Raspbian Jessie image

https://www.raspberrypi.org/downloads/raspbian/

unzip the file

2016-02-26-raspbian-jessie.img

download-raspbian-jessie-image.png

Download wheezy image

http://downloads.raspberrypi.org/raspbian/images/raspbian-2014-01-09/

download-wheezy-image.png

Start qemu

1
tinman:qemu mattias$ qemu-system-arm -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash" -kernel kernel-qemu-4.1.7-jessie -hda 2016-02-26-raspbian-jessie.img

Login and fire up the GUI

1
2
3
4
raspberrypi login$ pi
password: raspberry
Start the GUI:
osx$ startx
login-and-fire-up-the-gui.png