andrecurvello / Linux-Device-Driver-Development-Cookbook

Linux Device Driver Development Cookbook, published by Packt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


For a limited period, all eBooks and Videos are only $10. All the practical content you need - by developers, for developers

Linux Device Driver Development Cookbook

Linux Device Driver Development Cookbook

This is the code repository for Linux Device Driver Development Cookbook, published by Packt.

Develop custom drivers for your embedded Linux applications

What is this book about?

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 to understand, debug or modify them.

This book covers the following exciting features:

  • Become familiar with the latest kernel releases (4.19+/5.x) running on the ESPRESSObin devkit, an ARM 64-bit machine
  • Download, configure, modify, and build kernel sources
  • Add and remove a device driver or a module from the kernel
  • Master kernel programming
  • Understand how to implement character drivers to manage different kinds of computer peripheral
  • Become well versed with kernel helper functions and objects that can be used to build kernel applications
  • Acquire a knowledge of in-depth concepts to manage custom hardware with Linux from both the kernel and user space

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

[ 3.421397] mvneta d0030000.ethernet eth0: Using random mac address 3e:a1:6b:
f5:c3:2f

Following is what you need for this book: This book will help anyone who wants to develop their own Linux device drivers for embedded systems. Having basic hand-on with Linux operating system and embedded concepts is necessary.

With the following software and hardware list you can run all code files present in the book (Chapter 1-9).

Software and Hardware List

Chapter Software required OS required
1-7 Text editor such as vi , emacs, or nano Ubuntu 18.04.1 LTS Linux, Windows, macOS

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

  • Mastering Embedded Linux Programming - Second Edition [Packt] [Amazon]

  • Embedded Linux Development Using Yocto Project Cookbook - Second Edition [Packt] [Amazon]

Get to Know the Author

Rodolfo Giometti is an engineer, IT specialist, GNU/Linux expert and software libre evangelist. He is the author of the books BeagleBone Essentials, BeagleBone Home Automation Blueprints and GNU/Linux Rapid Embedded Programming by Packt Publishing and maintainer of the LinuxPPS projects. He still actively contributes to the Linux source code with several patches and new device drivers for industrial applications devices.

During his 20+ years of experience, he has worked on the x86, ARM, MIPS, and PowerPC-based platforms.

Now, he is the co-chief at HCE Engineering S.r.l., where he designs new hardware and software systems for the quick prototyping in industry environment, control automation, and remote monitoring.

Other book by the author

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Linux Device Driver Development Cookbook, published by Packt

License:GNU General Public License v2.0


Languages

Language:C 91.4%Language:Makefile 8.6%