[yocto] getting started...

Trevor Woerner twoerner at gmail.com
Fri May 29 11:41:37 PDT 2015


Hi Ed,

On 05/27/15 16:32, Ed Sutter wrote:
> This year I have two ongoing iMX6 based linux projects, and may need
> to use a beaglebone
> or RPi for some other small project.
>
> The point of the above detail is that I'd like to backup a bit and
> attempt to use Yocto to
> organize all four of these with one instance of Yocto/Poky.  Is that
> practical?

Yes, that would be a great idea!Have a look at angstrom, for example:
http://www.angstrom-distribution.org. They build one distro for a whole
bunch of different machines. As such, they start with a whole bunch of
different layers, most of which are BSP layers, and then simply do:

$ MACHINE=<machine> bitbake <image>

e.g.

$ MACHINE=raspberrypi2 bitbake angstrom-image
$ MACHINE=beaglebone bitbake angstrom-image
...

and build the exact same image for a bunch of different boards/machines.

They've recently switched to using a repo manifest (which I think is a
great idea): https://github.com/Angstrom-distribution/angstrom-manifest

I've been playing around with doing essentially the same thing for a
"poky" distribution here (but it's still a work-in-progress and not
really ready for prime time yet): https://github.com/twoerner/layer-repos

>   Seems
> to me that is the ideal goal of Yocto, but I don't see many BSPs
> listed under the project
> downloads page.

Take a look here:
http://layers.openembedded.org/layerindex/branch/master/layers this is
the "master" list of all the "known" layers, recipes, etc. As you can
see, there are quite a few BSP layers.

Best regards,
    Trevor



More information about the yocto mailing list