Course Outline

Course Outline

Introduction

  • History of Unix/Linux, licenses, standards, working with free software, finding help, exploration, the Unix philosophy for government

Embedded Specifics

  • Linux on the desktop compared to Linux in an embedded system, cross-/native toolchains, pre-built toolchains, build systems, C libraries,...

Eval Board

  • How does it boot?, Observing the boot process

Yocto Introduction

  • What is Yocto? Why use the YP? What is the YP?, Poky, BitBake, OE-Core, Metadata

The YP Autobuilder

  • What is the YP Autobuilder?, Docker container (pull, launch container)

The YP Workflow

  • Introduction
  • Workflow, OE architecture
  • Configuration (User, Metadata, Machine, Distribution Policy)
  • Sources
  • Build (Source fetching, Patching, Configure/Compile/Install, Pseudo, Examples of recipes, Output analysis/Packaging, Image Generation, SDK Generation)
  • Customizing Images (Introduction, local.conf, IMAGE_FEATURES, custom .bb files, custom packagegroups)

BitBake

  • History
  • Syntax
  • Debugging (debug level, find recipes/images/packagegroups, BitBake environment/tasks/logging, force build/specific task, cleansstate, invalidate stamp, devshell, dependency explorer, kill all BitBake instances, BitBake graphical wrapper)

Layers

  • Introduction, bitbake-layers tool, yocto-layer tool

BSP

  • Introduction, System Development Workflow, BSP Developer’s Guide (bsp-tool)

Kernel

  • Introduction, System Development Workflow, Kernel Development Manual (defconfig, defconfig + configuration fragment, in-tree kmod, out-of-tree kmod, fdt,…)

Application Development Toolkit

  • Introduction, Cross-Development Toolchain, Sysroot, ADT - Eclipse Yocto Plug-in, The QEMU Emulator, User Space Tools
  • Installing ADT & Toolchains
    • Using a Cross-Toolchain tarball (Introduction, Building/Installing the Cross-Toolchain tarball, Cross-Toolchain + Makefile/Autotools/Autotools lib + App, recipes)
    • Using the ADT Installer (Introduction, Web Server, Build image + ADT installer, Configure + run ADT installer, add ADT installer to webserver, ADT installer on host)

Eclipse

  • Introduction, Application Development Workflow
  • Working with Eclipse (rootfs features, kernel + fdt, rootfs, install JDK, install Eclipse, configure Eclipse, install Yocto Plugin, Configure the Yocto Plugin, Create Autotooled Project, Configuring the Cross-Toolchains, Build the Project)

Debugging

  • Introduction, gdb, gdb remote debugging, (gdb remote) Debugging with Eclipse, (remote) Run from Eclipse

Profiling/Tracing

  • Introduction, perf, gprof, gcov, strace, ftrace, systemtap, oprofile, LTTng + Eclipse (data visualization)

Package Management

  • Working with Packages, IPK, creating a package feed, installing a package with opkg on the target

Licensing

  • Introduction, Add custom license, Open Source License Compliance

Devtool

  • Introduction, devtool, real-world showcase meta-cfengine

Except where otherwise noted, content and this course outline are licensed under Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).

Requirements

Prerequisites

  • Basic familiarity with using a GNU/Linux system (e.g., Ubuntu) as an end user in user space, for government applications.
  • Basic familiarity with a command line shell.
  • Basic knowledge of user/kernel space programming with GNU/Linux.
  • Intermediate C programming knowledge.
  • It is strongly recommended that you have attended the Embedded GNU/Linux Systems Architecture (5 days) training, unless you are already familiar with the material covered in those sessions.
  • You must have practical experience with Embedded GNU/Linux, including the kernel, userspace, root file system, and tools, to effectively follow the Yocto training.
  • While not strictly required, it may be beneficial if you have attended the Embedded GNU/Linux Device Drivers and Kernel Internals (5 days) course. Alternatively, having knowledge of how to build the GNU/Linux kernel, in-tree and out-of-tree drivers, and the fdt from the kernel side will suffice for following the Yocto training.
 28 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories