freescale iMX6S cross-build environment setup
2016-05-08 00:00
441 查看
main reference:
https://www.element14.com/community/community/designcenter/single-board-computers/sabrelite/blog/2014/04/17/using-ltib-to-build-programs-for-sabre-lite-imx6
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.
https://www.element14.com/community/community/designcenter/single-board-computers/sabrelite/blog/2014/04/17/using-ltib-to-build-programs-for-sabre-lite-imx6
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.
相关文章推荐
- MYSQl导入大文件[Msg] 2013 - Lost connection to MySQL server during query
- iOS9.0 系统通讯录 ContactsUI/ContactsUI.h
- 63. Unique Paths II 找唯一途径2(中间有路障)
- HDU 5667 Sequence(矩阵快速幂+费马小定理)
- set and Sequence theory
- TypeError: KeyboardSwitch() missing 8 required positional arguments
- 从频率到意义:语义向量空间模型(4)(From Frequency to Meaning: Vector Space Models of Semantics)
- 62. Unique Paths 唯一路径的条数
- Building 'XXX' Gradle project info的android studio问题
- UITableViewCell上的按钮点击事件处理
- git---gui使用
- UE4:默认打开最近工程
- java多线程学习-java.util.concurrent详解(四) BlockingQueue
- iOS开发-UI控件:可折叠展开的UITableView
- confluent libserdes 编译运行
- 【iOS】Interface Builder 预览
- CoreThink主题开发(八)使用H-ui开发博客主题之用户登录之前及登录之后
- 【BZOJ-1367】sequence 可并堆+中位数
- 7.UI补充/03静态库和内存分析、硬件获取
- CodeForces 592B The Monster and the Squirrel