Linux Fast Boot on i.MX6Q Board: Building Steps

Document created by Leonardo Sandoval Gonzalez Employee on May 7, 2013Last modified by Adrian Puga Candelario on Jan 21, 2020
Version 8Show Document
  • View in full screen mode

This document provides the steps to patch and build a fastboot Linux System. This document assumes the BSP 3.0.35_1.1.0 and a  i.MX6Q platform. For more information about what the patches do, please check this link.


  • Install LTIB and move to the ltib folder
  • Download the ltib patch from this document and patch it (patch -p1 < 0001-set-imx6_ssd_lite_defconfig-as-default-kernel-config.patch)
  • Go to the LTIB configuration menu (./ltib -m config), select mx6q platform and min profile
  • Select mx6q_sabresd as u-boot board
  • Fetch and Patch:


Prepare u-boot source code (./ltib -m prep -p u-boot)

Move to u-boot folder (cd rpm/BUILD/u-boot-2009.08)

Download u-boot attached patches

Patch code (for p in *.patch; do patch -p1 < $p;done)


Prepare kernel source code (./ltib -m prep -p kernel)

Move to kernel folder (cd rpm/BUILD/linux)

Download attached kernel patches

Patch code (for p in *.patch; do patch -p1 < $p;done)

  • Build  (./ltib)
  • Add  an application to run first after boot in rootfs/etc/inittab (see example inittab file, it captures data from the MIPI Camera)
  • Create necessary devices nodes under rootfs/dev. For example
    • terminal: sudo mknod ttymxc0 c 207 16
    • video capture nodes: sudo mknod video0 c 81 5; sudo mknod video1 c 81 6
    • video display nodes: sudo mknod video16 c 81 0; sudo mknod video17 c 81 1
    • frame-buffers: for i in 0 1 2 3 4; do sudo mknod fb$i c 29 $i; done
  • Package rootfs (cd rootfs; sudo tar --numeric-owner -cvfj ../rootfs.tar.bz2 *; cd ..)
  • On a windows machine, download latest Manufacturing tool and uncompress it.
  • Move rootfs.tar.bz2, rootfs/boot/uImage and rootfs/boot/u-boot.bin into the corresponding Manufacturing folder (Profiles\MX6Q Linux Update\OS Firmware\files)
  • Choose a sabresd-eMMC profile and flash the board
  • Boot the board using the eMMC