Book Image

Mastering Embedded Linux Programming

By : Chris Simmonds
Book Image

Mastering Embedded Linux Programming

By: Chris Simmonds

Overview of this book

Mastering Embedded Linux Programming takes you through the product cycle and gives you an in-depth description of the components and options that are available at each stage. You will begin by learning about toolchains, bootloaders, the Linux kernel, and how to configure a root filesystem to create a basic working device. You will then learn how to use the two most commonly used build systems, Buildroot and Yocto, to speed up and simplify the development process. Building on this solid base, the next section considers how to make best use of raw NAND/NOR flash memory and managed flash eMMC chips, including mechanisms for increasing the lifetime of the devices and to perform reliable in-field updates. Next, you need to consider what techniques are best suited to writing applications for your device. We will then see how functions are split between processes and the usage of POSIX threads, which have a big impact on the responsiveness and performance of the final device The closing sections look at the techniques available to developers for profiling and tracing applications and kernel code using perf and ftrace.
Table of Contents (22 chapters)
Mastering Embedded Linux Programming
About the Author
About the Reviewers

Further reading

The following resources have further information about the topics introduced in this chapter:

  • The Art of Unix Programming, by Eric Steven Raymond, Addison Wesley; (23 Sept. 2003) ISBN 978-0131429017

  • Linux System Programming, 2nd edition, by Robert Love, O'Reilly Media; (8 Jun. 2013) ISBN-10: 1449339530

  • Linux Kernel Development, 3rd edition by Robert Love, Addison-Wesley Professional; (July 2, 2010) ISBN-10: 0672329468

  • The Linux Programming Interface, by Michael Kerrisk, No Starch Press; (October 2010) ISBN 978-1-59327-220-3

  • UNIX Network Programming: v. 2: Interprocess Communications, 2nd Edition, by W. Richard Stevens, Prentice Hall; (25 Aug. 1998) ISBN-10: 0132974290

  • Programming with POSIX Threads, by Butenhof, David R, Addison-Wesley, Professional

  • Scheduling Algorithm for multiprogramming in a Hard-Real-Time Environment, by C. L. Liu and James W. Layland, Journal of ACM, 1973, vol 20, no 1, pp. 46-61