As an Amazon Associate I earn from qualifying purchases

Linux Device Driver Development: Everything you Need to Know

Add your review

$31.72


Price: $31.72
(as of May 21,2023 16:35:49 UTC – Details)


Linux is the most commonly used kernel in embedded systems, and it supports almost all application fields in the industrial world. If you are an embedded developer, this updated second edition of Linux Device Driver Development is for you. It offers a comprehensive introduction to the Linux kernel world and the different subsystems that it is made of.

The book covers each of the most-used subsystems in the embedded domains such as GPIO, direct memory access, interrupt management, and I2C/SPI device drivers. It shows how Linux abstracts a device from a hardware point of view and how a device is bound to its driver(s). The book also covers interrupt processing mechanisms in-depth, describing every kernel structure and API involved.

This book is filled with real-world examples that will help you learn how to configure, tailor, and build the Linux kernel. It will show you how to write feature-rich and customized Linux device drivers for any character, SPI, and I2C device. You’ll gain practical experience in the embedded side of Linux using GPIO, IIO, and input subsystems. This new edition also covers how not to write device drivers using user space libraries for GPIO clients, I2C, and SPI drivers.

By the end of this book, you’ll be able to write device drivers for most of the embedded devices out there. You’ll also have a deep understanding of locking primitives, IRQ management, memory management, DMA, and so on.

Key Features

  • Write feature-rich and customized Linux device drivers for any character, SPI, and I2C device
  • Develop a deep understanding of locking primitives, IRQ management, memory management, DMA, and so on
  • Gain practical experience in the embedded side of Linux using GPIO, IIO, and input subsystems

What You Will Learn

  • Download, configure, build, and tailor the Linux kernel
  • Describe the hardware using a device tree
  • Write feature-rich platform drivers and leverage I2C and SPI buses
  • Get the most out of the new concurrency managed workqueue infrastructure
  • Understand the Linux kernel timekeeping mechanism and use time-related APIs
  • Use the regmap framework to factor the code and make it generic
  • Offload CPU for memory copies using DMA
  • Interact with the real world using GPIO, IIO, and input subsystems

Who This Book Is For

This Linux OS book is for embedded system and embedded Linux enthusiasts/developers who want to get started with Linux kernel development and leverage its subsystems. Electronic hackers and hobbyists interested in Linux kernel development, as well as anyone looking to interact with the platform using GPIO, IIO, and input subsystems, will also find this book useful.

Table of Contents

  • Introduction to Kernel Development
  • Understanding Linux Kernel Module Basic Concepts
  • Dealing with Kernel Core Helpers
  • Writing Character Device Drivers
  • Understanding and Leveraging the Device Tree
  • Introduction to Devices, Drivers, and Platform Abstraction
  • Understanding the Concept of Platform Devices and Drivers
  • Writing I2C Device Drivers
  • Writing SPI Device Drivers
  • Understanding the Linux Kernel Memory Allocation
  • Implementing Direct Memory Access (DMA) Support
  • Abstracting Memory Access – Introduction to the Regmap API: a Register Map Abstraction
  • Demystifying the Kernel IRQ Framework
  • Introduction to the Linux Device Model
  • Digging into the IIO Framework
  • Getting the Most Out of the Pin Controller and GPIO Subsystems
  • Leveraging the Linux Kernel Input Subsystem

Publisher ‏:‎ Packt Publishing; 2nd ed. edition (April 21, 2022)
Language ‏:‎ English
Paperback ‏:‎ 708 pages
ISBN-10 ‏:‎ 1803240067
ISBN-13 ‏:‎ 978-1803240060
Item Weight ‏:‎ 2.64 pounds
Dimensions ‏:‎ 7.5 x 1.6 x 9.25 inches

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Linux Device Driver Development: Everything you Need to Know”

Your email address will not be published. Required fields are marked *

$31.72

Add to wishlistAdded to wishlistRemoved from wishlist 0
Top offers
Linux Device Driver Development: Everything you Need to Know
Linux Device Driver Development: Everything you Need to Know
epiui
Logo
Enable registration in settings - general