Step 4 : Compile yocto source code

  • In this program, you are going to learn

  • How to ?

Topics in this section,

  • Make sure you are inside the build directory.

$ pwd
$HOME/build
  • Run the following command to fetch all the packages required during the compilation.

$ bitbake core-image-base --runonly=fetch
  • Compile the yocto source code by running the following bitbake command.

$ bitbake core-image-base
  • final target image will be present in the following directory.

$ cd build/tmp/deploy/images/raspberrypi4/
$ ls -l
-rw-r--r-- 1 test test 16136058 Jan  11 16:52 core-image-base-raspberrypi4.wic.bz2