Accessing the SD Card from Virtualbox in MacOs Sierra

Accessing the SD Card from Virtualbox in MacOs Sierra

Tested on MacOs Sierra 10.12.6 and Virtualbox 5.2.18 (Oct 2018) Firstly, ignore advice about having to disable System Protection Integrity, it’s erroneous. csrutil status System Integrity Protection status: enabled. Ok, here are the steps: Insert an sdcard into the slot - MAKE VERY SURE YOU HAVEN’T FLICKED THE WRITE PROTECT SWITCH ON THE CARD - it’s very easy to accidentally move it on insertion if it’s loose. Carefully use a pin to push it back to READ/WRITE mode.
Cross Compiling wiringPi on Mac OSX using Docker

Cross Compiling wiringPi on Mac OSX using Docker

For a gentle introduction to cross compiling for the pi with Docker try here First we need a Docker image with the cross compilation tools installed, so we’ll grab the one from above: docker pull mitchallen/pi-cross-compile Create the build directory & cd into it git clone git://git.drogon.net/wiringPi Create a lib structure mkdir -p usr/local/bin usr/local/lib usr/local/include usr/lib Even though we use the pitools version of ldconfig it still looks in /etc/ld.