Linux Driver Development for Embedded Processors : Learn to develop Linux embedded drivers with kernel 4.9 LTS, 2/e (Paperback)

Alberto Liberal de los Ríos

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

商品描述

LINUX DRIVER DEVELOPMENT FOR EMBEDDED PROCESSORS - SECOND EDITION - The flexibility of Linux embedded, the availability of powerful, energy efficient processors designed for embedded computing and the low cost of new processors are encouraging many industrial companies to come up with new developments based on embedded processors. Current engineers have in their hands powerful tools for developing applications previously unimagined, but they need to understand the countless features that Linux offers today. This book will teach you how to develop device drivers for Device Tree Linux embedded systems. You will learn how to write different types of Linux drivers, as well as the appropriate APIs (Application Program Interfaces) and methods to interface with kernel and user spaces. This is a book is meant to be practical, but also provides an important theoretical base. More than twenty drivers are written and ported to three different processors. You can choose between NXP i.MX7D, Microchip SAMA5D2 and Broadcom BCM2837 processors to develop and test the drivers, whose implementation is described in detail in the practical lab sections of the book. Before you start reading, I encourage you to acquire any of these processor boards whenever you have access to some GPIOs, and at least one SPI and I2C controllers. One of the boards used to implement the drivers is the famous Raspberry PI 3 Model B board. You will learn how to develop drivers, from the simplest ones that do not interact with any external hardware, to drivers that manage different kind of devices: accelerometers, DACs, ADCs, RGB LEDs, Multi-Display LED controllers, I/O expanders, and Buttons. You will also develop DMA drivers, drivers that manage interrupts, and drivers that write/read on the internal registers of the processor to control external devices. To easy the development of some of these drivers, you will use different types of Frameworks: Miscellaneous framework, LED framework, UIO framework, Input framework and the IIO industrial one. This second edition has been updated to the v4.9 LTS kernel.

商品描述(中文翻譯)

LINUX DRIVER DEVELOPMENT FOR EMBEDDED PROCESSORS - SECOND EDITION - Linux嵌入式驅動程式開發 - 第二版 - Linux嵌入式的靈活性、專為嵌入式運算而設計的強大且節能的處理器的可用性,以及新處理器的低成本,鼓勵許多工業公司基於嵌入式處理器進行新的開發。現今的工程師手中擁有強大的工具,可以開發以前無法想像的應用程式,但他們需要了解Linux今天提供的無數功能。本書將教您如何為Device Tree Linux嵌入式系統開發設備驅動程式。您將學習如何編寫不同類型的Linux驅動程式,以及與內核和使用者空間進行接口的適當API(應用程式介面)和方法。本書旨在實用,同時提供重要的理論基礎。超過二十個驅動程式被編寫並移植到三種不同的處理器上。您可以選擇NXP i.MX7D、Microchip SAMA5D2和Broadcom BCM2837處理器之一來開發和測試驅動程式,其實現細節在本書的實驗室部分中詳細描述。在開始閱讀之前,我鼓勵您在有GPIO(通用輸入/輸出)的情況下購買這些處理器板之一,並至少擁有一個SPI和一個I2C控制器。其中一個用於實現驅動程式的板子是著名的Raspberry PI 3 Model B板。您將學習如何開發驅動程式,從不與任何外部硬體互動的最簡單的驅動程式,到管理不同類型設備的驅動程式:加速度計、DAC(數模轉換器)、ADC(模數轉換器)、RGB LED、多顯示LED控制器、I/O擴展器和按鈕。您還將開發DMA驅動程式、管理中斷的驅動程式,以及寫入/讀取處理器的內部寄存器以控制外部設備的驅動程式。為了簡化某些驅動程式的開發,您將使用不同類型的框架:Miscellaneous framework、LED framework、UIO framework、Input framework和IIO industrial framework。本第二版已更新至v4.9 LTS內核。