Dive Into Yocto


Details

Objective

Provide the basic knowledge of tools used in Yocto’s Poky build system, to use and work with the build system effectively.

Total Duration

21h

Status

Available

Schedule

Session Theory Lab

Building a Tiny Root FS

1h

1h

BitBake Intro

1h

1h

BitBake Root FS

1h

1h

BitBake Layers

1h

1h

Debian Packaging

1h

1h

Managed Root FS

1h

1h

Yocto Intro

1h

-

Working with Yocto

1h

1h

Custom Layers

1h

1h

Project

4h

-

Detailed Syllabus

Autotools and Cross Compilation

  • Unix Variants

  • Role of Autoconf

  • Configuration Options

  • Cross Compiler

  • Cross Compilation with Autotools

Building a Tiny Root FS

  • Building Hello World Root FS

  • Building Rootfs with bash and coreutils

  • Handling Dependencies: less and libncurses

BitBake Intro

  • Setting up BitBake and Configuration Files

  • Stages in Build

  • Writing Recipes

BitBake Root FS

  • Writing Recipes for bash, less and coreutils

  • Building Rootfs using BitBake

BitBake Layers

  • Managing Dependencies

  • Commonizing Definitions in Class

  • Layers in BitBake

Debian Packaging

  • Debian Package Managment

  • Anatomy Debian Package

  • Creating Debian Packages

  • Creating APT Repo

Managed Root FS

  • Advantage of Managed Root FS

  • Building Root FS using Multistrap

  • Installing Packages

Yocto Intro

  • History of Yocto

  • Yocto Features

  • Yocto Projects

  • OE and Poky

Working with Yocto

  • Build Env. Setup

  • Configuration

  • Build Time Reduction

  • Building Minimal Root FS

  • Build Customizations

Custom Layers

  • Creating Custom Layers

  • Creating Image Recipes

  • Creating Distributions

Project

  • Create Appropriate Layers

  • Add Recipe for App

  • Customize to Boot the App on Startup