iMX6Q开发环境搭建ycoto Linux3.10.53BSP

安装环境:ubuntu 12.04 LTS

一. Host Packages

 $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat
  $ 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
i.MX layers host packages for a Ubuntu 12.04 host setup only:
  $ sudo apt-get install uboot-mkimage
i.MX layers host packages for a Ubuntu 14.04 host setup only:
  $ sudo apt-get install u-boot-tools

二. Setting Up the Repo Utility

$ mkdir ~/bin (this step may not be needed if the bin folder already exists)  
$ curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > ~/bin/repo       //此处一定要用这个源,google的源会出错。
$ chmod a+x ~/bin/repo
  1. Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH variable.
export PATH=~/bin:$PATH

三. Yocto Project Setup

$ mkdir fsl-release-bsp  
$ cd fsl-release-bsp  
$ git config --global user.name "name"  
$ git config --global user.email "name@mail.com"  
$ git config --list  
$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga     //此处需检查文件名是否正确
$ repo sync   //2016年10月26日 22:06:06  
展开阅读全文

没有更多推荐了,返回首页