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

Lcjpcojp13 Wold

May 07, 2017

Download

Documents

cutesand
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lcjpcojp13 Wold

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

LinuxCon Japan 29 May 2013

Page 2: Lcjpcojp13 Wold

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

Page 3: Lcjpcojp13 Wold

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.

Page 4: Lcjpcojp13 Wold

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

Page 5: Lcjpcojp13 Wold

5 Yocto Project | The Linux Foundation

What makes it different from

• Android

• Linaro

• Desktop / Server

• Others

Page 6: Lcjpcojp13 Wold

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

Page 7: Lcjpcojp13 Wold

7 Yocto Project | The Linux Foundation

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

Page 8: Lcjpcojp13 Wold

8 Yocto Project | The Linux Foundation

Who’s involved on the Advisory Board

Page 9: Lcjpcojp13 Wold

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

Page 10: Lcjpcojp13 Wold

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.

Page 11: Lcjpcojp13 Wold

Yocto Project | The Linux Foundation

1.3 & 1.4 Stable Releases1.5 Features & Themes

Page 12: Lcjpcojp13 Wold

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

Page 13: Lcjpcojp13 Wold

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

Page 14: Lcjpcojp13 Wold

14 Yocto Project | The Linux Foundation

Yocto Project 1.4 – How we got here

• ~7000 commits

• 178 Developers

• 72 domains

Page 15: Lcjpcojp13 Wold

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

Page 16: Lcjpcojp13 Wold

Yocto Project | The Linux Foundation

Yocto Project TourBitbake and Layers

Page 17: Lcjpcojp13 Wold

17 Yocto Project | The Linux Foundation

The Cook’s Tour

Page 18: Lcjpcojp13 Wold

18 Yocto Project | The Linux Foundation

Quick Start

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

Page 19: Lcjpcojp13 Wold

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

Page 20: Lcjpcojp13 Wold

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

Page 21: Lcjpcojp13 Wold

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

Page 22: Lcjpcojp13 Wold

Thank you for your participation!