From: Sascha Hauer <sha@pengutronix.de>
To: Konstantin Kletschke <konstantin.kletschke@inside-m2m.de>
Cc: barebox@lists.infradead.org, Enrico Joerns <ejo@pengutronix.de>
Subject: Re: yocto integration - best practice
Date: Mon, 11 Oct 2021 10:11:29 +0200 [thread overview]
Message-ID: <20211011081129.GX28453@pengutronix.de> (raw)
In-Reply-To: <12cdc549cacb6f4f93f939fb76486d62@inside-m2m.de>
Hi Konsti,
On Fri, Oct 08, 2021 at 03:18:56PM +0200, Konstantin Kletschke wrote:
> Hi All,
>
> I wonder how to properly integrate bare box into my yocto. I read many other
> examples in
> the internet how other people do this and I am a little stupid now.
>
> I have a yocto poky image up and running based on their beaglebone-yocto
> subset which can be utlilized
> in my case with a rather minimal setup with a local.conf only. This since I
> by accident actually
> use a Beaglebone Black board.
>
> I added my own meta-insidem2m layer also and in this layer I modify kernel
> config, integrate out of
> kernel modules and other stuff. Also barebox patches (for default boot
> configs) are added from there.
> The local.conf shrunk to a rather minimal content, because I have an own
> distro in it with three
> different images.
>
> Additionally I integrated meta-barebox successfully into this and use
> barebox in my daily development
> work to boot from internal MMC and external SD-Card.
>
> What I wonder, what is need to be done to integrate MLO and barebox.bin into
> the SD-Card image?
We use https://github.com/pengutronix/genimage for this task. The tool
can generate all kinds of images with complete partitioning, also
containing bootloader images and barebox environment images if you like.
I'm not very much into YOCTO, I don't know how genimage is integrated
into YOCTO, there must be the right receipt files somewhere. Added
Enrico to Cc: for that.
Regards,
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2021-10-11 8:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 13:18 Konstantin Kletschke
2021-10-11 8:11 ` Sascha Hauer [this message]
2021-10-11 8:29 ` Enrico Jörns
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=20211011081129.GX28453@pengutronix.de \
--to=sha@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ejo@pengutronix.de \
--cc=konstantin.kletschke@inside-m2m.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox