The meta-tq layer extends the Yocto Project's reference system Poky to provide support for a selection of TQ Embedded CPU Modules, including the TQMLS102xA.
It uses the same codebase as the PTXdist based TQ Linux BSPs and therefore provides the same versions of U-Boot and Linux kernel, but doesn't define a specific root filesystem configuration.
The instructions on this page refer to the BSP and ancillary tools listed in the following table:
BSP Revision | 0115 |
---|---|
meta-tq release | zeus.TQMLS102xA.BSP.SW.0115 |
Yocto Project / Poky Release | 3.0.3 - Zeus |
Target machine1) | tqmls102xa-mbls102xa |
U-Boot | v2017.11 |
Linux Kernel | 5.4.23\ 5.4.23 + rt23 |
Yocto Project / Poky requires a Linux build host, so first of all you need a development workstation (or a virtual machine2)) 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.
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 a local copy of meta-tq
$ git clone --recurse-submodules https://github.com/tq-systems/ci-meta-tq.git
2. Checkout BSP release on new local branch.
$ cd ci-meta-tq $ git checkout zeus.TQMLS102xA.BSP.SW.0115 -b zeus-tqmls102xa
3. Update git submodules:
$ git submodule update --init $ git submodule sync
4. Setup local branch to track the remote branch.
git branch -u origin/zeus
5. Configure the Build3):
$ source setup-environment tqmls102xa_build ls $ echo 'MACHINE = "tqmls102xa-mbls102xa"' >> conf/local.conf
6. Build an Image for STKLS102xA:
$ bitbake tq-image-generic
The resulting image is tmp/deploy/images/tqmls102xa-mbls102xa4)/tq-image-generic-tqmls102xa-mbls102xa5).wic
7. Write the Image6)7)
$ sudo dd if=tmp/deploy/images/tqmls102xa-mbls102xa/tq-image-generic-tqmls102xa-mbls102xa.wic of=TARGET_DEVICE
8. Boot the STKLS102xA from SD card (cf. MBLS102xA DIP switch settings) |