Ubuntu Trusty for i.MX6 boards - June 2015 (kernel 3.10.53)

Published on June 26, 2015

Archived Notice

This article has been archived and may contain broken links, photos and out-of-date information. If you have any questions, please Contact Us.

It's been a while since our last Ubuntu release, so it's time for an updated image of Ubuntu Trusty for our i.MX6 boards with some nice new features.

Ubuntu Trusty LXDE desktop


This image contains Freescale-licensed content, so you will need to register on our web-site and log in before you can accept the license agreement and download the image from here:

This image contains support for all of our publicly available i.MX6 boards, though using it with the Nitrogen6 Lite requires a couple of tweaks (described here).

Programming the image

The image is a slightly-less-than-4GiB image file containing the partition table, so you can copy it to an SD card or SATA drive on /dev/sdc using zcat and dd like so:

~/Downloads$ sudo umount /dev/sdc* ~/Downloads$ zcat 20150622-nitrogen*.img.gz | sudo dd of=/dev/sdc bs=1M ~/Downloads$ sync

Or you can use Alex Page's USB Image Tool under Windows.

If you're using our latest U-Boot and a Nitrogen6 Max board, you can use the new USB Mass Storage Gadget to program the eMMC. If not, there were some notes in our first release that describe a more complicated way of programming eMMC.

Source code access


The kernel image is based on the boundary-imx_3.10.53_1.1.1_ga branch of our Github kernel repository using nitrogen6x_defconfig. The source code of individual packages are available and downloadable in the usual debian/apt way :

ubuntu@nitrogen:~$ apt-get source

What's new in this release

  • The Linux kernel was upgraded to 3.10.53  ( meta-package name: linux-boundary-7t5 )
  • GPU driver was upgraded to Vivante 5.0.11p4.4 ( meta-package name: imx-gpu-viv-7t5- )
    • OpenGL ES v3.0 support was added
    • Khronos GLES 3.0 API
    • The 5.x driver is compatible with the 4.x driver. Applications developed using 4.x drivers can run on the 5.x driver without any changes.
    • Application's performance on the 5.x driver will be better than or equal to that with the 4.x driver
    • Apitrace X11 tools added to trace OpenGL, OpenGL ES, Direct3D and DirectDraw API's
  • VPU driver was updated to 3.10.53 and multimedia libraries to 4.0.2 ( meta-package name: imx-vpu-cnm-7t )
    • Added Real Networks parser and codec
  • Qt5 support added for X11, Wayland, and Framebuffer backends
  • Many-many bugfixes, and refinements... no place here to list all of them.

Usernames and passwords

Two users are defined for use on the system: ubuntu and root. The password for each is Boundary (capital B).

An ssh server is configured on the system, though it does not allow password-based authentication for user root.

User ubuntu has sudo privileges, so you can place your ssh public key (normally $HOME/.ssh/id_rsa.pub) to the system like so:

ubuntu@nitrogen:~$ sudo mkdir /root/.ssh [sudo] password for ubuntu: ubuntu@nitrogen:~$ sudo nano /root/.ssh/authorized_keys ... paste content of $HOME/.ssh/id_rsa.pub here ubuntu@nitrogen:~$ sudo chmod 600 /root/.ssh/auth* ubuntu@nitrogen:~$ sudo chmod 600 /root/.ssh/

What's supported

Since the images above include our stable 3.10.53 kernel, essentially everything is supported. This includes Wi-Fi and Bluetooth, all of our storage devices (SD card, eMMC, SATA, USB sticks, GPU and VPU acceleration) and all of our supported touch panels.

The kernel packaging is also done in the normal Ubuntu/Debian way, so apt-get update/dist-upgrade will keep your image up and running the latest as patches come out.

GPU development libraries

The package imx-gpu-viv-7t5-dev ( development headers and libraries for OpenGL / ESv2 / ESv3 / Khronos ) is installed by default now. You have to set the headers path, before any other headers, or you might include the mesa headers first, and you don't want to do that. For example :

export CFLAGS="-I/usr/include/vivante ${CFLAGS}"

If you would like to develop with the original mesa libraries, you have to uninstall the imx-gpu-viv-7t5-dev package, at least temporarily

ubuntu@nitrogen:~$ sudo apt-get purge imx-gpu-viv-7t5-dev

 

As always, please give us some feedback and let us know how things work for you.