Working with Yocto
Duration
20
hours
Location
Online
Language
English
Code
AUT-027
Training for 7-8 or more people?
Customize trainings
for your specific needs
Description
Yocto is an open-source project which allows for the creation of Linux-based Board Support Packages. Its introduction to Automotive Grade Linux has brought it more attention in the Automotive sector. This training gives you a solid understanding of the build system.You’ll be able to understand the workflow of the Yocto build system and the open source meta layers structure. We will show you how to create and maintain custom distributions and create and distribute software development kits to jumpstart developers.
In addition the course shows you how to troubleshoot build errors and make feasible fixes (which can be contributed upstream) as well as set up NTFS & TFTP boots to encourage reduced boot and deployment times. Not only this but participants will be able to work with Yocto tools such as BitBake, DevTool and understand how Linux kernel development works in a Yocto environment.
After completing the course, a certificate
is issued on the Luxoft Training form
is issued on the Luxoft Training form
Objectives
- Understand the workflow of the Yocto build system
- Learn how to add/modify/remove features from Board Support Packages
Target Audience
- Developers and integrators
Prerequisites
- Must have sufficient experience with Linux
- Familiar with integrating and building software components
Roadmap
Introduction to Yocto
First Build
FileStructure
Adding First Layer
Adding First Recipe
The BitBake Tool
Bitbake Package Management
Software Development Kit
New BSP
Troubleshooting
- Linux Foundation
- Yocto
- Opensource support
- Contributions workflow
First Build
- BSP Components
- Environment setup
- Trigger first build
- Launch Qemu
FileStructure
- MetaData outside build
- Layers Directory
- Recipe files
- Configuration files
- Class files
- MetaData inside build
- Configuration Directory
- Work Directory
- Deploy Directory
- Sysroot Directory
Adding First Layer
- Finding new layers
- Layer confiugration file
- Searching for a specific layer
- Adding an existing layer
- Yocto tools to create new layer
- Adding new layer into build system
Adding First Recipe
- Sample Recipes
- What Variables are necessary for a recipe
- First Recipe
- Building your first recipe
- Having a look at recipe artifacts
The BitBake Tool
- The global datastore
- Conditional variable assignment
- Functions and tasks
Bitbake Package Management
- Bitbake supported packages
- Creating an FTP server for packages
- Installing packages from FTP Server into Qemu
- License Management
Software Development Kit
- What is an SDK?
- Classical Software Development Ki
- Extended Software Development Kit
- Devtool
- Devtool Workflow
New BSP
- Creating a new BSP layer
- Patching existing kernel/U-boot code
- Linux-yocto compatible kernels
- Kernel machine and device tree setup
- NTFS and TFTP boot
Troubleshooting
- log files
- Generating error messages
- Automatic testing