From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Javier Viguera <javier.viguera@digi.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: how can i add u-boot-fw-utils to my build without u-boot being part of the build?
Date: Thu, 25 Aug 2016 06:51:55 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.20.1608250647580.27611@ca624034.mitel.com> (raw)
In-Reply-To: <47213dd7-8a1a-23a8-68a9-8e7c7452b9f6@digi.com>
On Mon, 22 Aug 2016, Javier Viguera wrote:
> Hi Robert,
>
> On 21/08/16 17:51, Robert P. J. Day wrote:
> >
> > i apologize for being clueless, but i'm still unclear on what i
> > need to do here, and in my case, i'm going in the opposite
> > direction.
> >
> > currently, u-boot is being configured and compiled standalone --
> > not as part of OE. and that build works just fine, so i can grab
> > whatever (little?) i need from that build to then add to an actual
> > OE build so i can just add u-boot-fw-utils to an existing image.
> >
> > as i read it, for an OE build of u-boot, i need to supply either
> > UBOOT_MACHINE or UBOOT_CONFIG. so in this case, what would i do?
> > my assumption until now is that i need to add to the OE build just
> > enough to get the fw utils to build, and i'd do that by setting
> > either of those variables. and i already have the appropriate
> > fw_env.config file ready to go.
> >
> > so what precisely do i need to do here?
>
> Have you tried to override UBOOT_CONFIG in a u-boot-fw-utils
> bbappend?
i did figure out a while back that i needed to set at least one of
UBOOT_MACHINE or UBOOT_CONFIG, and since i couldn't set the former,
clearly, i needed to figure out how to set the latter, i just didn't
know what was supposed to go into it. am i just missing it, or is
there an actual example of what would go into a UBOOT_CONFIG variable?
> Have a look at how we do that (using sandbox_defconfig) in
> meta-digi-arm:
>
> https://github.com/digi-embedded/meta-digi/blob/jethro/meta-digi-arm/recipes-bsp/u-boot/u-boot-fw-utils_%25.bbappend
>
> Hope this helps.
ok, will check that out later today, thanks. is there, in fact, any
OE/YP documentation that shows a detailed example of how to do that?
i'm fairly familiar with the OE/YP manuals, but i don't recall
tripping over anything like that.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
next prev parent reply other threads:[~2016-08-25 10:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-18 16:41 how can i add u-boot-fw-utils to my build without u-boot being part of the build? Robert P. J. Day
2016-08-19 20:16 ` Tom Rini
2016-08-21 13:59 ` Robert P. J. Day
2016-08-21 15:04 ` Tom Rini
2016-08-21 15:51 ` Robert P. J. Day
2016-08-22 8:34 ` Javier Viguera
2016-08-25 10:51 ` Robert P. J. Day [this message]
2016-08-25 14:31 ` 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=alpine.LFD.2.20.1608250647580.27611@ca624034.mitel.com \
--to=rpjday@crashcourse.ca \
--cc=javier.viguera@digi.com \
--cc=openembedded-core@lists.openembedded.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.