Commit b88565f2 authored by Stephen Heywood's avatar Stephen Heywood
Browse files

Add Pi client document

parent e6a710e8
#+TITLE: Pi Client
#+AUTHOR: Stephen Heywood
#+DATE: 11 December, 2019
* Overview
This document will cover the process of setting up and Raspberry Pi 4 that will boot it's operating system from the network without needing any SD card.
* Initial Boot Process
The [[https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/bootflow_2711.md][Raspberry Pi website]] lists in full the details on how a Raspberry Pi 4 boots. The keys points that we are interested in are shown in the diagram below.
[[./images/pi-diagram2-boot-sequence.png]]
By checking the ~BOOT_ORDER~ setting the Pi will decide what boot modes it will use and in what order. These boot modes are stored as a 32bit unsigned integer.
#+begin_example
0x0 NONE
0x1 SD CARD
0x2 NETWORK
#+end_example
Using the following command will confirm the current boot modes. Within the list of other options, ~BOOT_ORDER=0x1~ is the default configuration to boot via a SD card.
#+begin_src shell :eval never
vcgencmd bootloader_config
#+end_src
To setup the Raspberry Pi to boot from the network we will be using the config option ~BOOT_ORDER=0x21~. This configuration will cause the Pi to first boot from a SD card if present, if not then to boot from the network.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment