Course Overview
This course is designed to show experienced programmers how to develop device drivers for embedded Linux systems, and give them a basic understanding and familiarity with the Linux kernel.
Who should attend
This course is for developers interested in learning how to write device drivers for embedded Linux.
Prerequisites
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 Linux Kernel Internals and Development (LFD420).
Course Content
- 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