Linux Fast Boot on i.MX6Q Board: Building Steps

显示  仅  | 搜索替代 

Linux Fast Boot on i.MX6Q Board: Building Steps

Linux Fast Boot on i.MX6Q Board: Building Steps

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
标签 (2)
标记 (1)

Could you please attach patches for SabreAI board??

Unfortunately I do not have them. You may need to patch manually. In case you do this, please share your sabre AI patches.


Hi,Why i can't find "imx6_ssd_lite_defconfig" in "arch/arm/configs" ? my device is imx6q.

Have you got these files for MarS Board (embest-tech)?
And Have you got full image (not just patch)?

which version of u-boot is used? uboot-2009.08?? There is no file/folder named mx6qsabresd in this version of u-boot!

How much time u_boot takes to finish in milisecs?

‎05-07-2013 08:42 AM