Older versions of Raspberry Pi are not going to work with this tutorial because all lessons are designed to use a 64-bit processor that supports ARMv8 architecture, and such processor is only available in the Raspberry Pi 3. Newer versions, including Raspberry Pi 3 Model B+ should work fine, though I haven't tested it yet.
After you get a serial cable, you need to test your connection. If you never did this before I recommend you to follow this guide It describes the process of connecting your Raspberry PI via a serial cable in great details. One thing that I can recommend you to do is to use the serial cable to power your Raspberry Pi. How to do this is described in the link above.
3. SD card with installed Raspbian OS
We need Raspbian to test USB to TTL cable connectivity initially. Another reason is that after installation it leaves the SD card formatted in the right way.
Strictly speaking, Docker is not a required dependency. It is just convenient to use Docker to build source code of the lessons, especially for Mac and Windows users. Each lesson has build.sh
script (or build.bat
for windows users) This script uses Docker to build source code of the lesson. Instructions how to install docker for your platform can be found on the official docker website
If for some reasons you want to avoid using Docker, you can install the make utility as well as aarch64-linux-gnu
toolchain. If you are using Ubuntu you just need to install gcc-aarch64-linux-gnu
and build-essential
packages.
1.1 Kernel Initialization: Introducing RPi OS, or bare metal "Hello, world!"