andyault / rpi-emu

Emulating Raspberry Pi on OSX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing QEMU (on OS X)

  1. Install QEMU:
sudo brew install qemu
  1. Download QEMU kernel for Debian Jessie:
curl -OL https://github.com/dhruvvyas90/qemu-rpi-kernel/raw/master/kernel-qemu-4.4.34-jessie
  1. Optionally: Download a raspbian image:
curl -OL http://downloads.raspberrypi.org/raspbian/images/raspbian-2015-11-24/2015-11-21-raspbian-jessie.zip
unzip 2015-11-21-raspbian-jessie.zip -d images
rm 2015-11-21-raspbian-jessie.zip

Steps

Once QEMU has been installed, you may now do the following:

  1. Retrieving image files
  2. Using QEMU
  3. Saving image files
  4. And, optionally: Mounting images

Notes

  • This guide is mostly for myself, so some things may not work everywhere
  • Might not need to comment out /etc/ld.so.conf anymore, will need to test
  • SSH doesn't seem to work, but that may be related to comments found here

Credits

Much of this guide was developed with help from hfreire's gist (found here)

About

Emulating Raspberry Pi on OSX


Languages

Language:Shell 100.0%