git clone https://github.com/YoeDistro/yoe-distro.git
cd yoe-distro
. ./envsetup.sh rpi4-64
yoe_setup
bitbake yoe-simple-image
- insert SD card
lsblk
(note sd card device, and substitute for /dev/sdX below)yoe_install_image /dev/sdX yoe-simple-image
(Note, Etcher can also be used to write images to SD cards).- optional: configure console for serial port (see below)
sudo eject /dev/sdX
- Install SD card in a Raspberry PI and enjoy your new image
Other Raspberry Pi variants can be built by sourcing the appropriate envsetup file.
The serial console for the rPI3 can be enabled by adding ENABLE_UART = "1"
to
local.conf. This is currently done in local.conf, but has tradeoffs as described
in the BSP layer
documentation.
The Raspberry PI serial console is avaiable on the expansion header. A USB->serial cable with flying leads is a convenient way to connect to this. FTDI (as well as many other companies supply these cables). The below image shows how the FTDI cable is connected:
The relevant signals are:
- FTDI Black (GND) <-> rPI Pin 6 (GND)
- FTDI Yellow (RXD) <- rPI Pin8 (TXD)
- FTDI Orange (TXD) -> rPI Pin10 (RXD)
See the schematics for more information.
Some of the Raspberry PI products seem to be sensitive to power quality. It is recommended to use a supply that outputs 5.1V such as the official supply. An inadequate supply may result in lockups or SD card file system corruption.