This is an old revision of the document!
Embedded module TQMLS10xxA - YOCTO Linux BSP documentation
Preface
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 TQMLS10xxA.
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 | 0103 |
---|---|
meta-tq release | zeus.TQMLS1046A.BSP.SW.0103 |
Yocto Project / Poky Release | 3.0.4 - Zeus |
Target machine1) | tqmls1043a-mbls10xxa tqmls1043a_2g-mbls10xxa tqmls1046a-mbls10xxa tqmls1046a_8g-mbls10xxa tqmls1088a-mbls10xxa |
U-Boot | v2018.07 |
Linux Kernel | TQMLS1043A / 1046A TQMLS1088A |
For further details regarding Yocto Project 3.0.4 - Zeus please refer to its official documentation.
Prerequisites
Build Host
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.
Yocto Build instructions
BSP build instructions
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.TQMLS10xxA.BSP.SW.0103 -b zeus
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-tqmls10xxa
5. Configure the Build3):
$ source setup-environment tqmls10xxa_build ls $ echo 'MACHINE = "tqmls1046a-mbls10xxa"' >> conf/local.conf
6. Build an Image for STKLS10xxA:
$ bitbake tq-image-generic
The resulting image is tmp/deploy/images/tqmls1046a-mbls10xxa4)/tq-image-generic-tqmls1046a-mbls10xxa5).wic
7. Write the Image6)7)
$ sudo dd if=tmp/deploy/images/tqmls1046a-mbls10xxa/tq-image-generic-tqmls1046a-mbls10xxa.wic of=TARGET_DEVICE
8. Boot the STKLS10xxA from SD card (cf. tqmls10xxa DIP switch settings) |