Build and Install 4.14.98 SDK

From Estone Technology Wiki
Jump to: navigation, search

Build SDK

Build SDK Setup

Note: Different machine setup will have different SDK. This Sample SDK is based on (fsl-imx-xwayland) build.

  1. Before starting the SDK build, follow the Setup 4.14.98 Yocto Build Environment guide if not already done
  2. Change the directory path to where Yocto Sources directory was created


$ cd imx-yocto-bsp

$ DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source fsl-setup-release.sh -b <sdk>

$ bitbake -v meta-toolchain-qt5

  • SDK time to compile depends on the host machines cores available for each process (2 cores, 4 cores, 8 cores, etc.)


SDK Location

  • Compiled SDK location

Directory: <imx-yocto-bsp>/<sdk>/tmp/deploy/images/sdk/fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.14-sumo.sh

$ cd /imx-yocto-bsp/sdk/tmp/deploy/sdk/fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.14-sumo.sh

$ sudo cp fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.14-sumo.sh ~/


Installing SDK

Note: This section will help you install the compiled SDK on to the host system


$ cd ~/

$ chmod a+x fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.14-sumo.sh

$ ./fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.14-sumo.sh

Press Enter when prompted to install SDK in default directory = /opt/fsl-imx-xwayland/4.14-sumo/
Enter 'Y' to install SDK and wait for SDK to install

Extracting SDK................................................
.................................................................
.....................done
Setting it up...done
SDK has been successfully set up and is ready to be used.

Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
$ . /opt/fsl-imx-xwayland/4.14-sumo/environment-setup-aarch64-poky-linux

Build Clean Yocto Image

1