Skip to content

Instantly share code, notes, and snippets.

View niau's full-sized avatar

Nikolay Milovanov niau

View GitHub Profile
@niau
niau / qemu_osx_rpi_raspbian_jessie.sh
Created June 16, 2018 15:17 — forked from hfreire/qemu_osx_rpi_raspbian_jessie.sh
How to emulate a Raspberry Pi (Raspbian Jessie) on Mac OSX (El Capitan)
# Install QEMU OSX port with ARM support
sudo port install qemu +target_arm
export QEMU=$(which qemu-system-arm)
# Dowload kernel and export location
curl -OL \
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie
# Download filesystem and export location