Task #1 - Download the source code

Document created by Daiane Angolini Employee on May 27, 2013Last modified by Daiane Angolini Employee on Mar 27, 2014
Version 15Show Document
  • View in full screen mode

Preparing host environment

For virtual machine (VirtualBox):

Please set memory size minimal to 1GB and disk size to 32GB. (24Feb2014 Ubuntu 12.04LTS)

First, make sure your host PC has the required packages to run Yocto



The essential packages you need for a supported Ubuntu distribution are shown in the following command:


$ sudo apt-get install gawk wget git-core diffstat unzip texinfo \

build-essential chrpath libsdl1.2-dev xterm curl




The essential packages you need for a supported Fedora distribution are shown in the following command:

$ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \

diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \

ccache SDL-devel xterm


Or, take a look here if you use OpenSuse or CentrOs



Download the source code


Install the repo (from google)


$ mkdir ~/bin

$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

$ PATH=$PATH:~/bin

$ chmod a+x ~/bin/repo


Download the BSP source:


$ mkdir fsl-community-bsp

$ cd fsl-community-bsp

$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dora 

$ repo sync


It may take something like 15 minutes to get the source code.

Note (24Feb2014): Required disk space for repo is 238MB


Go to Home

Go to Task #2



Dora was just released: https://lists.yoctoproject.org/pipermail/meta-freescale/2013-October/005286.html

Dora is the new stable branch released on 2013 October.

If you wish to only update your source code, you may use only:


$ repo init -b dora


Although, please, start a new/clean/fresh build directory, otherwise the different version for several packages may result in weird build error (like avahi)