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

Svancara, Randall rsvancara at wsu.edu
Sun Oct 13 19:29:51 PDT 2013


I grabbed

wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.3/machines/cedartrail/meta-cedartrail-danny-8.0.0.tar.bz2

________________________________________
From: Ong, Boon Leong [boon.leong.ong at intel.com]
Sent: Sunday, October 13, 2013 7:26 PM
To: Svancara, Randall
Cc: meta-intel at yoctoproject.org
Subject: RE: meta-intel Digest, Vol 12, Issue 10

> -----Original Message-----
> From: Svancara, Randall [mailto:rsvancara at wsu.edu]
> Sent: Monday, October 14, 2013 10:08 AM
> To: Ong, Boon Leong
> Cc: meta-intel at yoctoproject.org
> Subject: RE: meta-intel Digest, Vol 12, Issue 10
>
> I made an attempt at  your instructions, with one modification.  I did a wget
> to download the cedartrail bsp layer and extracted it over the top of the
> meta-intel directory.
>
[Ong, Boon Leong]
Which package have you wget?
Based on http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/common/recipes-graphics/xorg-driver?h=danny ,
There is only common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb

For v1.18, it is on http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb?h=dora
It seems like that you grab the wrong meta-intel package and try to use it on danny. You need to make sure that both poky & meta-intel are having the same version.

> I attempted to try a build and I ended up with this error:
>
> ERROR: ParseError at /data/development/poky/meta-
> intel/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb:37:
> Could not inherit file classes/distro_features_check.bbclass
> ERROR: Command execution failed: Exited with 1
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit
> code.
>
> Any ideas?
> ________________________________________
> From: meta-intel-bounces at yoctoproject.org [meta-intel-
> bounces at yoctoproject.org] on behalf of Svancara, Randall
> [rsvancara at wsu.edu]
> Sent: Sunday, October 13, 2013 6:32 PM
> To: Ong, Boon Leong
> Cc: meta-intel at yoctoproject.org
> Subject: Re: [meta-intel] meta-intel Digest, Vol 12, Issue 10
>
> Thanks for the awesome instructions.  I am going to give this a try!
>
> Randall
> ________________________________________
> From: Ong, Boon Leong [boon.leong.ong at intel.com]
> Sent: Sunday, October 13, 2013 6:17 PM
> To: Svancara, Randall
> Cc: meta-intel at yoctoproject.org
> Subject: RE: meta-intel Digest, Vol 12, Issue 10
>
> > 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.b
> > z2
> >
> > 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
>
> _______________________________________________
> meta-intel mailing list
> meta-intel at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel



More information about the meta-intel mailing list