aboutsummaryrefslogtreecommitdiff
path: root/docs/pi.md
blob: 76b35ea2e5b23ed3ba676df500680f692b5450d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Raspberry Pi

The following instructions apply to
the
[Raspberry Pi 2 Model B v1.2](https://www.raspberrypi.org/products/raspberry-pi-2-model-b/).
Other models may work just fine but YMMV.

## Preparing the Raspberry Pi

You will need:

* 4GB or bigger microSD card
* USB drive adapter or other way to flash microSD
* (Optional) 802.11 USB WiFi nano module - [recommended model](https://www.adafruit.com/product/814)

Either of the flash instructions below will make a bootable microSD card.

### Flashing via GUI

1. Download [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/)
2. Download [Etcher](https://etcher.io/) for your OS
3. Plug in the microSD card
4. Run Etcher, select the Raspbian zipfile and the microSD card, click Flash
5. Make a coffee

### Flashing via commandline

TODO: Write a script

### Logging in and configuring WiFi

TODO: Figure this out

## Compiling for Raspberry Pi

[TODO](https://bugs.chromium.org/p/openscreen/issues/detail?id=18)

## Deploying and Running OSP

[TODO](https://bugs.chromium.org/p/openscreen/issues/detail?id=18)