From: Denys Dmytriyenko <denys@ti.com>
To: Matt Schuckmann <Matt.Schuckmann@planar.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: I'm confused about distributions, machines, and images
Date: Thu, 11 Sep 2014 18:43:53 -0400 [thread overview]
Message-ID: <20140911224352.GM18620@edge> (raw)
In-Reply-To: <4B07ADD556F70043925DA2E9C5D4346D2FD86C6135@MSXBEBVT12.planar.net>
Matt,
Sorry for the delay - unfortunately, your questions were too generic and there
was no simple answer to them...
On Fri, Aug 29, 2014 at 05:31:02PM -0700, Matt Schuckmann wrote:
> I feel like I keep going around in circles on this and I'm looking for some
> wisdom and direction. I hope that I am posting this in the correct place.
>
> I'm trying to get a Linux image setup for my custom board based on the AM335x.
> I assume that I want to use the meta-arago layer because it has all the
> latest tested stuff. Correct?
Well, meta-ti as a BSP layer, while meta-arago is a Distro layer. You should
probably start with a basic BSP first.
> Our board will not have any sound, screen, usbgadget, or video support so I
> assume that I'll want to create a new MACHINE, probably based on
> meta-arago/meta-arago-distro/conf/machine/arago-armv7.conf (correct?) but
Incorrect. Per above, meta-ti is the BSP layer that defines all the machines,
such as am335x-evm one, while meta-arago doesn't define any machines. Those
arago-armv7 and arago-armv5 files in meta-arago are not the actual machines
and are used for special purposes.
> with a different definition for MACHINE_FEATURES. Is this the correct thing
> to do? Do I start with a completely scratch machine definition coping bits
> and pieces from the arago machine definitions, or do somehow inherit or
> include the definitions from the arago files and somehow override or filter
> out stuff that I don't want?
>
> Next, I don't understand if I need to create a new distribution. It doesn't
Distribution is something that defines all the software components that you
use in a system. You can start with one of the existing distributions, such as
Poky, or Arago, or even Angstrom. There are some ways to do simple
customizations in the existing distros, if all you want is to add few
additional components. You only need your own distro if you are looking into
completely redefining the system and it's behavior.
> seem like I should, but I can see that
> meta-argo/meta-argo-distro/conf/distro/arago.conf defines DISTRO_FEATURES to
> include many things that my system won't need, including alsa, pcmcia,
> usbgadget, wifi, etc. I can't seem to find a complete description for what
> DISTRO_FEATURES does (same goes for MACHINE_FEATURES and IMAGE_FEATURES),
> does it mean that all of the things listed will be included in images based
> on the distribution or? Ultimately the question is: do I need to create a
> new distribution? And if I do how best to go about it.
You should probably read the Yocto Project documentation.
> Finally, I think that I need to create a new image that only includes the
> packages that I want, I would think that I would want to base it on one of
> the arago images (i.e. include something like arago-base-image.bb in my
> image). However when I look at arago-base-image.bb I see that it includes
> packagegroup-arago-base which RDEPENDS on alsa-lib and alsa-utils-aplay both
> of which I don't think are needed since my board doesn't support sound. Does
> this mean that I shouldn't base my image on an arago-base-image or is there
> a way to filter these packages out?
There are ways to filter out packages, but only you can determine if it's
easier than creating a completely new image.
> I really appreciate any help, and I really need some direction, I feel like
> I'm starting to learn how to get around the open-embedded stack but there is
> still a lot that I have to learn.
As I said above, your questions are way too generic and the best answer would
be to point you to a corresponding documentation...
--
Denys
next prev parent reply other threads:[~2014-09-11 22:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-30 0:31 I'm confused about distributions, machines, and images Matt Schuckmann
2014-09-11 22:43 ` Denys Dmytriyenko [this message]
2014-09-15 18:15 ` Matt Schuckmann
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=20140911224352.GM18620@edge \
--to=denys@ti.com \
--cc=Matt.Schuckmann@planar.com \
--cc=meta-arago@arago-project.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.