Date
1 - 6 of 6
use case howto?
Jim Abernathy
I approach embedded Linux from a path of taking a Distro like Ubuntu or Fedora and chopping it down to a working set of code that forms the final solution. Obviously, not the same methology as Yocto. With some success with the current methods, it's difficult to see the advantages of Yocto. I'm reading what I can find to get smarting on Yocto, but like most new concepts, you try to compare what you used to do with how to do it with the new concept.
For example, if I use a distro, I can install packages really simply with yum or apt-get; update them the same way. If I start with a Yocto meta-??? that's closest to my hardware solution, and get it working at a base level, how do I add things, like browsers, or other application?
Jim A |
|
Gary Thomas
On 2011-11-07 14:59, James Abernathy wrote:
I approach embedded Linux from a path of taking a Distro like Ubuntu or Fedora and chopping it down to a working set of code that forms the final solution. Obviously, not the sameUsing very similar tools - zypper is just like yum, or if you choose to use ipk packages, opkg -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ |
|
Jim Abernathy
I thought the idea was to build a recipe for your device that could create the software complete with all the pieces. Certainly, having a list of packages that you need to install via zypper is fine, but I thought that not the concept behind Yocto???
Sorry for the dumb questions.
Jim A
On Mon, Nov 7, 2011 at 5:04 PM, Gary Thomas <gary@...> wrote:
|
|
Osier-mixon, Jeffrey <jeffrey.osier-mixon@...>
Hi James,
On Mon, Nov 7, 2011 at 1:59 PM, James Abernathy <jfabernathy@...> wrote:
The approach you describe is followed by a number of embedded developers. There are advantages to starting with a known-working quantity and scaling it down, particularly one with a working software repository. Where many developers get frustrated with that approach is in the details - on constrained systems it is easy to run out of space, or to simply not be able to scale the distro back to a point where it is useful on given hardware. Distros are also somewhat difficult to customize to the level an embedded product would need, and often those customizations are not repeatable, nor portable to updated versions of the distribution.
The Yocto Project approach is in many ways the philosophical opposite. You build from the ground up, starting from a base set of working components and adding only those features that are needed for the final system. You have complete control over every bit that goes into the final system, as well as control over the build tools themselves. You also have a fully repeatable and portable process, which is extremely important in a production environment. In essence, you use Yocto Project tools to create your own distro.
To answer your question, components like drivers (and entire board support packages (BSPs)) as well as userland features and applications can all be added by providing pointers to their recipes in a given build's configuration file. This is covered in much greater detail in the documentation at http://yoctoproject.org/documentation and on the wiki.
Hope this helps! Jeff Osier-Mixon http://jefro.net/blog Yocto Project Community Manager @Intel http://yoctoproject.org
|
|
Gary Thomas
On 2011-11-07 15:15, James Abernathy wrote:
I thought the idea was to build a recipe for your device that could create the software complete with all the pieces. Certainly, having a list of packages that you need to installIt's actually a combination of both worlds - you can use existing recipes to add functionality by just including those packages in your system, either at initial build time or by using the packaging tools. You can also easily write your own recipes to build specialized packages. The combination is up to you. A point of terminology - recipes are used to construct packages which can then be installed, etc. They are functional units, not necessarily tied to any particular device or system. n.b. top posting on mailing lists makes your replies harder to follow :-( On Mon, Nov 7, 2011 at 5:04 PM, Gary Thomas <gary@... <mailto:gary@...>> wrote:-- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ |
|
Jim Abernathy
On Nov 7, 2011, at 7:12 PM, Gary Thomas wrote:
On 2011-11-07 15:15, James Abernathy wrote:So if I wanted to build Firefox into my Yocto project. How is that done??I thought the idea was to build a recipe for your device that could create the software complete with all the pieces. Certainly, having a list of packages that you need to installIt's actually a combination of both worlds - you can use existing recipes Jim A
|
|