Toradex Apalis iMX6

The Toradex Apalis iMX6 is a System-on-Module based on NXP i.MX 6. It can have either two or four ARM Cortex-A9 cores and up to 2GB of RAM. More information is available about these devices on Toradex’s product page.

Xnor Bundles have been tested and benchmarked on an Apalis iMX6 with 4 cores and 1GB of RAM. Performance characteristics will likely be different on other iMX6 variants.

Language-independent setup

Please refer to the Getting Started section of Toradex’s Web site for instructions on how to

  • Connect the System-on-Module (SoM) to its carrier board

  • Flash an operating system onto the module

  • Connect to the device with your computer

Setting up for C development

To start developing C code for your Apalis device, you will need to install a cross-compilation toolchain on your development computer. Follow Toradex’s instructions for installing a cross-compiler, then try compiling a test program on your computer:

myworkstation% cat > hello.c << EOF
#include <stdio.h>
int main(int argc, char **argv) { puts("AI at your fingertips"); return 0; }
myworkstation% $CC -o hello hello.c
myworkstation% file hello
hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/, for GNU/Linux 3.1.10, BuildID[sha1]=e76b005c01d0cc94aa652cc2994655cd103e8e27, not stripped

If this works, you should be able to go into the samples/c directory of the Xnor SDK and compile and run any of the samples.

Setting up for Qt development

Qt offers a productive graphical application development environment suitable for embedded devices. Follow the instructions provided by Toradex for installing Qt Creator for embedded Linux. Once you’ve done this, you should be able to build and run the Qt sample at xnor-sdk-toradex-apalis-imx6/samples/c/qt. This is an only-slightly-modified version of the demo presented at Arm TechCon.

Next Steps for C development