From ead3e30cc38ac1f4310cbe62ccd06c6b2ea43bb9 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Wed, 9 Jun 2021 13:54:02 -0700 Subject: [PATCH] readme: add macOS build step Adds instructions for macOS users. It will mainly help with the perception that this only works on ubuntu. You can also use this on macOS without a problem. --- Readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Readme.md b/Readme.md index ec416ec..ccafbff 100644 --- a/Readme.md +++ b/Readme.md @@ -12,6 +12,7 @@ For more information run 'rpiboot -h' ## Building +### Ubuntu Clone this on your Pi or an Ubuntu linux machine ``` @@ -22,6 +23,24 @@ make sudo ./rpiboot ``` +### macOS +From a macOS machine, you can also run usbboot, just follow the same steps: + +1. Clone the `usbboot` repository +2. Install `libusb` (`brew install libusb`) +3. Build using make +4. Run the binary + +``` +git clone --depth=1 https://github.com/raspberrypi/usbboot +cd usbboot +brew install libusb +make +sudo ./rpiboot +``` + +**Note:** You might see an OS warning message about a new disk that it can't access, click "ignore", this likely means that the storage is empty and has no filesystem. From here I recommend installing an OS using the [Raspberry Pi Imager App](https://www.raspberrypi.org/software/), or using any other means like `dd`. + ## Running your own (not MSD) build If you would like to boot the Raspberry Pi with a standard build you just need to copy the FAT partition