Linux Device Driver Development Cookbook
Download Linux Device Driver Development Cookbook PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Linux Device Driver Development Cookbook book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.
Linux Device Driver Development Cookbook
Author: Rodolfo Giometti
language: en
Publisher: Packt Publishing Ltd
Release Date: 2019-05-31
Over 30 recipes to develop custom drivers for your embedded Linux applications Key Features Use kernel facilities to develop powerful drivers Learn core concepts for developing device drivers using a practical approach Program a custom character device to get access to kernel internals Book DescriptionLinux is a unified kernel that is widely used to develop embedded systems. As Linux has turned out to be one of the most popular operating systems worldwide, the interest in developing proprietary device drivers has also increased. Device drivers play a critical role in how the system performs and ensure that the device works in the manner intended. By exploring several examples on the development of character devices, the technique of managing a device tree, and how to use other kernel internals, such as interrupts, kernel timers, and wait queue, you’ll be able to add proper management for custom peripherals to your embedded system. You’ll begin by installing the Linux kernel and then configuring it. Once you have installed the system, you will learn to use different kernel features and character drivers. You will also cover interrupts in-depth and understand how you can manage them. Later, you will explore the kernel internals required for developing applications. As you approach the concluding chapters, you will learn to implement advanced character drivers and also discover how to write important Linux device drivers. By the end of this book, you will be equipped with the skills you need to write a custom character driver and kernel code according to your requirements.What you will learn 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 Understand how to implement character drivers to manage different kinds of computer peripherals Get well-versed with kernel helper functions and objects that can be used to build kernel applications Gain comprehensive insights into managing custom hardware with Linux from both the kernel and user space Who this book is for This book is for anyone who wants to develop their own Linux device drivers for embedded systems. Basic hands-on experience with the Linux operating system and embedded concepts is necessary.
Embedded Linux Development Using Yocto Project Cookbook
Author: Alex González
language: en
Publisher: Packt Publishing Ltd
Release Date: 2018-01-25
Over 79 hands-on recipes for professional embedded Linux developers to optimize and boost their Yocto Project know-how Key Features Optimize your Yocto setup to speed up development and debug build issues Use what is quickly becoming the standard embedded Linux product builder framework—the Yocto Project Recipe-based implementation of best practices to optimize your Linux system Book DescriptionThe Yocto Project has become the de facto distribution build framework for reliable and robust embedded systems with a reduced time to market.You'll get started by working on a build system where you set up Yocto, create a build directory, and learn how to debug it. Then, you'll explore everything about the BSP layer, from creating a custom layer to debugging device tree issues. In addition to this, you’ll learn how to add a new software layer, packages, data, scripts, and configuration files to your system. You will then cover topics based on application development, such as using the Software Development Kit and how to use the Yocto project in various development environments. Toward the end, you will learn how to debug, trace, and profile a running system. This second edition has been updated to include new content based on the latest Yocto release.What you will learn Optimize your Yocto Project setup to speed up development and debug build issues Use Docker containers to build Yocto Project-based systems Take advantage of the user-friendly Toaster web interface to the Yocto Project build system Build and debug the Linux kernel and its device trees Customize your root filesystem with already-supported and new Yocto packages Optimize your production systems by reducing the size of both the Linux kernel and root filesystems Explore the mechanisms to increase the root filesystem security Understand the open source licensing requirements and how to comply with them when cohabiting with proprietary programs Create recipes, and build and run applications in C, C++, Python, Node.js, and Java Who this book is for If you are an embedded Linux developer with the basic knowledge of Yocto Project, this book is an ideal way to broaden your knowledge with recipes for embedded development.