Linux debugging on Yocto Project based systems
2021-11-30 , Room B

In this hands-on class, we will learn how to leverage the Yocto Project to debug an embedded Linux system.


There are several techniques to debug an embedded Linux system that can be applied in both user space and kernel space. Depending on the problem, you may need different tools, like addr2line for crash dump analysis, GDB for interactive debugging, ftrace for kernel tracing, valgring to catch memory-related issues, gprof for application profiling, etc. In this hands-on class, we will learn how the Yocto Project can help and improve the experience of the developer when debugging an embedded Linux system, and put into practice with exercises to solve kernel and user-space bugs injected in a QEMU based Linux system.

See also: Slides (206.9 KB)

Sergio Prado has been working with embedded systems for more than 25 years, providing consulting and training services for companies worldwide. He also writes on his blog at embeddedbits.org and contributes to several free and open-source projects, including Buildroot, Yocto Project and the Linux kernel.