Linux设备驱动程序开发:从Linux内核设备驱动程序开发开始,您需要的一切,第二版

Linux设备驱动程序开发:从Linux内核设备驱动程序开发开始,您需要的一切,第二版

Linux设备驱动程序开发:从Linux内核设备驱动程序开发开始,您需要的一切,第二版
了解驱动程序开发中最重要的概念,关注常见的嵌入式系统需求,如内存管理、中断管理和锁定机制
主要特征
为任何字符、SPI和I2C设备编写功能丰富的定制Linux设备驱动程序
深入理解锁定原语、IRQ管理、内存管理、DMA等
获得使用GPIO、IIO和输入子系统在Linux嵌入式方面的实践经验
书名
到目前为止,Linux是嵌入式系统中使用最多的内核。由于它的子系统,Linux内核支持工业世界中几乎所有的应用领域。这次更新的Linux设备驱动程序开发第二版全面介绍了Linux内核世界和它所包含的不同子系统,对任何学科的嵌入式开发人员都很有用。
您将学习如何配置、定制和构建Linux内核。书中充满了真实世界的例子,涵盖了嵌入式领域中最常用的每个子系统,如GPIO、直接内存访问、中断管理和I2C/SPI设备驱动程序。本书将向您展示Linux如何从硬件的角度抽象每个设备,以及设备如何绑定到其驱动程序。您还将看到中断是如何在系统中传播的,因为本书深入介绍了中断处理机制,并描述了涉及的每个内核结构和API。这个新版本还介绍了如何不使用GPIO客户端、I2C和SPI驱动程序的用户空间库编写设备驱动程序。
在这本Linux书的末尾,您将能够为大多数嵌入式设备编写设备驱动程序。
你将学到什么
下载、配置、构建和定制Linux内核
使用设备树描述硬件
编写功能丰富的平台驱动程序并利用I2C和SPI总线
充分利用新的并发管理工作队列基础结构
了解Linux内核计时机制并使用与时间相关的API
使用regmap框架对代码进行分解,使其具有通用性
使用DMA卸载内存拷贝的CPU
使用GPIO、IIO和输入子系统与现实世界交互
这本书是给谁的
这本Linux操作系统的书是为嵌入式系统和嵌入式Linux爱好者/开发人员准备的,他们希望开始Linux内核开发并利用其子系统。对Linux内核开发感兴趣的电子黑客和爱好者,以及任何希望使用GPIO、IIO和输入子系统与平台交互的人,也会发现这本书很有用。
Linux Device Driver Development: Everything you need to start with device driver development for Linux kernel, 2nd Edition
Get up to speed with the most important concepts in driver development and focus on common embedded system requirements such as memory management, interrupt management, and locking mechanisms
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
Book Description
Linux is by far the most-used kernel on embedded systems. Thanks to its subsystems, the Linux kernel supports almost all of the application fields in the industrial world. This updated second edition of Linux Device Driver Development is a comprehensive introduction to the Linux kernel world and the different subsystems that it is made of, and will be useful for embedded developers from any discipline.
You’ll learn how to configure, tailor, and build the Linux kernel. Filled with real-world examples, 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. This book will show you how Linux abstracts each device from a hardware point of view and how a device is bound to its driver(s). You’ll also see how interrupts are propagated in the system as the book covers the interrupt processing mechanisms in-depth and describes every kernel structure and API involved. This new edition also addresses how not to write device drivers using user space libraries for GPIO clients, I2C, and SPI drivers.
By the end of this Linux book, you’ll be able to write device drivers for most of the embedded devices out there.
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.

评论可见隐藏内容
此处内容评论后可见

温馨提示:此处为隐藏内容,需要评论或回复留言后可见

评论/回复

OR

付费隐藏内容
此处内容需要权限查看

该内容查看价格:¥5 / VIP会员免费

登录后购买 开通VIP免费查看
分享到 :
相关推荐

发表回复

登录... 后才能评论