All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@intel.com>
To: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: bsp experiences
Date: Tue, 01 May 2012 16:33:03 -0500	[thread overview]
Message-ID: <1335907983.27056.185.camel@elmorro> (raw)
In-Reply-To: <1335904605.27056.161.camel@elmorro>

On Tue, 2012-05-01 at 15:36 -0500, Tom Zanussi wrote:
> On Tue, 2012-05-01 at 22:23 +0200, Frans Meulenbroeks wrote:
> > 2012/5/1 Tom Zanussi <tom.zanussi@intel.com>:
> > > Hi Frans,
> > >
> > > Thanks for your input, comments below...
> > >
> > > On Tue, 2012-05-01 at 16:21 +0200, Frans Meulenbroeks wrote:
> > >> Dear all,
> > >>
> > >> In this email I'd like to share my experiences wrt creating a new bsp.
> > >> I hope this is useful for someone (e.g. for updating the doc). Feel
> > >> free to point out the n00bish errors I made, or where I could have
> > >> improved.
> > >>
> > >> Aim was to bring my current board (powerpc mpc8313e based) onto yocto 1.2
> > >> This board is already working under oe classic.
> > >>
> > >> I started fetching poky-denzil-7.0.
> > >> Tested by building core-image-minimal. No problems here.
> > >>
> > >> Then I wanted to add my own bsp. Decided to use the bsp-guide as a starter.
> > >>
> > >> Tried to use yocto-bsp with the standard 7.0 setup (where there is a
> > >> poky-denzil-7.0-build dir adjacent to the soruce dir).
> > >> yocto-bsp when invoked complained with:
> > >> IOError: [Errno 2] No such file or directory:
> > >> '/home/frans/poky-denzil-7.0/scripts/../build/conf/bblayers.conf'
> > >>
> > >
> > > This should be fixed by the fix for this bug:
> > >
> > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=2219
> > >
> > > which didn't make it into the release, and hasn't been pulled into
> > > master yet either...
> > >
> > > But actually that should only apply to yocto-kernel, not yocto-bsp.
> > >
> > > Can you provide more info on your exact setup and commands you used?
> > 
> > I just downloaded denzel according to the quickstart guide.
> > My build dir was outside the source tree.
> > 
> > I did
> >     $ wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.2/poky-denzil-7.0.tar.bz2
> >      $ tar xjf poky-denzil-7.0.tar.bz2
> >      $ source poky-denzil-7.0/oe-init-build-env poky-denzil-7.0-build
> > Tweaked local.conf a little (parallel make and bbthreads and rm_work).
> > Then build core-image-minimal for for the standard machine (x68 emu or so)
> > 
> > after that in the build dir I did (if I recall correctly)
> > yocto-bsp create mpc8313 powerpc
> > 
> > That gave the error.
> > I think the exact message is still on the console of my build system
> > at work. Will check, if so I can email it tomorrow.
> > 
> 
> No need, I just tried it myself here using the instructions from your
> e-mail of a few minutes ago and saw the error after a couple steps
> through.
> 
> The following patch fixed it:
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/yocto-bsp-fixes-2219-2330
> 
> I can't fix it in the release of course, but I'll at least submit a
> patch to the release notes and the quick start...
> 

OK, there's now an entry for this in the Release Notes:

http://www.yoctoproject.org/download/yocto/yocto-project-1.2-release-notes-poky-7.0

Thanks for your input on this,

Tom



  reply	other threads:[~2012-05-01 21:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-01 14:21 bsp experiences Frans Meulenbroeks
2012-05-01 14:49 ` Khem Raj
2012-05-01 19:21   ` Frans Meulenbroeks
2012-05-01 19:52     ` Tom Zanussi
2012-05-01 14:58 ` Tom Zanussi
2012-05-01 20:23   ` Frans Meulenbroeks
2012-05-01 20:36     ` Tom Zanussi
2012-05-01 21:33       ` Tom Zanussi [this message]
2012-05-01 15:33 ` Mark Hatle
2012-05-01 20:26   ` Frans Meulenbroeks

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=1335907983.27056.185.camel@elmorro \
    --to=tom.zanussi@intel.com \
    --cc=fransmeulenbroeks@gmail.com \
    --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.