All of lore.kernel.org
 help / color / mirror / Atom feed
* does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf?
@ 2012-03-25 17:23 Robert P. J. Day
  2012-03-25 17:40 ` Tom Zanussi
  0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2012-03-25 17:23 UTC (permalink / raw)
  To: Yocto discussion list


  again, a discrepancy between the docs and the source files.  i
checked out the entire meta-intel layer, and below that the file
meta-crownbay/README clearly states:

"Having done that, and assuming you extracted the BSP tarball contents
at the top-level of your yocto build tree, you can build a crownbay
image by adding the location of the meta-crownbay layer to
bblayers.conf, along with the meta-intel layer itself (to access
common metadata shared between BSPs) e.g.:

  yocto/meta-intel \
  yocto/meta-intel/meta-crownbay \"

  however, the ref manual, Section 4.1, "BSP Layers", suggests only:

     BBLAYERS = " \
        /usr/local/src/yocto/meta \
        /usr/local/src/yocto/meta-yocto \
        /usr/local/src/yocto/meta-<bsp_name> \
        "

note no mention of including "meta-intel" layer.  clarification?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf?
  2012-03-25 17:23 does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf? Robert P. J. Day
@ 2012-03-25 17:40 ` Tom Zanussi
  2012-03-25 17:46   ` Robert P. J. Day
  2012-03-25 20:05   ` Robert P. J. Day
  0 siblings, 2 replies; 6+ messages in thread
From: Tom Zanussi @ 2012-03-25 17:40 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Yocto discussion list

On Sun, 2012-03-25 at 13:23 -0400, Robert P. J. Day wrote:
> again, a discrepancy between the docs and the source files.  i
> checked out the entire meta-intel layer, and below that the file
> meta-crownbay/README clearly states:
> 
> "Having done that, and assuming you extracted the BSP tarball contents
> at the top-level of your yocto build tree, you can build a crownbay
> image by adding the location of the meta-crownbay layer to
> bblayers.conf, along with the meta-intel layer itself (to access
> common metadata shared between BSPs) e.g.:
> 
>   yocto/meta-intel \
>   yocto/meta-intel/meta-crownbay \"
> 
>   however, the ref manual, Section 4.1, "BSP Layers", suggests only:
> 
>      BBLAYERS = " \
>         /usr/local/src/yocto/meta \
>         /usr/local/src/yocto/meta-yocto \
>         /usr/local/src/yocto/meta-<bsp_name> \
>         "
> 
> note no mention of including "meta-intel" layer.  clarification?
> 

Yes, I think that's as it should be - the general-purpose documentation
shouldn't mention specific layers.  meta-intel has its own layering
requirements as mentioned in the READMEs for those BSPs.  Also I think
the text mentions it's an example, but I guess I'm a bit confused since
I'm finding that in section 5.1. Example Filesystem Layout here:

http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html

Am I looking at the wrong thing?

In either case, possibly a note that this is just an example and that a
given layer may have its own requirements?

Tom

> rday
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf?
  2012-03-25 17:40 ` Tom Zanussi
@ 2012-03-25 17:46   ` Robert P. J. Day
  2012-03-25 19:06     ` Tom Zanussi
  2012-03-25 20:05   ` Robert P. J. Day
  1 sibling, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2012-03-25 17:46 UTC (permalink / raw)
  To: Tom Zanussi; +Cc: Yocto discussion list

On Sun, 25 Mar 2012, Tom Zanussi wrote:

> On Sun, 2012-03-25 at 13:23 -0400, Robert P. J. Day wrote:
> > again, a discrepancy between the docs and the source files.  i
> > checked out the entire meta-intel layer, and below that the file
> > meta-crownbay/README clearly states:
> >
> > "Having done that, and assuming you extracted the BSP tarball contents
> > at the top-level of your yocto build tree, you can build a crownbay
> > image by adding the location of the meta-crownbay layer to
> > bblayers.conf, along with the meta-intel layer itself (to access
> > common metadata shared between BSPs) e.g.:
> >
> >   yocto/meta-intel \
> >   yocto/meta-intel/meta-crownbay \"
> >
> >   however, the ref manual, Section 4.1, "BSP Layers", suggests only:
> >
> >      BBLAYERS = " \
> >         /usr/local/src/yocto/meta \
> >         /usr/local/src/yocto/meta-yocto \
> >         /usr/local/src/yocto/meta-<bsp_name> \
> >         "
> >
> > note no mention of including "meta-intel" layer.  clarification?
> >
>
> Yes, I think that's as it should be - the general-purpose documentation
> shouldn't mention specific layers.  meta-intel has its own layering
> requirements as mentioned in the READMEs for those BSPs.  Also I think
> the text mentions it's an example, but I guess I'm a bit confused since
> I'm finding that in section 5.1. Example Filesystem Layout here:
>
> http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html
>
> Am I looking at the wrong thing?
>
> In either case, possibly a note that this is just an example and that a
> given layer may have its own requirements?

  hang on ... i can see that meta-intel is a valid layer, under which
you can find conf/machine/include/ia32-base.inc.  and in all of the
*specific* intel-related BSPs, well:

$ grep -r ia32-base.inc *
meta-cedartrail/conf/machine/cedartrail.conf:require conf/machine/include/ia32-base.inc
meta-crownbay/conf/machine/crownbay.conf:require conf/machine/include/ia32-base.inc
meta-crownbay/conf/machine/crownbay-noemgd.conf:require conf/machine/include/ia32-base.inc
meta-emenlow/conf/machine/emenlow.conf:require conf/machine/include/ia32-base.inc
meta-fishriver/conf/machine/fishriver.conf:require conf/machine/include/ia32-base.inc
meta-fri2/conf/machine/fri2-noemgd.conf:require conf/machine/include/ia32-base.inc
meta-fri2/conf/machine/fri2.conf:require conf/machine/include/ia32-base.inc
meta-jasperforest/conf/machine/jasperforest.conf:require conf/machine/include/ia32-base.inc
meta-n450/conf/machine/n450.conf:require conf/machine/include/ia32-base.inc
meta-romley/conf/machine/romley.conf:require conf/machine/include/ia32-base.inc
meta-sugarbay/conf/machine/sugarbay.conf:require conf/machine/include/ia32-base.inc
meta-sys940x/conf/machine/sys940x-noemgd.conf:require conf/machine/include/ia32-base.inc
meta-sys940x/conf/machine/sys940x.conf:require conf/machine/include/ia32-base.inc
$

  that *would* seem to require adding meta-intel to your layers file,
no?  or am i misunderstanding something?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf?
  2012-03-25 17:46   ` Robert P. J. Day
@ 2012-03-25 19:06     ` Tom Zanussi
  0 siblings, 0 replies; 6+ messages in thread
From: Tom Zanussi @ 2012-03-25 19:06 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Yocto discussion list

On Sun, 2012-03-25 at 13:46 -0400, Robert P. J. Day wrote:
> On Sun, 25 Mar 2012, Tom Zanussi wrote:
> 
> > On Sun, 2012-03-25 at 13:23 -0400, Robert P. J. Day wrote:
> > > again, a discrepancy between the docs and the source files.  i
> > > checked out the entire meta-intel layer, and below that the file
> > > meta-crownbay/README clearly states:
> > >
> > > "Having done that, and assuming you extracted the BSP tarball contents
> > > at the top-level of your yocto build tree, you can build a crownbay
> > > image by adding the location of the meta-crownbay layer to
> > > bblayers.conf, along with the meta-intel layer itself (to access
> > > common metadata shared between BSPs) e.g.:
> > >
> > >   yocto/meta-intel \
> > >   yocto/meta-intel/meta-crownbay \"
> > >
> > >   however, the ref manual, Section 4.1, "BSP Layers", suggests only:
> > >
> > >      BBLAYERS = " \
> > >         /usr/local/src/yocto/meta \
> > >         /usr/local/src/yocto/meta-yocto \
> > >         /usr/local/src/yocto/meta-<bsp_name> \
> > >         "
> > >
> > > note no mention of including "meta-intel" layer.  clarification?
> > >
> >
> > Yes, I think that's as it should be - the general-purpose documentation
> > shouldn't mention specific layers.  meta-intel has its own layering
> > requirements as mentioned in the READMEs for those BSPs.  Also I think
> > the text mentions it's an example, but I guess I'm a bit confused since
> > I'm finding that in section 5.1. Example Filesystem Layout here:
> >
> > http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html
> >
> > Am I looking at the wrong thing?
> >
> > In either case, possibly a note that this is just an example and that a
> > given layer may have its own requirements?
> 
>   hang on ... i can see that meta-intel is a valid layer, under which
> you can find conf/machine/include/ia32-base.inc.  and in all of the
> *specific* intel-related BSPs, well:
> 
> $ grep -r ia32-base.inc *
> meta-cedartrail/conf/machine/cedartrail.conf:require conf/machine/include/ia32-base.inc
> meta-crownbay/conf/machine/crownbay.conf:require conf/machine/include/ia32-base.inc
> meta-crownbay/conf/machine/crownbay-noemgd.conf:require conf/machine/include/ia32-base.inc
> meta-emenlow/conf/machine/emenlow.conf:require conf/machine/include/ia32-base.inc
> meta-fishriver/conf/machine/fishriver.conf:require conf/machine/include/ia32-base.inc
> meta-fri2/conf/machine/fri2-noemgd.conf:require conf/machine/include/ia32-base.inc
> meta-fri2/conf/machine/fri2.conf:require conf/machine/include/ia32-base.inc
> meta-jasperforest/conf/machine/jasperforest.conf:require conf/machine/include/ia32-base.inc
> meta-n450/conf/machine/n450.conf:require conf/machine/include/ia32-base.inc
> meta-romley/conf/machine/romley.conf:require conf/machine/include/ia32-base.inc
> meta-sugarbay/conf/machine/sugarbay.conf:require conf/machine/include/ia32-base.inc
> meta-sys940x/conf/machine/sys940x-noemgd.conf:require conf/machine/include/ia32-base.inc
> meta-sys940x/conf/machine/sys940x.conf:require conf/machine/include/ia32-base.inc
> $
> 
>   that *would* seem to require adding meta-intel to your layers file,
> no?  or am i misunderstanding something?
> 

Yes, if you're using one of the meta-intel BSPs (and as you point out
that's mentioned as a requirement in each of those BSPs).  But the
meta-intel BSPs shouldn't be mentioned in the generic Yocto
documentation (and aren't in the snippet you mention, unless I'm looking
in the wrong place?).

Tom

> rday
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf?
  2012-03-25 17:40 ` Tom Zanussi
  2012-03-25 17:46   ` Robert P. J. Day
@ 2012-03-25 20:05   ` Robert P. J. Day
  2012-03-25 22:09     ` Tom Zanussi
  1 sibling, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2012-03-25 20:05 UTC (permalink / raw)
  To: Tom Zanussi; +Cc: Yocto discussion list

On Sun, 25 Mar 2012, Tom Zanussi wrote:

> On Sun, 2012-03-25 at 13:23 -0400, Robert P. J. Day wrote:
> > again, a discrepancy between the docs and the source files.  i
> > checked out the entire meta-intel layer, and below that the file
> > meta-crownbay/README clearly states:
> >
> > "Having done that, and assuming you extracted the BSP tarball contents
> > at the top-level of your yocto build tree, you can build a crownbay
> > image by adding the location of the meta-crownbay layer to
> > bblayers.conf, along with the meta-intel layer itself (to access
> > common metadata shared between BSPs) e.g.:
> >
> >   yocto/meta-intel \
> >   yocto/meta-intel/meta-crownbay \"
> >
> >   however, the ref manual, Section 4.1, "BSP Layers", suggests only:
> >
> >      BBLAYERS = " \
> >         /usr/local/src/yocto/meta \
> >         /usr/local/src/yocto/meta-yocto \
> >         /usr/local/src/yocto/meta-<bsp_name> \
> >         "
> >
> > note no mention of including "meta-intel" layer.  clarification?
> >
>
> Yes, I think that's as it should be - the general-purpose documentation
> shouldn't mention specific layers.  meta-intel has its own layering
> requirements as mentioned in the READMEs for those BSPs.  Also I think
> the text mentions it's an example, but I guess I'm a bit confused since
> I'm finding that in section 5.1. Example Filesystem Layout here:
>
> http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html
>
> Am I looking at the wrong thing?

  ah, yes, i'm looking at the *newer* version of that doc as cloned
from yocto-docs where Section 4.1 of that manual is called "BSP
Layers" and really emphasizes meta-intel and related layers and,
because of that, has some awkward wording that might mislead the
reader.  if you want to check the yocto-docs version of the same
manual, you might see what i'm talking about.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf?
  2012-03-25 20:05   ` Robert P. J. Day
@ 2012-03-25 22:09     ` Tom Zanussi
  0 siblings, 0 replies; 6+ messages in thread
From: Tom Zanussi @ 2012-03-25 22:09 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Yocto discussion list

On Sun, 2012-03-25 at 16:05 -0400, Robert P. J. Day wrote:
> On Sun, 25 Mar 2012, Tom Zanussi wrote:
> 
> > On Sun, 2012-03-25 at 13:23 -0400, Robert P. J. Day wrote:
> > > again, a discrepancy between the docs and the source files.  i
> > > checked out the entire meta-intel layer, and below that the file
> > > meta-crownbay/README clearly states:
> > >
> > > "Having done that, and assuming you extracted the BSP tarball contents
> > > at the top-level of your yocto build tree, you can build a crownbay
> > > image by adding the location of the meta-crownbay layer to
> > > bblayers.conf, along with the meta-intel layer itself (to access
> > > common metadata shared between BSPs) e.g.:
> > >
> > >   yocto/meta-intel \
> > >   yocto/meta-intel/meta-crownbay \"
> > >
> > >   however, the ref manual, Section 4.1, "BSP Layers", suggests only:
> > >
> > >      BBLAYERS = " \
> > >         /usr/local/src/yocto/meta \
> > >         /usr/local/src/yocto/meta-yocto \
> > >         /usr/local/src/yocto/meta-<bsp_name> \
> > >         "
> > >
> > > note no mention of including "meta-intel" layer.  clarification?
> > >
> >
> > Yes, I think that's as it should be - the general-purpose documentation
> > shouldn't mention specific layers.  meta-intel has its own layering
> > requirements as mentioned in the READMEs for those BSPs.  Also I think
> > the text mentions it's an example, but I guess I'm a bit confused since
> > I'm finding that in section 5.1. Example Filesystem Layout here:
> >
> > http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html
> >
> > Am I looking at the wrong thing?
> 
>   ah, yes, i'm looking at the *newer* version of that doc as cloned
> from yocto-docs where Section 4.1 of that manual is called "BSP
> Layers" and really emphasizes meta-intel and related layers and,
> because of that, has some awkward wording that might mislead the
> reader.  if you want to check the yocto-docs version of the same
> manual, you might see what i'm talking about.
> 

Yeah, I do see... I think all the examples in that section should be
removed - some of them aren't even BSP layers, and at any rate we really
don't need specific examples in a generic section like that.

Posting an update to that section now...

Tom

> rday
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-25 22:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-25 17:23 does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf? Robert P. J. Day
2012-03-25 17:40 ` Tom Zanussi
2012-03-25 17:46   ` Robert P. J. Day
2012-03-25 19:06     ` Tom Zanussi
2012-03-25 20:05   ` Robert P. J. Day
2012-03-25 22:09     ` Tom Zanussi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.