Ross Burton, a senior engineer on the Yocto ProjectBeen working on Yocto for nearly a year, but also worked on the precursor to Yocto, Poky, before wor
Why you should usethe Yocto Project(instead of a desktop Linux)for your product
Im talking about why you should use the Yocto Project (instead of a desktop Linux) for your pproducThey say when you cant summarise your talk in three words, why not use thirty, so I added a subtit
or,How I Learned To Stop WorryingAnd Love Building Distros
How I learned to stop worrying and love building distros.Because every conference should have a Dr Strangelove reference.Although this is less funny now that BAE systems have just appeared on the support mailing list.
“Its not an embedded Linux distribution— it creates a custom one for you”
What is the Yocto Project?YP is not a Linux distribution in the traditional sense, it helps you build a tailored Linux distribution fBut what do we mean by embedded? Embedded means diﬀerent things to diﬀerent people.
Home media: Televisions, digital video recorders, set-top boxes, wireless speakers, internet radios.Our set-top box division is rebasing their SDK to YP right now, after maintaining their own linux distr
Xeon Phi, aka MIC or Knights Corner.Cant get much more embedded than a PCI Express board with 64 x86 cores on. These are for massThe processor was once upon a time a Pentium but is substantially extended, and the system is tota
The fun thing about YP is you cant predict where people use it.This is the Vernier LabQuest, a ﬂexible science probe for education.webOS, the platform on the palm phone and tablets, is built using YP.If you update the ﬁrmware in your Intel SSD, that tool is built with YoctoConcordia, our software deﬁned radio platform, runs on YP.PAUSE.Now we know what sort of products the YP is aimed at, why should you use it?
When picking a platform whats the diﬀerence between Yocto and Android, Linaro, Tizen, Buildroot, B
Easy to hack on at first,but you’ll regret it later
When your processor is x86, its easy to prototype with a desktop distribution and chop pieces oﬀBuilding new packages and rebuilding the pieces that need changesBy the time the prototype is working well, youve invested enough eﬀort that starting again to remoBut you may end up with a fragile system, or the need to do something invasive such as rebuild the
Yocto is proven technology and designed for long term useThe build tool and package metadata (BitBake and OpenEmbedded) have been around for ten yearsBuilds on standard hardware (use your laptop to try it out) without any special requirements (eg noCommercial support from major OSVs and specialized consultanciesFinally no restrictions in its use, the build system is GPL/MIT, no terms to agree to.Speaking of licensing
Its easy to accidently break OSS licensing terms, so YP tries to help.Around $100k per violationAll recipes need a license statement, and checksums to validate. if a new upstream release changes"No GPLv3" button when building that can will disable v3 features or whole packages if the v3 botheGenerate release archives for license compliance, full source and patches. Easy to split open/closed
Yocto wont surprise you late in product developmentReproducable builds for the entire system. minimal host dependencies and ability to blow away builSix monthly release cycle with maintained release branches (about to release the ﬁrst point releaseOpen planning process for future releases, no development in private repos or not-quite open source
Numerous functional layers, with more packages (network daemons, multimedia support, selinux). tEntirely override existing packaging in your own layers, or just tweak behavior by appending packagGenerate a machine conﬁguration for your exact target, so you can compile everything with optimameta-intel has BSPs for key Intel platforms with targetted hardware support, such as NUC, FRI2, Xeo
YP is developer friendlyGenerate standalone toolchain with headers and libraries so app developers dont actually need to bDevelopment images with compilers/headers, debug images with full symbols and sourceEclipse based SDK for anyone who has an irrational fear of emacs and xterm.Bogdan just spoke about hob, the graphical interface to bitbake. also starting work on webhobDocumentation is never ﬁnished but weve a paid documentation writerOur autobuild setup is open source and documented, so anyone else can do the same.Fast to build. Highly parallel builds. my consumer i7 does a build in under an hour, pre-built objects
YP is incredibly ﬂexible.Easily swap or change components, such as systemd for sysvinit, uclibc for eglibc, use Wayland, X11choice of packaging system, and no need to keep it on the image.Easily shrinks down to a fastboot few meg ﬁlesystem for tiny single-application systems, but can als