Yocto Support For TQ Modules

Yocto Build System

T

he Yocto Project is an open source project that provides tools and methods for embedded software engineers to create custom Linux-based systems for embedded products.

As the Turkish Partner of TQ Group and a software partner, we started providing Yocto Distribution support for TQ Modules. We started to provide support on TQMa6x which is a Freescale i.mx6 processor based module. Our support portfolio for yocto will grow up day by day and we plan to support all ARM and PowerPC based modules in near future. You can find the beta images and the directions for testing yocto distribution for TQMa6X module below which tested against the TQ STKA6X starter kit.

How to try beta images for TQMa6X

Y

octo Images:

U-Boot Download
Kernel Image Download
Device Tree Image Download
File System Download
Firstly, create an sd card with a similar approach to the next image. We chose to have 10 MB space for u-boot, kernel and dtb files.
Then, we created a partition for our filesystem. We chose to have 1.2 GB for our partition in our case which is more than enough.
After your SD card is ready to be filled with data, you can start to use the downloaded files with the following commands:
sudo dd if=u-boot.imx of=/dev/sdc bs=512 seek=2 conv=fsync

sudo dd if=zImage-imx6q-mba6x.dtb of=/dev/sdc bs=512 seek=4096 conv=fsync

sudo dd if=zImage-mist-mx6.bin of=/dev/sdc bs=512 seek=8192 conv=fsync

sudo tar -xpf fsl-image-machine-test-mist-mx6.rootfs.tar.gz -C “PATH TO SD CARD PARTITION”

Then, don’t forget to write sync before you take your sd card out.

When you boot u-boot, you should set mmcpart parameter to 1 as our first partition is used as filesystem.

If you want to use parallel display, you should edit addfb parameter in u-boot as follows: “addfb=setenv bootargs ${bootargs} consoleblank=0 video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB666,bpp=32 vmalloc=400M

Our Yocto Beta Image Features

I

n our yocto beta images for TQMa6X, we used Freescale kernel 3.14.28 and ported it for TQMa6X.

We added features which are not working on standard Freescale kernel such as parallel lcd and touchscreen.

Additionally, with the help of Freescale kernel, all hardware blocks are working flawlessly such as VPU, GPU. IPU video output is working but video input could not be tested but should be working.

Beside these features, all standard features are working such as serial ports, RTC, ethernet, USB.

As the graphical interface framework, Qt 5.4 is supported inside test image together with its plugins.

More features will be tested soon and will be provided as a table for better understanding.

Our Services On Yocto Build System

W

e are already providing yocto build system for TQ modules and prebuilt images for TQ starter kits. We are providing kernel porting, driver customisation, device tree generation and yocto layer adaptation for your custom board based on a TQ module. We are already familiar with the Yocto ecosystem and TQ modules so we can custom tailor your project and provide a fast and stable way for your custom projects to be handled by commonly used Yocto build system together with Embedded Linux.

If you want further information, you can email us at info@mistelektronik.com