[meta-intel] meta-intel Digest, Vol 12, Issue 10

Ong, Boon Leong boon.leong.ong at intel.com
Sun Oct 13 18:17:15 PDT 2013


> Message: 1
> Date: Sun, 13 Oct 2013 17:48:39 +0000
> From: "Svancara, Randall" <rsvancara at wsu.edu>
> To: "meta-intel at yoctoproject.org" <meta-intel at yoctoproject.org>
> Subject: [meta-intel] Yocto Intel Atom N2600/N2800/D2550 Cedartrail
> Message-ID:
> 	<1F880D7A2494B346B5AB96481EAE704A0EA486DB at EXMB-
> 03.ad.wsu.edu>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> I am trying to use Yocto to build a version of embedded Linux that can work
> on an Intel Atom D2550.
> 
> I am following  your instructions located here:
> 
> https://www.yoctoproject.org/download/intel%C2%AE-atom%E2%84%A2-
> n2600n2800d2550-wnm10-chipset-cedar-trail-open-source-graphics
> 
> I am a little vague on some of the details of the instructions and would
> appreciate any clarification that may able to provide.
> 
> 1.  I download the Danny version of the Yocto project here:
> http://mirrors.kernel.org/yocto/yocto/yocto-1.3/poky-danny-8.0.1.tar.bz2
> 
> 2.  Extract the tarball into a directory called /data/YOCTO.
> 
> 3.  Here is where I am confused.  I use git to clone the following:
> 
> git clone git://git.openembedded.org/bitbake
> git clone git://git.openembedded.org/openembedded-core
> git clone git://git.yoctoproject.org/meta-intel\
> wget http://downloads.yoctoproject.org/releases/yocto/yocto-
> 1.3.1/machines/cedartrail/meta-cedartrail-danny-8.0.1.tar.bz2
> 
> 4. I know have the following directories in /data /data/bitbake
> /data/openembedded-core /data/meta-intel /data/YOCTO
> /data/meta-cedartrail-danny-8.0.1.tar.bz2
> 
> 5.  I extract the meta-cedartrail-danny-8.0.1.tar.bz2 file.  I place the meta-
> cedartrail/meta-cedartrail sub directory into the /data/meta-intel directory.
> 
> At this point, I am lost as to where I need to place the bitbake and
> openembedded directories.  I have tried so many variations of copying
> directories around and nothing seems to work.  I always end up with errors in
> the build.  I am using Ubuntu 12.04.
> 
> I appreciate any assistance you may be able to provide.
[Ong, Boon Leong] 
You have two options when building a BSP: 
(A) download packages + build
(B) git clone + build

(A) is a packaged release according to a stable version and (B) if you want to pick new git commit.

I normally do (B) as follow:

Assuming you are at /home/user/development
# cd /home/user/development
# git clone  git://git.yoctoproject.org/poky.git
# cd /home/user/development/poky
# git checkout -b danny --track origin/danny
# git clone  git://git.yoctoproject.org/meta-intel.git 
# cd /home/user/development /poky/meta-intel
# git checkout -b danny --track origin/danny
# cd /home/user/development
# mkdir build
# cd /home/user/development/build
# source /home/user/development/poky/oe-init-build-env <your-bsp-build-name>
# cd /home/user/development/build/<your-bsp-build-name>
# vi conf/bblayer.bb
 
BBLAYERS ?= " \
  /home/user/development/poky/meta \
  /home/user/development/poky/meta-yocto \
  /home/user/development/poky/meta-yocto-bsp \
  /home/user/development/poky/meta-intel \
  /home/user/development/poky/meta-intel/meta-cedartrail \
  "

# vi conf/local.bb
// uncomment the following
BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"

// add the following line for cedartrail
MACHINE ?= "cedartrail"  
OR
MACHINE ?= "cedartrail-nopvr"
as listed below http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-cedartrail/conf/machine?h=danny 

# cd /home/user/development/build/<your-bsp-build-name>
# bitbake core-image-sato




More information about the meta-intel mailing list