This course is designed to show experienced programmers how to develop device drivers for Linux systems, and give them a basic understanding and familiarity with the Linux kernel.
Upon mastering this material, you will be familiar with the different kinds of device drivers used under Linux, and have an introduction to many of the appropriate APIs to be used when writing a device driver. The labs for illustrating these concepts will all be performed on ARM hardware in order to get developers familiar with cross-compiling and developing drivers for an embedded target. The included development kit (yours to keep) will be used to illustrate testing kernel drivers using TFTP and NFSroot techniques.
While we will discuss kernel internals and algorithms we will examine deeply only the functions which are normally used in device drivers. More details on things such as scheduling, memory management, etc., belong more properly in a different, kernel-focused course.
Voraussetzungen
Knowledge of basic kernel interfaces and methods such as how to write, compile, load and unload modules, use synchronization primitives, and the basics of memory allocation and management, such as is provided by LFD420 Kernel Internals and Development. Pre-class preparation material will be provided before class.
Inhalt
- Introduction
- Preliminaries
- Cross-Development Toolchain
- Basic Target Development Board Setup
- Booting a Target Development Board over Ethernet
- Kernel Configuration, Compilation, Booting
- Device Drivers
- Modules and Device Drivers
- Memory Management and Allocation
- Character Devices
- Kernel Features
- Transferring Between User and Kernel Space
- Platform Drivers
- Device Trees
- Interrupts and Exceptions
- Timing Measurements
- Kernel Timers
- ioctls
- Unified Device Model and sysfs
- Firmware
- Sleeping and Wait Queues
- Interrupt Handling: Deferrable Functions and User Drivers
- Direct Memory Access (DMA)
- Memory Technology Devices
- USB Drivers
** These sections may be considered in part or in whole as optional. They contain either background reference material, specialized topics, or advanced subjects. The instructor may choose to cover or not cover them depending on classroom experience and time constraints.
Kurszeiten
Wer möchte, reist bis 22 Uhr am Vortag an und nutzt den Abend bereits zum Fachsimpeln am Kamin oder im Park.
An Kurstagen gibt es bei uns ab 8 Uhr Frühstück.
Unsere Kurse beginnen um 9 Uhr und enden um 18 Uhr. Dieser Kurs endet am letzten Tag um 16:00 Uhr.
Neben den kleinen Pausen gibt es eine Stunde Mittagspause mit leckerem, frisch in unserer Küche zubereitetem Essen.
Nach der Schulung anschließend Abendessen und Angebote für Fachsimpeln, Ausflüge uvm. Wir schaffen eine Atmosphäre, in der Fachleute sich ungezwungen austauschen. Wer das nicht will, wird zu nichts gezwungen und findet auch jederzeit Ruhe.