Introduction
If you want to compile applications on your host pc, you have to install some additional tools and the SDK/Toolchain.
All SDK/Toolchain and a complete set up virtual machine (with Qt installed) is available under:
ftp://kontron_pub:WENZtA6i@ftp.kontron.ch/WebPanel/SDK/
|
Files on FTP Server |
Description |
|---|---|
|
exceet-glibc-i686-arm-toolchain-00937_0C.tar.xz |
Linux SDK/Toolchain for Windows Development Tools for imx6 Devices |
|
kch-glibc-x86_64-meta-toolchain-qt6-armv7at2hf-neon-40099086-01021-v0B-toolchain-0B.sh |
Linux SDK/Toolchain for Linux Development Tools for imx6 Devices |
|
kch-glibc-x86_64-meta-toolchain-qt6-aarch64-11555-01013-v0J-toolchain-0J.sh |
Linux SDK/Toolchain for Linux Development Tools for imx8mm Devices |
|
20220503_Ubuntu 20.04_Yocto-SDK-VM.ova |
Ubuntu Virtual Machine with installed/configurated SDK, QtCreator |
Installation SDK/Toolchain
-
Download the Linux SDK depending your device.
-
Set the SDK installation file executable using the commandline: chmod +x <Linux SDK File>
-
Install the SDK File using the commandline: ./<Linux SDK File>Choose a installation directory for example "/opt/kch/" "/home/user/sdk/11555/oecore-x86_64" or "/home/user/sdk/iMX8/oecore-x86_64"
Developing and compiling with QtCreator
Open or create a new QtCreator Project and choose the Kit for your device.
For remote debugging, your device has to be set up (Set up a Linux Device for the QtCreator) and the device ip must match the ip configured in the kit.
Additional Information:
https://www.qt.io/product/development-tools
Developing and compiling by commandline
After installing the sdk you can call the environemt-setup script in the installation folder of your sdk <SDK DIR/environment-setup-<ARCH>>.
For Example: open Terminal and call: $/home/user/sdk/40099086/0B/environment-setup-armv7at2hf-neon-ktn-linux-gnueabi
After the environment-setup call make, gcc, g++ are direct for the device available.