Linux Device Driver Development Cookbook : Develop Custom Drivers for Your Embedded Linux Applications.
Device drivers play a critical role in how the system performs and ensures that the device works in the intended way. With a recipe based approach this book gives you practical recipes on character drivers and related kernel internals. It shows you how to start writing Linux device drivers and tools...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing, Limited,
2019.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Installing the Development System; Technical requirements; Setting up the host machine; Getting ready; How to do it ... ; See also; Working with the serial console; Getting ready; How to do it ... ; See also; Configuring and building the kernel; Getting ready; How to do it ... ; See also; Setting up the target machine; Getting ready; How to do it ... ; Adding Debian files; Adding the kernel; Setting up the booting variables; Setting up the networking; See also
- Doing native compiling on foreign hardwareGetting ready; How to do it ... ; Installing and configuring schroot; Configuring the emulated OS; See also; Chapter 2: A Peek Inside the Kernel; Technical requirements; Adding custom code to the sources; Getting ready; How to do it ... ; How it works ... ; See also; Using kernel messages; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Filtering kernel messages; See also; Working with kernel modules; Getting ready; How to do it ... ; How it works ... ; See also; Using module parameters; Getting ready; How to do it ... ; How it works ...
- See alsoChapter 3: Working with Char Drivers; Technical requirements; Creating the simplest char driver; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Exchanging data with a char driver; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Using the "Everything Is a File" abstraction; Getting ready; How to do it ... ; How it works ... ; Chapter 4: Using the Device Tree; Technical requirements; Using the device tree compiler and utilities; Getting ready; How to do it ... ; How it works ... ; There's more ...
- Reverting a binary device tree into its sourceSee also; Getting application-specific data from a device tree; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Using a device tree to describe a character driver; Getting ready; How to do it ... ; How it works ... ; There's more ... ; How device files are created in /dev; Downloading the firmware; Getting ready; How to do it ... ; How it works ... ; There's more; See also; Configuring CPU pins for specific peripherals; How to do it ... ; How it works ... ; See also; Chapter 5: Managing Interrupts and Concurrency
- Technical requirementsImplementing an interrupt handler; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Deferring work; Getting ready; How to do it ... ; Tasklets; Workqueues; There's more ... ; Tasklets; Workqueues; See also; Managing time with kernel timers; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Legacy kernel timers; See also; Waiting for an event; Getting ready; How to do it ... ; Waitqueues; Completions; How it works ... ; Waitqueues; Completions; There's more ... ; Waitqueues; Completions; See also; Performing atomic operations