Getting started with Yocto on Wandboard

Here are the steps on how to get started with the Yocto Project based on the Freescale Community BSP for Wandboard.

Requirements hardware and software

 * Linux-based host system to use for building Linux
 * Wandboard Dual (currently only Wandboard Dual is supported but Solo will be added soon)
 * Null-modem serial (RS-232) cable use for the serial console
 * 5V power supply to power the Wandboard
 * microSD card to store the bootloader, kernel, and filesystem as Wandboard has no on-board flash

Steps for a first-time build
Here are the steps to building an image for Wandboard with Yocto for the first time:
 * 1) Download and install Google's repo utility
 * 2) Create the main BSP install directory and, using repo, download all of the metadata for the BSP layers.
 * 3) Build an image using bitbake

Download and install Google's repo utility
The BSP is based on the Yocto Project, which consists of a number of applicable metadata 'layers'. These are managed by the repo utility.

Create the BSP directory download all of the metadata for the BSP layers
Once this has completed, you should have all of the metadata source in fsl-community-bsp.

Setup environment and build an image
To start a build, first set a shell environment variable to set the machine to "wandboard-dual". Run the  script. This is a helper script which sets up the environment and creates a build directory for you.

Run bitbake with  as its argument. This will create a small image and should have the shortest possible build time. Note: all of the sources are downloaded from the internet and built from scratch. This includes the toolchain (gcc) and all of the native utilities, so building an image for the first time could take a few hours, depending on the performance of your host machine.