Skip to content

Commit ead3e30

Browse files
authored
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.
1 parent 9324fd7 commit ead3e30

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Readme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ For more information run 'rpiboot -h'
1212

1313
## Building
1414

15+
### Ubuntu
1516
Clone this on your Pi or an Ubuntu linux machine
1617

1718
```
@@ -22,6 +23,24 @@ make
2223
sudo ./rpiboot
2324
```
2425

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+
2544
## Running your own (not MSD) build
2645

2746
If you would like to boot the Raspberry Pi with a standard build you just need to copy the FAT partition

0 commit comments

Comments
 (0)