Embedded module TQMLS1028A - YOCTO Linux BSP documentation

Building the Yocto SDK for the STKLS1028A requires a Yocto build environment configured for meta-tq or ci-meta-tq. Follow the TQMLS1028A Yocto quickstart quide instuctions to setup the build environment.

The SDK has to match to the actual rootfs configuration, otherwise you may expect difficuties while debugging an application.
So if the rootfs configuration is changed the SDK must be rebuilt and installed again.

To generate the Yocto SDK for the default image tq-image-generic-debug use the following command in your build space:

bitbake -c populate_sdk tq-image-generic-debug

Yocto generates an SDK install script which is available after building in the following path of you build directory …/tmp/deploy/sdk/.
Navigate to the script and execute it to install the SDK. The code block below shows the install script name if the default image tq-image-generic-debug has been used to generate the SDK

Keep in mind that the SDK has to match to your target image.
./tq-dumpling-glibc-i686-tq-image-generic-debug-cortexa72-toolchain-3.3.6.sh
By default the sdk will be installed to /opt/dumpling/3.3.6/
The install path can be changed during the install process.

If the SDK is used in a new shell session, source the SDK environment setup script e.g. when SDK has been installed to the default path /opt/dumpling/3.3.6/

source /opt/dumpling/3.3.6/environment-setup-cortexa72-tq-linux

  • Last modified: 2023/03/23 14:51