Commit 2048ae6ea901b4a974f06aad464ef34e16f0657e
Committed by
GitHub
Merge pull request #83 from mrpollo/patch-1
readme: add macOS build step
Showing
1 changed file
with
19 additions
and
0 deletions
Readme.md
| @@ -12,6 +12,7 @@ For more information run 'rpiboot -h' | @@ -12,6 +12,7 @@ For more information run 'rpiboot -h' | ||
| 12 | 12 | ||
| 13 | ## Building | 13 | ## Building |
| 14 | 14 | ||
| 15 | +### Ubuntu | ||
| 15 | Clone this on your Pi or an Ubuntu linux machine | 16 | Clone this on your Pi or an Ubuntu linux machine |
| 16 | 17 | ||
| 17 | ``` | 18 | ``` |
| @@ -22,6 +23,24 @@ make | @@ -22,6 +23,24 @@ make | ||
| 22 | sudo ./rpiboot | 23 | sudo ./rpiboot |
| 23 | ``` | 24 | ``` |
| 24 | 25 | ||
| 26 | +### macOS | ||
| 27 | +From a macOS machine, you can also run usbboot, just follow the same steps: | ||
| 28 | + | ||
| 29 | +1. Clone the `usbboot` repository | ||
| 30 | +2. Install `libusb` (`brew install libusb`) | ||
| 31 | +3. Build using make | ||
| 32 | +4. Run the binary | ||
| 33 | + | ||
| 34 | +``` | ||
| 35 | +git clone --depth=1 https://github.com/raspberrypi/usbboot | ||
| 36 | +cd usbboot | ||
| 37 | +brew install libusb | ||
| 38 | +make | ||
| 39 | +sudo ./rpiboot | ||
| 40 | +``` | ||
| 41 | + | ||
| 42 | +**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`. | ||
| 43 | + | ||
| 25 | ## Running your own (not MSD) build | 44 | ## Running your own (not MSD) build |
| 26 | 45 | ||
| 27 | If you would like to boot the Raspberry Pi with a standard build you just need to copy the FAT partition | 46 | If you would like to boot the Raspberry Pi with a standard build you just need to copy the FAT partition |