mkdir ts-bsp
cd ts-bsp
# Fido is the most tested branch for the TS-4900. We also have a Jethro and Fido branch# TS-7970/TS-7990 should use at least Krogoth.
repo init -u https://github.com/embeddedarm/ts-oe-bsp.git -b fido
repo sync# This will take a while while it downloads around 10 git repos

Once it is downloaded the environment needs to bet set up:

## The SDK will default to the architecture of the build system## or you can override it with one of the following:#export SDKMACHINE="x86_64"#export SDKMACHINE="i686"# Generate the image based on quad or soloexportMACHINE="tsimx6"## The SDK and MACHINE can be changed later by modifying build/conf/local.confsource ./setup-environment build

Next replace the newly generated contents of conf/bblayers.conf with this:

You will need to select which image to build. Our default image is ts-x11-image. You can view the images we provide with:

ls-l ../sources/meta-ts/recipes-*/images/*

These images may change in the future, or more may be added. There are descriptions in the top comments of each file.

Build our common image with X11/QT support

bitbake ts-x11-image

Alternatively, this is a smaller image with X11/QT omitted

bitbake ts-headless-image

After the build has finished, it will be available in "tmp/deploy/images/tsimx6". Use gparted or fdisk+mkfs to format an SD card with a single partition. From your pc, mount the SD card. Assuming /dev/sdc is the SD card