I.MX8M Mini: Build and Install SDK

From Estone Technology Wiki
Jump to: navigation, search

Previous Section: Setup Yocto Build Environment

Build SDK

Build SDK Setup

Note: SDK will be build based on the your environment setup. This example build is based on (i.MX8M Mini: fsl-imx-xwayland) build

  1. Before starting the SDK build, follow the Yocto Build Environment instructions if not already done
  2. Change directory path to where imx8mm directory was created from previous section
$ cd <imx8mm>
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source fsl-setup-release.sh -b <sdk>
$ bitbake -v meta-toolchain-qt5

SDK compile time varies based on host machine cores that are available for compile

SDK Location

finished SDK Location:

$ cd <imx8mm>/<sdk>/tmp/deploy/sdk/fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.9-rocko.sh
$ sudo cp -rv fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.9-rocko.sh ~/

Installing SDK

$ cd ~/
$ chmod a+x fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.9-rocko.sh
$ ./fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.9-rocko.sh


NXP i.MX Release Distro SDK installer version 4.9-rocko
=======================================================
Enter target directory for SDK (default: /opt/fsl-imx-xwayland/4.9-rocko): 
You are about to install the SDK to "/opt/fsl-imx-xwayland/4.9-rocko". Proceed[Y/n]? Y
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.9-rocko/environment-setup-aarch64-poky-linux

Next Section: Build imx8mmevk Yocto Image