The meta-tqmx86 layer extends the Yocto Project's reference system Poky to provide support for all TQ x86-Modules including the @mod_name@.

The goal of these wiki pages is to get you started using meta-tqmx86 with the @stk_name@, so instead of reinventing the wheel we will adhere to the very compact Yocto Project Quick Start and supply details specific to the @stk_name@ where necessary.

This layer depends on a number of base layers, which are listed in the following. The Yocto versions “gatesgarth” and “hardknott” are supported at this time. The correct branch matching the Yocto version must be checked out for each layer.

Build Host

Yocto Project / Poky requires a Linux build host, so first of all you need a development workstation (or a virtual machine1)) with a Linux distribution installed.

Please refer to section Compatible Linux Distribution of the Yocto Project Quick Start for supported linux distributions and section Build Host Packages for required build host packages for those distributions.

The instructions on this page have been tested on @host_os_name@ @host_os_version@ (@host_os_bits@) in a VMWare virtual machine.

Although not required by Yocto Project / Poky, we also recommend to configure and run a tftp server (for image download / update) and an nfs server (for network mounted root filesystem) on your development host.

1. Create Workspace Folder

$ mkdir workspace
$ cd workspace

2. clone both the meta-intel and our meta-tqmx86 repository and checkout the branch you want to use. In this example we use @poky_branch@:

$ git clone https://github.com/tq-systems/meta-tqmx86.git
$ cd meta-tqmx86
$ git checkout @poky_branch@
$ cd ..
$ git clone https://git.yoctoproject.org/git/meta-intel
$ cd meta-intel
$ git checkout @poky_branch@

3. clone the official poky repository and checkout the branch you want to use:

$ cd ..
$ git clone git://git.yoctoproject.org/poky
$ cd poky
$ git checkout @poky_branch@

4. initialize the buildspace using the oe-init-build-env script. This script creates a build folder and enters it directly:

$ . oe-init-build-env

5. In order to use the meta-tqmx86 and meta-intel layer you need to make the build system aware of it. open the file bblayers.conf with your favorite editor to add the layers:

nano conf/bblayers.conf

The file should look similar to the following after the adjustment:


1)
for testing purposes Yocto Project provides a ready to use virtual machine called Build Appliance