《Mastering Embedded Linux Programming》是一本深入浅出地讲解嵌入式Linux编程技巧和实践的专业书籍,适合希望在嵌入式系统领域深造的技术人员阅读。
Key Features
- Create efficient and secure embedded devices using Linux.
- Minimize project costs by utilizing open source tools and programs.
- Explore each component technology in depth, with sample implementations as a guide.
Book Description
Mastering Embedded Linux Programming provides an extensive overview of the product cycle, detailing components and options available at various stages. You will start by learning about toolchains, bootloaders, the Linux kernel, and how to configure a root filesystem for creating a basic working device. Next, youll learn to use Buildroot and Yocto build systems to streamline and simplify development processes.
Building on this foundation, subsequent sections delve into optimizing raw NAND/NOR flash memory and managed flash eMMC chips for extended lifetime and reliable in-field updates. The book then guides you through the most effective techniques for writing applications tailored to your device, including process function splitting and POSIX threads usage, which significantly impact responsiveness and performance.
The concluding sections focus on profiling and tracing application and kernel code using perf and ftrace tools.
What You Will Learn
- Understand the role of the Linux kernel in selecting an appropriate configuration.
- Use Buildroot and Yocto for rapid embedded Linux system creation.
- Develop customized bootloaders with U-Boot.
- Employ perf and ftrace to identify performance bottlenecks.
- Modify device trees to accommodate new hardware on your device.
- Write applications that interact effectively with Linux device drivers.
- Design multi-threaded applications using POSIX threads, measuring real-time latencies and tuning the kernel for minimal delays.
About the Author
Chris Simmonds is a software consultant and trainer based in southern England. With over two decades of experience working with Linux on embedded systems, he has contributed to various projects such as stereoscopic cameras, intelligent scales, set-top boxes, home routers, and even large walking robots. He frequently presents at open source and embedded conferences.
Simmonds began offering training courses in embedded Linux since 2002 and in embedded Android since 2010. His sessions have been delivered to numerous well-known companies over the years.