LTIB image for i.MX6 Sabre Lite and Nitrogen6X

Published on July 10, 2012

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.

For those of you who have been working with Freescale software releases on i.MX processors, you'll recognize LTIB, or Linux Target Image Builder as the packaging used by Freescale to distribute embedded Linux software.

We've placed a binary image of the L3.0.15-201204 release of Linux software for the Sabre Lite and Nitrogen6X on-line here:

It contains a root filesystem image as a tar-ball. To use it on an SD card, simply create a single partition as either ext2 or ext3 and extract the content to it. If your SD card is mounted as /media/boot, you can use this command-line under Linux:
~/$ sudo tar -C /media/boot -zxvf LTIB_201204.tar.gz This image contains a number of utilities to show the capabilities of the i.MX6 processor:
  • /unit_tests/. The utility programs in the /unit_tests/ directory allow various hardware and software component tests. If you've worked with previous Freescale releases, these should be familiar to you.
  • gplay. To play video using gstreamer acceleration, you can use the gplay utility.
  • /opt/vivante. A number of test programs for the Vivante GPU are installed in /opt/vivante.

Details

This image is preconfigured with the Sabre Lite kernel from Freescale. root@freescale /unit_tests$ cat /proc/version Linux version 3.0.15-1359-g1b64ead (r80115@bluemeany) ...Tue May 1 04:07:40 CDT 2012
This release will run on a Nitrogen6X but analog audio won't function. You can download a kernel that will work on either board from this URL: Extract it on top of the image like this: ~/$ sudo tar -C /media/boot -zxvf kernel-L3.0.15_12.04.01.tar.gz User name is root. No password.

This image is configured to run on the Freescale LVDS display. To configure it for HDMI, you can do the following in U-Boot: U-Boot > set bootargs $bootargs video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 U-Boot > savee Saving Environment to SPI Flash... Erasing SPI flash...Erasing SPI NOR flash 0xc0000 [0x2000 bytes] ..SUCCESS Writing to SPI flash...Writing SPI NOR flash 0xc0000 [0x2000 bytes] <- ram 0x276009b8 SUCCESS done U-Boot > run bootcmd This image isn't configured to use DHCP. To access the device over SSH, you'll need to set the root password and start the DHCP client like this: root@freescale ~$ passwd Changing password for root New password: Retype password: Password for root changed by root root@freescale ~$ udhcpc -f -q -n -i eth0 udhcpc (v1.18.5) started eth0: Freescale FEC PHY driver [Micrel KSZ9021 Gigabit PHY] ... Sending discover... PHY: 1:06 - Link is Up - 100/Full Sending discover... Sending discover... Sending select for 29.6.1.8... Lease of 29.6.1.8 obtained, lease time 86400 Deleting routers adding dns 29.6.1.1 root@freescale ~$ To test the GPU functions, you can use the gpu.sh script in /unit_tests/. root@freescale /unit_tests$ ./gpu.sh /unit_tests /unit_tests Attempting modprobe galcore.ko gpu.sh: PASS: modprobe returned success Checking lsmod for the module galcore galcore 126009 0 PASS: module appears in lsmod ...