Build a Linux image - FrankBau/meta-marsboard-bsp GitHub Wiki

Build a Linux image (using Yocto)

There are many ways to build a Linux image, we use the Yocto Project approach with which you can tailor your own embedded Linux distribution.

Building a first image

For the first time, you might want to build a tiny image because you quickly see the results.

Open a bitbake shell and enter:

$ bitbake core-image-minimal

This is a tiny "hello world" type of image. Later you might want to use more involved images like image-multimedia-full and Configure the Image to your needs.

While bitbake is baking your image, have a coffee or two and read Build the U-Boot boot loader because the boot loader on the MarS Board needs to updated before you Linux image can boot.
You may also want to read more about bitbake.