main reference:
download LTIB source that target the SABRE Lite "L3.0.35_4.1.0_130816_source.tar.gz" from freescale official site
unzip it open the folder you can see "install" script, un "./install" and accept EULA.
download some additional package from main reference an unzip to "/opt/freescale/pkgs"
cd "/opt/freescale/ltib" and run "./ltib", and you will find many errors one by one, and you have to solve all errors until ./ltib runs successfully.
4.1 error: /usr/bin/cmake: not found
solution: sudo apt-get install cmake
4.2 error: couldn't find package zlib-devel
solution: sudo apt-get install zlib1g-dev
4.3 error: couldn't find package ncurses-devel
solution: sudo apt-get install libncurses5-dev
4.4 error: bin/bash: texi2dvi: command not found
solution: sudo apt-get install texinfo
4.5 error: You don't have a working Tex binary installed, but the texi2dvi script can't proceed without it.
solution: sudo apt-get install texlive
4.6 error: failded to stat /home/danny/.gvfs: Permission denied
solution: Even though flagged as an error, these messages are harmless warnings that can be safely ignored. Before the RPM tool starts to install a package,
it checks if there is sufficient space for it in the file system. Unfortunately it is dumb and checks all mounted file systems for space, but the permissions of the ".gvfs" directory (the mount point for the Gnome Virtual File System) do not permit this.
4.7 error: md5sum mismatch, re-naming /opt/freescale
solution: apt-get install mtd-utils
4.8 error: can't get: mtd-utils-1.5.0.tar.gz
download "mtd-utils-201006.tar.bz2" from https://community.freescale.com/thread/384010
change it into "mtd-utils-1.5.0.tar.gz" which is required in 2 steps:
decompress: tar jxcf mtd-utils-201006.tar.bz2
compress: tar zcvf mtd-utils-1.5.0.tar.gz mtd-utils/
4.9 error: lzo/lzo1x.h: No such file or directory
solution: sudo apt-get install apt-file
sudo apt-file update
sudo apt-get install liblzo2-dev
4.10 error: uuid/uuid.h: No such file or directory
solution: sudo apt-get install uuid-dev
5. run ./ltib you can see a new screen presented.
6 ./ltib --preconfig config/platform/imx/imx6s, and confirm, then it will take about 1 hour to install the imx6s cross build environment
7 cd /opt/freescale/ltib, run "./ltib", you will enter ltib building environment, the command line begins with "LTIB>...", and you can cd to the code and build.