Skip to content

Commit 2048ae6

Browse files
authored
Merge pull request #83 from mrpollo/patch-1
readme: add macOS build step
2 parents 9324fd7 + ead3e30 commit 2048ae6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Readme.md

+19
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)