Skip to content

Commit

Permalink
readme: add macOS build step
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrpollo authored Jun 9, 2021
1 parent 9324fd7 commit ead3e30
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ For more information run 'rpiboot -h'

## Building

### Ubuntu
Clone this on your Pi or an Ubuntu linux machine

```
Expand All @@ -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
Expand Down

0 comments on commit ead3e30

Please sign in to comment.