Linux Device Driver Development (Paperback)

John Madieu

買這商品的人也買了...

商品描述

Key Features

  • Learn to develop customized Linux device drivers
  • Learn core concepts of device drivers such as memory management, kernel caching and so on.
  • Practical experience on embedded side of Linux

Book Description

Linux kernel is a complex, portable, modular and widely used piece of software, running on around 80% of servers and embedded systems in more than half of the devices throughout the world. Device drivers play a critical role in the context of how well a Linux system performs. As Linux has turned out to be one of the most popular operating systems used, the interest in developing your own device drivers is also increasing steadily.

This book will initially cover a chapter which will help you understand the basics of driver development and help you get started with device drivers and its development environment. This book will cover modules based on various Linux subsystems such as memory management, RTC, IIO, Clock Framework and so on. The book will also cover practical approach on Direct memory access, Kernel memory management, and kernel caching systems as well.

By the end of this book, you will be comfortable with the concept of device driver development and will be in a position to write any device driver from scratch using the latest kernel version

What you will learn

  • Use kernel facilities to develop powerful drivers
  • Develop drivers for widely used I2C and SPI buses and use regmap API
  • Write and support devicetree from within your drivers
  • Program advanced drivers for network and frame buffer devices
  • Enhance your skills with Clock and PWM frameworks
  • Develop measurement system drivers with IIO framework
  • Get the best from memory management and DMA subsystem
  • Access and manage GPIO subsystem and develop GPIO controller drivers

商品描述(中文翻譯)

主要特點


  • 學習開發自定義的Linux設備驅動程式

  • 學習設備驅動程式的核心概念,如記憶體管理、核心快取等

  • 在嵌入式Linux方面獲得實際經驗

書籍描述

Linux內核是一個複雜、可移植、模塊化且廣泛使用的軟體,運行在全球超過一半的設備中的大約80%的伺服器和嵌入式系統上。設備驅動程式在Linux系統的性能表現方面起著關鍵作用。隨著Linux成為最受歡迎的操作系統之一,對於開發自己的設備驅動程式的興趣也在穩步增加。

本書首先將介紹一個章節,幫助您了解驅動程式開發的基礎知識,並幫助您開始使用設備驅動程式及其開發環境。本書將涵蓋基於各種Linux子系統的模塊,如記憶體管理、RTC、IIO、時鐘框架等。本書還將介紹直接存取記憶體、核心記憶體管理和核心快取系統的實際方法。

通過閱讀本書,您將對設備驅動程式開發的概念感到舒適,並能夠使用最新的內核版本從頭開始編寫任何設備驅動程式。

您將學到什麼


  • 使用內核設施開發強大的驅動程式

  • 為廣泛使用的I2C和SPI匯流排開發驅動程式並使用regmap API

  • 在驅動程式內部編寫和支援devicetree

  • 為網絡和幀緩衝器設備編寫高級驅動程式

  • 通過時鐘和PWM框架提升您的技能

  • 使用IIO框架開發測量系統驅動程式

  • 充分利用記憶體管理和DMA子系統

  • 存取和管理GPIO子系統並開發GPIO控制器驅動程式