Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Getting started with Yocto on Wandboard

From eLinux.org
Revision as of 19:42, 5 April 2013 by Johnweber (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

The BSP is based on the Yocto Project, which consists of a number of applicable metadata 'layers'. This is managed by the repo utility.
$: mkdir ~/bin
$: curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$: chmod a+x ~/bin/repo

Download the BSP source using repo: $: PATH=${PATH}:~/bin
$: mkdir fsl-community-bsp
$: cd fsl-community-bsp
$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master
$: repo sync

Once this has complete, you should have all of the metadata source in fsl-community-bsp.
To start a build, do:

$: MACHINE=wandboard-dual
$: . ./setup-environment build
$: bitbake core-image-minimal