xref: /aosp_15_r20/external/openscreen/osp/docs/pi.md (revision 3f982cf4871df8771c9d4abe6e9a6f8d829b2736)
1# Raspberry Pi
2
3The following instructions apply to
4the
5[Raspberry Pi 2 Model B v1.2](https://www.raspberrypi.org/products/raspberry-pi-2-model-b/).
6Other models may work just fine but YMMV.
7
8## Preparing the Raspberry Pi
9
10You will need:
11
12* 4GB or bigger microSD card
13* USB drive adapter or other way to flash microSD
14* (Optional) 802.11 USB WiFi nano module - [recommended model](https://www.adafruit.com/product/814)
15
16Either of the flash instructions below will make a bootable microSD card.
17
18### Flashing via GUI
19
201. Download [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/)
212. Download [Etcher](https://etcher.io/) for your OS
223. Plug in the microSD card
234. Run Etcher, select the Raspbian zipfile and the microSD card, click Flash
245. Make a coffee
25
26### Flashing via commandline
27
28TODO(mfoltz): Write a script
29
30### Logging in and configuring WiFi
31
32TODO(mfoltz): Figure this out
33
34## Compiling for Raspberry Pi
35
36[TODO](https://bugs.chromium.org/p/openscreen/issues/detail?id=18)
37
38## Deploying and Running OSP
39
40[TODO](https://bugs.chromium.org/p/openscreen/issues/detail?id=18)
41