Deep DivesReal-Time Linux vs RTOS: Zephyr, FreeRTOS, PREEMPT_RT
Real-time Linux vs RTOS, compared: FreeRTOS, Zephyr, and mainline PREEMPT_RT, and how mixed-criticality designs run Linux and an RTOS on one SoC.
Tutorials, source-level deep dives, debugging stories and fixes you can work through on a real board or in QEMU.
Deep DivesReal-time Linux vs RTOS, compared: FreeRTOS, Zephyr, and mainline PREEMPT_RT, and how mixed-criticality designs run Linux and an RTOS on one SoC.
TutorialsControl GPIO with libgpiod using the version 2 tools and C API. Hands-on examples with gpioget, gpioset, gpiomon, and a virtual gpio-mockup…
Debug StoriesA debug story from an embedded Linux board: a hung task froze the system. How khungtaskd reports it, reading the blocked-task stack,…
TutorialsBuild a PREEMPT_RT kernel from mainline 6.12 source, boot it, and re-run cyclictest to compare real-time latency against a standard kernel baseline.
Deep DivesTrace a DMA mapping through the Linux 7.x source: the dma-direct fast path, arm64 cache hooks, swiotlb bouncing, and CONFIG_DMA_API_DEBUG.
Debug StoriesA kernel debug story: how we root-caused a "sleeping function called from invalid context" BUG caused by kmalloc(GFP_KERNEL) under a spinlock, and…
TutorialsA hands-on guide to function tracing with ftrace: mount tracefs, run the function and function_graph tracers, filter functions, and read timed call…
Deep DivesDeferred probe lets Linux drivers bind in any order by retrying devices whose dependencies are not ready. How the mechanism works in…
TutorialsLearn to measure PREEMPT_RT latency on Linux with cyclictest: what real-time means, how to run the test correctly, and how to read…
Debug StoriesOne of the most valuable skills an engineer can develop is also one of the least discussed: the ability to properly define…
Deep Divessched_ext is not a scheduler; it's a framework that securely connects custom BPF programs to the core kernel. Its architecture consists of…
Deep DivesIn this final installment of our series, we synthesize our exploration of diverse Linux boot processes by examining two critical, cross-platform themes:…
Deep DivesBeyond PCs and general-purpose embedded systems lie platforms where the Linux boot process has been specialized to an extreme degree. In this…
Deep DivesWhile the PC and server world has evolved towards the simplicity of Unified Kernel Images, the embedded systems domain—dominated by ARM and…
Deep DivesIn the first part of our series, we established a four-stage framework for understanding any boot process. Now, we apply that model…
The best of our kernel and embedded Linux writing, a few emails a month. No spam.
// 1,200+ embedded engineers already read it
We email occasionally and never share your address.