imx6ul yocto project image build
来源:互联网 发布:倾斜摄影数据处理软件 编辑:程序博客网 时间:2024/05/24 02:18
1.系统环境
系统推荐:Ubuntu 14.04 ,2G RAM,Dual cores
硬盘空间:至少50G,多多益善
2.工具安装
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev
$ sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc
$ sudo apt-get install u-boot-tools
3.setup repo
官方文档给出的是google的源,翻墙可以下载成功。如果不翻墙,可以使用国内的源。
$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
国内源:
curl "http://PHP.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo
4.setup git and repo init
$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ mkdir fsl-release-bsp
$ cd fsl-release-bsp
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth
$ repo sync
sync完成后,大约占用320M左右。
5.build image
$ DISTRO=fsl-imx-fb MACHINE=imx6ulevk source fsl-setup-release.sh -b ./build_core
$ bitbake core-image-minimal
这个过程时间较长,主要看网速。fetch过程比较占用时间。
这个过程是把编译环境搭建好,源码下载并编译。可以关注路径./build_core/tmp/work/下的变化。
- imx6ul yocto project image build
- yocto build
- yocto project
- YOCTO project
- YOCTO Project
- Linaro Project & Yocto Project
- yocto定制image包
- yocto project directory structure
- yocto project .bbclass files
- yocto project glossary
- Freescale Yocto Project搭建
- Yocto Project 初体验
- i.MX Yocto Project: How do I add an existing package to an image?
- Yocto Project 快速入门指南
- image project
- Galileo+cam+wifi(三) rebuild yocto image
- yocto project terms & 深入理解 BitBake
- i.MX Yocto Project: ltib versus bitbake
- JDBC连接MySQL和Oracle数据库的规范写法
- C语言中函数的进一步理解
- zoj 3962 Seven Segment Display 数位dp
- msyql Mac忘记root密码与终端登录
- 使用jdbc连接ORACLE数据库进行查询的一个例子
- imx6ul yocto project image build
- 小小知识点
- 设计模式的六大原则
- Android 5.x 权限问题解决方法
- 机器学习(四):分而治之(下)——规则学习
- 2017 Pycharm激活码
- 子类能否继承、访问父类的私有成员
- SQLServer 分布式访问 创建链接服务器
- 小小的知识点