Selecting Yocto Project Distro vs Others (e.g. CentOS) - embedded
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Selecting Yocto Project Distro vs Others (e.g. CentOS) - embedded
I know (and have read) a sticky on the topic of selecting a distro. I'm wondering if anyone may have a strong opinion for/against use of Yocto distro vs. others, esp. CentOS, based on practical experience? Would the fact that CentOS is already in use in some existing products skew the analysis?
BTW, this is for embedded systems, rather than for server types.
The Yocto Project is an open source collaboration project that provides templates, tools and methods to help you create custom Linux-based systems for embedded and IOT products, regardless of the hardware architecture.
Your comparison of CentOS versus embedded linux based systems is apples to oranges. As stated CentOS and most distributions are specific to the 32/64 bit PC. Although linux was originally built for the x386 the list on what it can run today is fairly long. Here is a list of debian ports.
The term embedded IMHO has become somewhat a fuzzy definition with modern hardware IMHO so without knowing if you are talking about embedded systems in general or have a specific embedded board picked out might help narrow the list.
Your comparison of CentOS versus embedded linux based systems is apples to oranges. As stated CentOS and most distributions are specific to the 32/64 bit PC. Although linux was originally built for the x386 the list on what it can run today is fairly long. Here is a list of debian ports.
The term embedded IMHO has become somewhat a fuzzy definition with modern hardware IMHO so without knowing if you are talking about embedded systems in general or have a specific embedded board picked out might help narrow the list.
Okay, Michael, you've made some very good points. I've read/heard the Yocto isn't a distribution; they do offer reference builds, and I could find (and am using) a BSP for my evaluation platform. It's to be adopted to the final board. It's gonna be a x86_64 (Intel Xeon-D to be exact) board. We've also used CentOs on one of our embedded (networking) products, so it's not PC products we're talking about here.
Having said that, any pros/cons in adapting either one (Yocto as a means to generate our kernel/BSP, vs. CentOS bistro)?
It depends on your requirements. I would say that a x86_64 that runs CentOS is close enough to a PC but you would have to post the specifications of the board. If CentOS meets your needs then what do you expect to gain by building custom system.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Yocto is good if you just want a firmware file to run the board. Other boards use all kinds of different processors, all of which are less supported on Linux than x86 processors. You're not going to use an embedded distro on an x86 processor, because you're needlessly limiting yourself to code that is less tested and more problematic than a distro made to run on x86 hardware.
There's no extremely technical reason. I just think it's intuitively obvious to use an x86 distro for an x86 processor. You get 1,000 times the software choice, way less problems in development. But if your use Yocto, you just have to load the BSP and you're done. It might not do everything you want. But it will do something at least.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.