您的位置:首页 > 其它

Task #1 - Download the source code

2015-01-20 17:22 281 查看
see:

       https://community.freescale.com/docs/DOC-94866  

由 Daiane
Angolini 在 2013-5-27 上午9:34 上创建,最后由 Daiane
Angolini 在 2014-3-27 上午7:36 上修改
版本
15


Preparing host environment



For virtual machine (VirtualBox):

Please set memory size minimal to 1GB and disk size to 32GB. (24Feb2014 Ubuntu 12.04LTS)

First, make sure your host PC has the required packages to run Yocto

 

Ubuntu

The essential packages you need for a supported Ubuntu distribution are shown in the following command:

 

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo \

build-essential chrpath libsdl1.2-dev xterm curl

 

 

Fedora

The essential packages you need for a supported Fedora distribution are shown in the following command:

$ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \

diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \

ccache SDL-devel xterm

 

Or, take a look here if
you use OpenSuse or CentrOs

 

 


Download the source code

 

Install the repo (from google)

 

$ mkdir ~/bin

$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo >
~/bin/repo

$ PATH=$PATH:~/bin

$ chmod a+x ~/bin/repo

 

Download the BSP source:

 

$ mkdir fsl-community-bsp

$ cd fsl-community-bsp

$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b
dora 

$ repo sync

 

It may take something like 15 minutes to get the source code.

Note (24Feb2014): Required disk space for repo is 238MB

 

Go to Home

Go to Task
#2

 

UPDATE

Dora was just released: https://lists.yoctoproject.org/pipermail/meta-freescale/2013-October/005286.html

Dora is the new stable branch released on 2013 October.

If you wish to only update your source code, you may use only:

 

$ repo init -b dora

 

Although, please, start a new/clean/fresh build directory, otherwise the different version for several packages may result in weird build error (like avahi)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: