see:
https://community.freescale.com/docs/DOC-94866
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)
本文档提供了详细的步骤来准备Yocto项目的主机环境,包括设置虚拟机配置、安装必需软件包以及下载源代码等内容。
1万+

被折叠的 条评论
为什么被折叠?



