Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Embedded Linux Essentials Handbook

You're reading from   Embedded Linux Essentials Handbook Build embedded Linux systems and real-world apps with Yocto, Buildroot, and RPi

Arrow left icon
Product type Paperback
Published in Jan 2026
Publisher Packt
ISBN-13 9781835469309
Length 450 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mohammed Billoo Mohammed Billoo
Author Profile Icon Mohammed Billoo
Mohammed Billoo
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface
1. Part I: Getting Started with Embedded Linux
2. Exploring Embedded Linux’s Architecture and Its Use Cases FREE CHAPTER 3. Learning About U-Boot 4. Navigating the Linux Kernel 5. Describing Hardware Using the Devicetree 6. Part II: Building an Embedded Linux Image
7. Exploring Frameworks to Build an Image 8. Building an Image Using the Yocto Project 9. Building an Image Using Buildroot 10. Part III: Developing Applications
11. Building, Debugging, and Launching Applications on Startup 12. Project 1: Using Python to Build a Web Server to Display Sensor Data 13. Project 2: Using Qt to Build a Scientific Instrument 14. Project 3: Using Qt to Build a Medical Device 15. Part IV: Advanced Topics, Implementing CI/CD, Best Practices, and Looking Ahead
16. Debugging the Linux Kernel 17. Securing Code Execution with eBPF 18. Rust in Embedded Linux: The Kernel and Applications 19. Implementing Continuous Integration/Continuous Delivery (CI/CD) 20. Looking to the Future 21. Unlock Your Exclusive Benefits
22. Other Books You May Enjoy
23. Index

Linux kernel modules

Kernel modules efficiently extend the functionality of the Linux kernel and are an integral part of its modular nature. Without kernel modules, we would need to integrate the relevant source code into the entire kernel, rebuild the Linux kernel, and reload it on our system to observe the impact of our addition. While this may be acceptable for a production environment, this long feedback loop would need to be more efficient for development. This would significantly impede the development of device drivers since any minor adjustment would require a rebuild of the entire Linux kernel and a reboot of the whole system. Kernel modules can shortcut this process by allowing code to be added to the Linux kernel during runtime. The development process can be described using the following diagram:

Figure 3.10 – Kernel module implementation workflow

Figure 3.10 – Kernel module implementation workflow

First, we implement a particular feature as a kernel module. Second, we cross-compile it and transfer the...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Embedded Linux Essentials Handbook
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon