Embedded module TQMa8MPxL - YOCTO Linux BSP documentation

Building the Yocto SDK for the STKa8MPxL requires a Yocto build environment configured for meta-tq or ci-meta-tq. Follow the TQMa8MPxL 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-weston-debug use the following command in your build space:

bitbake -c populate_sdk tq-image-weston-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-weston-debug has been used to generate the SDK

Keep in mind that the SDK has to match to your target image.
./tq-dumpling-wayland-nxp-glibc-i686-tq-image-weston-debug-cortexa53-crypto-toolchain-4.0.5.sh
By default the sdk will be installed to /opt/dumpling-wayland-nxp/4.0.5/
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-wayland-nxp/4.0.5/

source /opt/dumpling-wayland-nxp/4.0.5/environment-setup-cortexa53-crypto-tq-linux

Qt5 SDK

The SDK has to match to the image 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 build the SDK with Qt5 support execute the following command.

bitbake meta-toolchain-qt5


Building meta-toolchain-qt5 may take several hours, depending on your hardware configuration

After building meta-toolchain-qt5 the SDK file is located in the following path of the build directory tmp/deploy/sdk/fsl-imx-wayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-5.4-zeus.sh

Execute the *sh file to install the SDK, the default path is set to /opt/fsl-imx-wayland/5.4-zeus

  • Last modified: 2023/04/06 07:42