22
Yocto Project Update and Overview – Building Custom Embedded Distributions Saul Wold, Yocto Project Maintainer LinuxCon Japan 29 May 2013

Lcjpcojp13 Wold

Embed Size (px)

Citation preview

Yocto Project Update and Overview – Building Custom Embedded DistributionsSaul Wold, Yocto Project Maintainer

LinuxCon Japan 29 May 2013

2 Yocto Project | The Linux Foundation

Agenda

• What is the Yocto Project• Overview• Community

• Current Release Status• Stable Releases• 1.5 Status

• Usage• Cook’s Tour• Build Demo

3 Yocto Project | The Linux Foundation

A Collaboration Space for many projects

• Build system, tools and content

• ARM, MIPS, PPC, and x86

• A common place for BSPs

• Eclipse plugin for app and system development

• Application development SDK customized for each specific device

• It’s not an embedded Linux distribution - It creates a custom one for you.

4 Yocto Project | The Linux Foundation

Content in the Yocto Project

• Recipes – core metadata• Internet paths to project sources• Patches for building embedded devices• License information

• Build profiles (tiny, minimal, graphical, LSB)

• Build Appliance

• Example projects• NAS, Web-Kiosk, Trusted

5 Yocto Project | The Linux Foundation

What makes it different from

• Android

• Linaro

• Desktop / Server

• Others

6 Yocto Project | The Linux Foundation

Designed for the long term

• Easy to hack something up but...

• What do you do when you need to• Provide complete sources and build instructions• Evaluate hardware, optimization tuning, kernel version• Filter for license versions (non-GPLv3)• Get Commercial support• Real Time• Security• Source Offer

7 Yocto Project | The Linux Foundation

Who are we?• Individual Developers• Embedded hardware companies• Embedded OSVs and OEMs• Architects & maintainers from OpenEmbedded

8 Yocto Project | The Linux Foundation

Who’s involved on the Advisory Board

9 Yocto Project | The Linux Foundation

Yocto Project Compliance Program

• Yocto Project Participant is appropriate for organizations who use and support the Yocto Project publicly.

• Yocto Project Compatible is appropriate for products, BSPs and other OE-compatible layers, and related open-source projects.

• 29 Participants & 14 Compatible Projects, including:• The Angstrom Distribution• The Poky Distribution• Enea Linux• Mentor Embedded Linux• Wind River Linux 5

10 Yocto Project | The Linux Foundation

Following the Community

• Three well-known professional embedded Linux trainers have created and are teaching Yocto Project material• Linux Foundation (http://training.linuxfoundation.org/)• Robert PJ Day (crashcourse.ca)• Feabhas (http://www.feabhas.net/)

• Number of views on video sharing social media sites (YouTube, Vimeo, and YouKu) has approximately quadrupled in the past 12 months• Yocto Project Twitter account has about 2x followers from 12

months ago.• Facebook and Google+ are both 3x.

Yocto Project | The Linux Foundation

1.3 & 1.4 Stable Releases1.5 Features & Themes

12 Yocto Project | The Linux Foundation

Yocto Project 1.3 (Danny – 8.0)

• 1.3 / Danny 8.0 Released Oct 2012

• 1.3.1 Released in Feb • 76 commits• 13 CVEs addressed

• 1.3.2 Released April 26, 2013• Stability and Security• 4 CVEs since 1.3.1• 86 commits

13 Yocto Project | The Linux Foundation

Yocto Project 1.4 (Dylan 9.0) – 4/26/2013• Core

• Kernel: 3.8 along with 3.4 LTSI Convergence• Systemd, SMART, Wayland• PR Server and Shared State• Improved documentation

• Usability• WebHob• Eclipse on Windows / Mac

• 1.4.1 Stable planned for mid July• 51 Commits

14 Yocto Project | The Linux Foundation

Yocto Project 1.4 – How we got here

• ~7000 commits

• 178 Developers

• 72 domains

15 Yocto Project | The Linux Foundation

Yocto Project 1.5 Release

• Themes• Usability, Performance, Automated Testing

• Major Features• WebHob & Windows Support

• See Jessica’s talk – Friday afternoon

• Updated – binary diffs from feeds (not package mgt)• git.fenrus.org

• Genext2fs Support for rootfs• Ext4 support with Symlinks in libext2 – thanks to Darren Hart

• Ptest Support (make check)• Better feature coverage, multilib, postinstall

• Security Scanning• Bastille, Compiler / Linker flags

Yocto Project | The Linux Foundation

Yocto Project TourBitbake and Layers

17 Yocto Project | The Linux Foundation

The Cook’s Tour

18 Yocto Project | The Linux Foundation

Quick Start

• Website and Quickstart Guide• Download lastest version$ oe-init-build-env$ bitbake core-image-minimal

19 Yocto Project | The Linux Foundation

Activities this week

• Visit the booth for more details

• Virtualization Support – Michael Christofferson Thursday @ 14:00

• CV Robot – Scott Garman – Friday @ 10:00

• Developer Tools – Jessica Zhang Friday @ 14:00

20 Yocto Project | The Linux Foundation

Take Action Now

• It’s not an embedded Linux distribution – it creates a custom one for you• Lets you customize your embedded Linux OS• Helps set up the embedded app developer• Both device and app development models supported

• Getting started is easy• Download the software today• Be sure you read the Quick Start to set up your system to

use the Yocto Project• Build, test on QEMU or real hardware, develop apps

21 Yocto Project | The Linux Foundation

Join the Community

• #yocto on freenode.irc.net

• http://www.yoctoproject.org

• http://wiki.yoctoproject.org

• Development through public mailing lists:• [email protected],

[email protected]://lists.yoctoproject.org • [email protected]

• Git Code repositories• git://git.yoctoproject.org• git://git.openembedded.org• Bug reporting and features requests via• http://bugzilla.yoctoproject.org

Thank you for your participation!