yocto-docker-rpi4

This is a repository for a baseline Raspberry Pi 4 (64bit) Yocto image with docker and wifi enabled.

Building on a Linux Machine

  1. Clone this repository
  2. Run the following from root of the repository to set up the build environment:
user@server$ source layers/poky/oe-init-build-env build
  1. To build an image, run the following command:
user@server$ bitbake -k core-image-base
  1. Once it completes successfully, the image will be located in build/tmp/deploy/images/raspberrypi4-64/ with the name core-image-base-raspberrypi4-64.rpi-sdimg
  2. Use dd on Linux or a tool like Balena Etcher for Windows and Linux to flash the image to an SD Card

Sources