Training: Yocto Project & Embedded Linux

TRAININGS

Reliable Embedded Systems provides trainings to help you create better embedded software!

title-1

Embedded Linux - From
Systems Architecture to Real-Time:

Our in-depth introduction to Embedded GNU/Linux.

Read more
title-1

Embedded GNU/Linux Kernel Internals and Device Drivers:
We describe processes, concepts and commands necessary to write GNU/Linux device drivers.

Read more
title-1

The Yocto Project - An Overview:
After the training you should have a much better overview about the Yocto Project and be able to decide whether you need it or not.

Read more
title-1

Introduction to Embedded Linux and the Yocto Project:
A quick introduction to Embedded Linux (2 days), essentials to utilize the Yocto Project (3 days).

Read more
title-1

Introduction to Embedded Linux in Theory and Practice - a Crash Course:
The aim of this crash course is to provide a basic overview of embedded GNU/Linux.

Read more
title-1

(Embedded) Linux Debugging:
We'll give you a basic overview of debugging/tracing/profiling facillitites available with (embedded) GNU/Linux kernel/user-space.

Read more
title-1

Embedded Linux Hardware Interfacing:
Is it really that hard to use digital I/O, Analog I/O(pwm), Sensors/Actors, IoT and friends with Linux?

Coming soon
title-1

FreeRTOS in Theory and Practice:
Take home a working knowledge of FreeRTOS and the ability to use it effectively in your own embedded development project.

Read more
title-1

The Zephyr Project - An Overview:
Take home a working knowledge of the Zephyr Project and the ability to use it effectively in your own embedded development project.

Coming soon
title-1

FlexNgage + Training:
Add trainings as you like to the various steps of your development process.

Read more
title-1

Custom Training:
Ask for a custom training e.g. by combining stuff from various trainings or something totally new.

Read more
title-1

3rd Party Training Material:
We customize/deliver your Embedded Linux training material in English/German.

Read more

Public Events

FreeRTOS in Theory and Practice

details in: en
private/remote, 3-day training class

title-1
03 Aug 2021
virtual/remote, in German, Timezone: UTC+2,
GUARANTEED TO RUN

Refresher to Embedded Linux & Intro to the Yocto Project

details in: en
public, 5-day training class

title-1
23 Aug 2021
virtual/remote, in English, Timezone: UTC+2,
GUARANTEED TO RUN

Introduction to Embedded Linux & Real-Time, bird’s eye view of the Yocto Project

details in: en
public or private/remote, 4-day training class
book until: 20 Aug 2021
title-1
30 Aug 2021
virtual/remote, in German/English (TBD), Timezone: UTC+2 (TBD), guaranteed to run from 3 subscribers

The Yocto Project - A thorough Overview

details in: en
public or private/remote, 4-day training class
book until: 03 Sep 2021
title-1
14 Sep 2021
virtual/remote, in German/English (TBD), Timezone: UTC+2 (TBD), guaranteed to run from 3 subscribers

Refresher to Embedded Linux & Intro to the Yocto Project

details in: en
public or private/remote, 5-day training class
book until: 27 Aug 2021
title-1
20 Sep 2021
virtual/remote, in German/English (TBD), Timezone: UTC+2 (TBD), guaranteed to run from 3 subscribers

ELC (virtual) 2021

Meet us at the
Embedded Linux Conference 2021

details: en
title-1
28 Sep 2021
Dublin, Ireland/virtual, in English, Timezone: UTC+1

FlexNgage + Training

you can add trainings as you like to the various steps of your development process

More Detail

Products & Services

We provide flexible engagement models to enable you to leverage exactly the capabilities you need. Although our expertise lies in the domains of Embedded Systems Software (Training) the options we can offer range from consulting to full turnkey engagements. We can bring you in touch with our worldwide network of experts. They either handle everything for you or just parts of your system. This enables you and Reliable Embedded Systems to focus on their core competencies.

  • our experts can help guide you
  • we can work with you
  • we can do it for you

First in time, first in line!

Please check for available days and/or just ask.

Available days

title-1

Description

This 5-day training class uses hands-on exercises combined with instruction to illustrate the concepts of GNU/Linux kernel internals and device driver development. It is desinged to bring you quickly up to speed. We describe processes, concepts and commands necessary to write GNU/Linux device drivers through a combination of theory and on-the-job training. Don’t reinvent the wheel, but learn from an experienced trainer and take home a working knowledge and the ability to use it effectively in your own embedded development project.

Prerequisites

  • Basic familiarity with using a GNU/Linux system as an end user
  • Basic familiarity with a command line shell
  • Basic knowledge of user space / application development
  • Intermediate C programming knowledge
  • Should have attended Embedded GNU/Linux Systems Architecture before (strongly recommended!) and/or have a good understanding of the topics outlined there
 

See who else we've trained

 

Who should attend?

People with interest in or tasked with the development or evaluation of developing GNU/Linux device drivers like software engineers, field engineers, (project) managers, hardware engineers.

Course Outline

Introduction

  • quick history of GNU/Linux
  • licensing
  • kernel versioning
  • release cycle
  • kernel trees
  • mainline
  • kernel vs. user space
  • mechanism vs. policy
  • kernel driver alternatives
  • RTOS vs. Linux

Memory Management

  • Virtual memory vs. physical memory
  • memory allocation in kernel
  • pages
  • zones
  • API
  • slab

Kernel Patch

  • life cycle
  • git
  • kernel source
  • create patch
  • check patch
  • fix patch
  • ship patch
  • audited code

Kernel Modules

  • get kernel sources
  • configure/build/install
  • device drivers (statically linked, loaded at runtime)
  • init/exit
  • licensing
  • EXPORT SYMBOL GPL
  • out of tree makefile
  • module-init-tools
  • module in kernel tree
  • Kconfig
  • parameter passing
  • sparse

Char Drivers

  • architecture
  • user/kernel interface
  • I/O subsystem
  • VFS
  • sysfs (devices, bus, drivers, classes),
  • kobject/ktype/kset
  • linux kernel driver model
  • device files
  • char driver
    • initialization
    • registration
    • open, release
    • cdev, cdev add, cdev del,...
    • major/minor numbers
    • udev, udevmonitor, udevadm

Advanced Charachter Driver Operations

  • ioctl
  • unlocked ioctl
  • compat ioctl
  • user space API
  • kernel space API
  • process lifecycle
  • sleeping/blocking
  • sleeping/waking up
  • wait queue
  • thundering herd
  • poll/select

Kernel Debugging

  • bug
  • debugging
  • debugging the kernel
    • binary search with git
    • debug support from kernel
    • printk syslogd, klogd, loglevels, rate limit, debug levels, debug selective subsystems
    • debugging by querying debugfs
    • oops debugging, asserting oops
    • Magic SysRq Key
    • kgdb/kdb
    • JTAG

Tracing

  • gcov
  • lcov
  • oprofile
  • ftrace
    • nop tracer
    • function tracer
    • sched switch tracer
    • function graph tracer
    • dynamic tracer
  • trace-cmd/kernelshark
  • perf
  • LTTng

Interrupts

  • interrupts vs. polling
  • interrupt
  • program sections
  • reentrancy
  • events
  • interrupt handler
  • shared interrupt handler
  • interrupt flow
  • interrupt control

Deferring Work

  • top/bottom halves
  • softirqs
  • tasklets
  • work queues
  • threaded interrrupts

Concurrency

  • critical region/section
  • atomic
  • race condition
  • synchronization
  • locking
  • locking solutions
  • deadlock
  • contention
  • what to lock?
  • what can be used?
    • atomic operations
    • spin locks
    • reader-writer spin locks
    • semaphore
    • binary semaphore
    • mutex
    • reader-writer semaphore
    • completion variables
    • sequential locks
    • disable preemption
    • orderig and barriers

Time

  • HZ
  • Jiffies
  • big/small delays
  • kernel timers

Hardware I/O

  • I/O Ports
  • I/O Memory
  • How to deal with side effects accessing registers?

User-Kernel Communication

  • put(get)_user()
  • copy to(from)_user()
  • Kernel I/O
  • memory mapping
  • procfs
  • sysfs
  • debugfs
  • relayfs
  • netlink
  • ioctl

Portability

  • word size
  • opaque types
  • signed/unsigned char
  • data alignment
  • integral promotion
  • code reuse
  • endianess
  • system tick
  • page size
  • instruction ordering
  • SMP/preemption/high memory

Please fill in this form if you have further questions regarding this or any other training and do not hesitate to contact us if you have any further questions.

title-1

Course Objectives

The aim of this crash course is to provide a basic overview of embedded GNU/Linux. What are the components needed to build an embedded GNU/Linux system where to get them from and how to configure/build/install them? Where to get help from? What about licenses? Hands-on exercises provide you with the necessary practical experience to go ahead and configure/build an embedded GNU/Linux system with mainline components.

Description

This 3-day training class uses hands-on exercises combined with instruction to illustrate some basic concepts of Embedded GNU/Linux. Hands on sessions are performed with Yocto, on a Beagle-Bone Black Rev.C. The whole workshop is designed to bring you quickly up to speed. The concepts and commands necessary to make effective use of Embedded GNU/Linux are described through a combination of theory and on-the-job training. Don’t reinvent the wheel, but learn from an experienced trainer and take home a working knowledge of Embedded GNU/Linux and the ability to use it effectively in your own embedded development project.

Prerequisites

  • Basic knowledge of how to use Linux (Ubuntu)
  • Familiarity with embedded C concepts and programming
  • Ability to develop software using C syntax
  • Basic knowledge of embedded processor development boards
  • ... or no fear to learn the aboveand programming

Who should attend?

Project managers, software, hardware, development and systems engineers, technicians and those interested in technology who want to try to understand as quickly as possible how Embedded GNU/Linux works. You have to use GNU/Linux, or have the luxury to decide whether it makes sense to use it or not. You may already use Embedded GNU/Linux, but you are not quite sure if you do everything right. You currently use another operating system and want to find out whether Linux would maybe be more cost effective. . . .

Course Outline

Introduction

  • Introduction
  • History
  • Licensing
  • Standards
  • The Unix Philosophy

Embedded Specifics

  • What’s an Embedded System?
  • Embedded vs. Desktop Linux
  • Software Release
  • Build for your Target
  • Toolchains
  • C-libraries

Eval board

  • Eval Board
  • Booting GNU/Linux on a PC
  • Booting GNU/Linux on an Embedded System
  • Boot Sequence
  • SD card partitions

Stuff needed

  • Host
    • Toolkit
      • Install Yocto SDK
    • SD card
    • screen
    • minicom
    • tftp server
    • Root file systems
    • Nfs server
  • Target
    • U-Boot
      • Das U-Boot
      • Scripting
      • Fancy stuff
        • Spash Screen
        • U-Boot environment from Linux
        • Post mortem
        • Automatic SW update
        • How to contribute?
      • Get/Configure/Build/Install
      • Commands
    • Flat device tree
      • What is a flat device tree?
      • Device tree compiler
      • Examples/Documentation
    • Linux kernel
      • Get
      • Kbuild
      • Multi Platfrom Support
      • Configure/Build/Install
      • Get/configure/build install
      • What is uImage?
      • Build fdt
      • In-tree kernel modules

Customizations

  • Customizations
    • System hangs
    • pseudo tty
    • getty
    • runlevel
    • static ip
  • Init
    • Sys-V
    • Various
    • Systemd
  • Bootgraph
  • Bootchart

Kernel Modules

  • init/exit
  • Licensing
  • tainted module/kernel
  • EXPORT_SYMBOL
  • out of tree .ko
  • module-init-tools
  • put module in tree
  • loading/modprobe
  • parameter passing
  • access TCB

Device Drivers

  • Device Files
  • Device Types
  • Device Nodes major/minor
  • Kernel Driver Interface
  • Device Driver
    • Intro
    • Registration
    • Initialization
    • Open/Release
  • Miscellaneous Character Drivers

User Space Debugging

  • Simple tools
  • Advanced tools
  • What’s a debugger?
  • gdb
    • target gdb
    • gdb remote debugging

Kernel Debugging

  • kgdb/kdb + agent-proxy
  • JTAG

Profiling/Tracing

  • Profiling/Tracing tools
    • strace
    • system timers
    • gprof
    • gcov
    • ftrace/kernelshark
    • systemtap
    • oprofile
    • perf
    • LTTng
  • top an friends
    • top
    • latencytop
    • powertop
    • powerdebug
  • crash

Please fill in this form if you have further questions regarding this or any other training and do not hesitate to contact us if you have any further questions.

COURSE OBJECTIVES

To provide a practical knowledge and understanding of real-time kernel usage. What are the advantages? What are the trade-offs? Learn from an experienced trainer and take home a working knowledge of FreeRTOS and the ability to use it efectively in your own embedded development project.

Description

This 3-day training class uses hands-on exercises combined with instruction to illustrate the concepts of a real-time kernel. Examples using FreeRTOS form a series of practical coding exercises designed to bring you quickly up to speed. The concepts and commands necessary to make effective use of FreeRTOS are described through a combination of theory and ‘hands-on’ training. Learn from an experienced trainer and take home a working knowledge of FreeRTOS and the ability to use it effectively in your own embedded development project.

Prerequisites

  • Familiarity with embedded C concepts and programming
  • Ability to develop software using C syntax
  • Ability to use basic embedded compiler and debug tools
  • Basic knowledge of embedded processor development boards

Who should attend?

People with interest in or tasked with development of a resource constrained real-time system. For example - software engineers, field engineers, (project) managers.

Course Outline

  • Introduction

    • FreeRTOS overview, market position, the "free" in FreeRTOS, understanding the FreeRTOS license, software architecture, features.
    • LPCXpresso IDE download and installation, importing an example workspace.
  • Task Management

    • Tasks - Creation, states, priorities, the idle task, deletion.
    • Scheduling - Determinism, multitasking, endless loop, cyclic executives, issues with interrupts, non-preemptive, prioritized preemptive, rate monotonic, deadline, cooperative, hybrid.
  • Queue Management

    • Creation, sending, receiving
  • Interrupt Management

    • Deferred interrupt processing, interrupt handlers, interrupt safe functions, task with interrupt synchronization, efficient queue usage even from within an interrupt, interrupt nesting.
  • Resource Management

    • Mutual exclusion, critical sections, suspending/locking the scheduler, mutexes, priority inversion, priority inheritance, deadlock, gatekeeper tasks.
  • Memory Management

    • Resource constrained memory allocation schemes, determining the amount of free memory remaining.
  • Trouble Shooting

    • avoiding bugs and how to find those you did not avoid
  • FreeRTOS-MPU

    • User vs. privileged mode, access permissions, defining MPU regions, linker configuration, practical usage tips.
  • The FreeRTOS Download

    • Files and directories, demo apps, data types and coding style.

A customized version of this training like FreeRTOS on LPCXPresso 1769 is offered by FreeRTOS.

 

Please fill in this form if you have further questions regarding this or any other training and do not hesitate to contact us if you have any further questions.

COURSE OBJECTIVES

To provide an understanding of the essentials of a real-time operating system. What are the advantages? What are the trade offs? Hands-on exercises provide you with the necessary practical experience to go ahead and use a real-time operating system with your own embedded system after successfully completing this training.  

SHORT COURSE INFO


Duration:

Three days


Format:

Delivered over the phone or Skype with instructor screen sharing - http://www.yuuguu.com


Language:

English - trainer has fluent German (as a first language)


Dates:   

On Demand


Time:      

TBD


Location:

At your office


Materials:

Handouts (book)

LPC1769 LPCXPresso Board by Embedded Artists or FreeRTOS NXP LPC1769 LPCXpresso Education-Evaluation Kit

USB Cable

Examples and solutions


Recording:

We do not permit recording and/or reuse of our coyrighted material


Concerning the registration please note, that for on-line trainings we don’t need to fill up a class room in order to cover our expenses for the room and the trip. We just need your written confirmation for the training to happen. It’s given to you as a private session if no other students sign up. In case you want to train multiple members of your team you might also want to query for an on-site training. Ask for multi-enrollment discounts.

Description

This 3-day training class uses hands-on exercises combined with instruction to illustrate the concepts of a real-time operating system. FreeRTOS will be used as an example. It is designed to bring you quickly up to speed. The concepts and commands necessary to make effective use of FreeRTOS are described through a combination of theory and on-the-job training. Don’t reinvent the wheel, but learn from an experienced trainer and take home a working knowledge of FreeRTOS and the ability to use it effectively in your own embedded development project.

Prerequisites

  • Basic familiarity with using a Windows system as an end user
  • Familiarity with embedded C concepts and programming
  • Ability to develop software using C syntax
  • Ability to use embedded compiler and debug tools
  • Basic knowledge of embedded processor development boards

Who should attend?

People with interest in or tasked with development of a resource constrained real-time system like software engineers, field engineers, (project) managers,…

Course Outline

Introduction

  • FreeRTOS
    • overview, market position, ”free” in FreeRTOS, free software, open source, modified GPLv2, SW architecture, features, hard/firm/soft real-time, RTOS vs. Linux,…
  • LPCXpresso
    • download, install, import example workspace
  • Download FreeRTOS

Task Management

  • tasks
    • what is a task?
    • crude loop periodic delay, task parameter, priorities, starvation,…
    • creation, states, priorities, idle task, deletion,…
    • TaskDelay, taskDelayUntil, polling vs. event driven, idle hook,…
  • scheduling
    • determinism, multitasking, endless loop, cyclic executives, issues with interrupts, non-/preemptive, prioritized preemptive, rate monotonic, deadline, cooperative, hybrid

Queue Management

  • What is a queue?
  • creation, send, receive,…
  • blocking on read/write,…
  • With multiple tasks blocking who will run first?
  • Large sets of data and queues.
  • Indirect/Direct synchronous and asynchronous message passing.

Interrupt Management

  • What is Interrupt vs. Polling?
  • Hardware-, Software-interrupts.
  • What if two interrupts arrive at the same time?
  • What is reentrant code?
  • What is an event?
  • What kind of events do you know?
  • What is a Semaphore and what can it be used for?
  • What kind of Semaphores do you know?
  • Signal/Wait pattern, state diagram, event states of binary semaphore…
  • Counting semaphores
  • Queues and ISRs
  • deferred interrupt processing, interrupt handlers, XXXFromISR(), task with interrupt synchronization, efficient queue usage even from within an interrupt, interrupt nesting…

Resource Management

  • concurrency, concurrent read/writes
  • mutual exclusion, critical sections, suspending/locking the scheduler, mutexes, priority inversion, priority inheritance, deadlock, gate-keeper tasks, mutex vs. semaphore…

Memory Management

  • memory types, fragmentation, memory exhaustion, memory allocation patterns, dynamic memory allocation in kernel
  • memory allocation schemes,
    xPortGetFreeHeapSize(),…

Trouble Shooting

  • spelunking, project planning, firmware standard, code review, binutils,…
  • debugging by stopping - FreeRTOS Simulator - State viewer,…
  • printf-stdarg.c, stack overflow and how to detect it
  • heap overflow and how to detect it
  • task statistics, run time statistics
  • profiling, tracing
  • common sources of error

FreeRTOS-MPU

  • memory management
  • user vs. privileged mode, access permission, defining MPU regions, linker, practical usage tips
  • find out why a program failed

A customized version of this training is offered by FreeRTOS.

Remember, purchasing from FreeRTOS helps support the FreeRTOS project! 

Page 3 of 5