Application note: i.MX6 TRITON-TX module Yocto setup how-to
Setting up with a Yocto build is a frequently asked question, and so I’ve compiled the steps into an Application Note. The first paragraphs are below, but you need to go to our Application Notes page to read in full or download…
For Yocto a Linux Host Machine is needed. See section 1.3.1 in the Yocto Project Reference Manual for a list of supported Linux distributions. We also provide a new Virtual Appliance, called ARMSDK VM based on a Debian Wheezy Linux distribution (please note that this is currently still under development but can be made available; the older Squeeze based ARMSDK VM is still available but does not support Yocto). This Virtual Appliance offers the comprehensive capabilities to use the tool-chain supplied on the developers CD either in it’s pre-compiled version or from the source. for use with the TX6 native Linux distribution designed to be very light weight (small enough to be entirely deployed in NAND) and ideal for headless applications. Although it is possible to use all Host Linux distributions supported by Yocto, because of diversity of Linux distributions, the Wheezy ARMSDK VM Virtual Appliance is the only means supported by Direct Insight for cross compilation. However be aware that Yocto build times will be significantly longer on a VM rather than a physical machine.
An important consideration is the hard disk space required for the virtual appliance. It is recommended that at least 120 GB is provided.
A Freescale Yocto Project Community BSP build requires that some packages be installed for the build that are documented under the Yocto Project.
You can go to Yocto Project Reference Manual and check for the packages that must be installed for your build machine. Once you have your Linux Host Machine set up, you can begin:
First of all update your local repository:
sudo apt-get update
Install essential Yocto Project host packages:
sudo apt-get install gawk wget git-core diffstat unzip \
texinfo gcc-multilib build-essential chrpath socat
Install the i.MX layers host packages:
sudo apt-get install libsdl1.2-dev xterm sed cvs \
subversion coreutils texi2html docbook-utils \
python-pysqlite2 help2man make gcc g++ desktop-file-utils \
libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf \
automake groff curl lzop asciidoc u-boot-tools
Setting up the repo utility
Repo is a tool built on top of Git that makes it easier to manage projects that contain multiple repositories, which do not need to be on the same server. Repo complements very well the layered nature of the Yocto Project, making it easier for customers to add their own layers to the BSP.
To install the “repo” utility, perform these steps:
Please visit our Application Notes page to read the full article.