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.
Developing Embedded Linux Device Drivers 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.
Click “Show More” to see the course outline.
- 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
- Unified Device Model and sysfs
- Sleeping and Wait Queues
- Interrupt Handling: Deferrable Functions and User Drivers
- Direct Memory Access (DMA)
- Memory Technology Devices
- USB Drivers
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.
At a Glance
- 32 hours of Instructor-led class time
- Hands-on Labs & Assignments
- Resources & Course Manual
- Certificate of Completion
- Free Chromebook