Course Code: yoctoprojectli
Duration: 28 hours
Course Outline:

Agenda --- Day one

➢ Introduction

➢ Embedded Linux build system introduction

• Openembedded and Yocto Project history

• Yocto project release

• Overview of an embedded Linux system architecture

• Methods to build a root file system image

• Usefulness of build systems

➢ Overview of the Yocto Project and the Poky reference system

• Organization of the project source tree

• Building a root filesystem image using the Yocto Project

• Downloading the Poky reference build system

• Building a system image

➢ Using Yocto Project – basics

• Organization of the build output

• Flashing and installing the system image

➢ Using Yocto Project - advanced usage

• Configuring the build system

• Customizing the package selection

➢ Questions and Answers/Exercise

Agenda --- Day two

➢Writing recipes – basics

• Writing a minimal recipe

• Adding dependencies

• Development workflow with bitbake

➢ Writing recipes - advanced features

• Extending and overriding recipes

• Adding steps to the build process

• Learn about classes

• Analysis of examples

• Logging

• Debugging dependencies

➢ Learning how to configure packages

• Extending a recipe to add configuration files

• Using ROOTFS_POSTPROCESS_COMMAND to modify the final rootfs

• Studying package dependencies

➢ Layers

• What layers are

• Where to find layers

• Creating a layer

➢ Questions and Answers/Exercise

Agenda --- Day three

➢ Writing a BSP

• Extending an existing BSP

• Adding a new machine

• Bootloaders

• Linux and the linux-yocto recipe

• Adding a custom image type

➢ Creating a custom image

• Writing an image recipe

• Adding users/groups

• Adding custom configuration

• Writing and using package groups recipes

➢ Creating and using an SDK

• Understanding the purpose of an SDK for the

• application developer

• Building an SDK for the custom image

➢ X86虚拟机qemux86

• build

➢ Yocto Useful links

➢ Questions and Answers/Exercise

Agenda --- Day four

➢Practical orientation