All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@intel.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Build error while following Appendix A. Yocto Project Development manual
Date: Wed, 02 Nov 2011 09:18:39 -0500	[thread overview]
Message-ID: <1320243519.26655.52.camel@elmorro> (raw)
In-Reply-To: <alpine.DEB.2.02.1111020818510.4936@localhost6.localdomain6>

On Wed, 2011-11-02 at 05:19 -0700, Robert P. J. Day wrote:
> just to clarify any overlooked issues ...
> 
> On Tue, 1 Nov 2011, Tom Zanussi wrote:
> 
> > ... I captured the steps I used below, which should work in the same
> > way for you.
> >
> > trz@elmorro:/usr/local/dev/yocto$ mkdir bsp-test; cd bsp-test
> > trz@elmorro:/usr/local/dev/yocto/bsp-test$ git clone git://git.yoctoproject.org/poky
> > trz@elmorro:/usr/local/dev/yocto/bsp-test$ cd poky
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git checkout -b edison origin/edison
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git clone git://git.yoctoproject.org/meta-intel.git
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ cd meta-intel
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ git checkout -b edison origin/edison
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cp -a meta-crownbay/ meta-mymachine
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm meta-mymachine/conf/machine/crownbay.conf
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/conf/machine/crownbay-noemgd.conf meta-mymachine/conf/machine/mymachine.conf
> 
>   should one still change the NAME or DESCRIPTION comments in that new
> mymachine.conf file to reflect "mymachine" as the dev-manual suggests,
> or can one just leave them referring to crownbay?  recall that the
> current dev-manual claims that you "need" to make those changes.  if
> you don't, that claim should be softened.
> 

Right, not strictly needed, only for consistency, so the language should
be softened, I agree.

>   also, there's no mention of editing "layer.conf" to reflect
> "mymachine" as directed in dev-manual:
> 
>   BBFILE_COLLECTIONS += "mymachine"
> 
> should that not be done?  again, the current dev-manual states that
> that change is "needed".
> 

That is needed, but the steps that required editing files aren't easily
captured in a transcript, so I didn't capture those, but they are still
required.  I should have added a <do editing step xxx from the doc here>
to make that clear, though I did mention that other than the
kernel .bbappend, the steps I went through were pretty much as
described.  Anyway, hopefully we can get the changes from this thread in
the doc and it will then all fit together.

> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay/
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay-noemgd meta-mymachine/recipes-bsp/formfactor/formfactor/mymachine
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay
> 
>   don't you also have to rename "crownbay-noemgd/" to "mymachine/"
> under that recipes-graphics/ directory as well, as the dev-manual
> directs?  you don't mention that here.  you also don't mention making

Right, I missed that step.  It still builds, though there would be
problems with X at runtime due to this.

> editing changes to recipes-core/tasks/task-core-tools.bbappend as
> dev-manual suggests.  not necessary?
> 

Yes, necessary, again, I didn't add the notes about editing.

Tom

> > Here's the resulting linux-yocto_3.0.bbappend:
> >
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cat meta-mymachine/recipes-kernel/linux/linux-yocto_3.0.bbappend
> >
> > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> >
> > COMPATIBLE_MACHINE_mymachine = "mymachine"
> > KMACHINE_mymachine  = "yocto/standard/common-pc/atom-pc"
> > KERNEL_FEATURES_append_mymachine += " cfg/smp.scc"
> >
> > SRCREV_machine_pn-linux-yocto_mymachine ?= "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0"
> > SRCREV_meta_pn-linux-yocto_mymachine ?= "d05450e4aef02c1b7137398ab3a9f8f96da74f52"
> 
>   ok, just took that verbatim.
> 
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ source oe-init-build-env
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ bitbake core-image-sato
> >
> > NOTE: Tasks Summary: Attempted 4426 tasks of which 247 didn't need to be rerun and 0 failed.
> > trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/build
> 
>   other than sourcing from one directory level up and making the
> appropriate changes in conf/local.conf to refer to "mymachine", no
> difference here.  just started the build ...
> 
> rday
> 




  reply	other threads:[~2011-11-02 14:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 18:37 Build error while following Appendix A. Yocto Project Development manual James Abernathy
2011-11-01 19:40 ` Tom Zanussi
2011-11-01 19:48   ` James Abernathy
2011-11-01 19:55     ` Tom Zanussi
2011-11-01 20:04       ` James Abernathy
2011-11-02  0:45     ` Tom Zanussi
2011-11-02 12:19       ` Robert P. J. Day
2011-11-02 14:18         ` Tom Zanussi [this message]
2011-11-02 14:35           ` Robert P. J. Day
2011-11-02 14:24       ` Jim Abernathy
2011-11-02 14:41         ` Tom Zanussi
2011-11-02 15:07           ` Jim Abernathy
2011-11-02 15:34             ` Tom Zanussi
2011-11-02 19:18               ` Jim Abernathy
2011-11-02 19:36                 ` Tom Zanussi
2011-11-02 20:07                   ` Jim Abernathy
2011-11-02 20:18                     ` Tom Zanussi
2011-11-02 22:05                       ` Jim Abernathy
2011-11-03 19:32       ` James Abernathy
2011-11-01 21:37   ` Robert P. J. Day
2011-11-01 21:46     ` Tom Zanussi
2011-11-01 21:54       ` Tom Zanussi
2011-11-01 22:47         ` Robert P. J. Day
2011-11-01 23:16           ` Tom Zanussi
2011-11-01 23:27             ` Robert P. J. Day
2011-11-01 21:56       ` Robert P. J. Day

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1320243519.26655.52.camel@elmorro \
    --to=tom.zanussi@intel.com \
    --cc=rpjday@crashcourse.ca \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.