TutorialsBuildroot for Embedded Linux — Part 2: Adding Packages and a BR2_EXTERNAL Tree
Set up a Buildroot BR2_EXTERNAL tree so your defconfig and board files live outside the Buildroot source, then build out of tree…
Tutorials, source-level deep dives, debugging stories and fixes you can work through on a real board or in QEMU.
TutorialsSet up a Buildroot BR2_EXTERNAL tree so your defconfig and board files live outside the Buildroot source, then build out of tree…
Debug StoriesAn image recipe inherited nospdx, yet the SPDX tasks ran anyway and the build failed on a missing rootfs-packages.json. The culprit was…
Deep DivesHow UBI works on raw NAND: LEB to PEB mapping, the 20 per 1024 bad block reserve, wear levelling, attach time and…
TutorialsRT-safe user-space code for PREEMPT_RT: lock memory with mlockall, create SCHED_FIFO threads correctly, and use PTHREAD_PRIO_INHERIT mutexes.
Deep DivesHow genpd power domains decide to cut power in the Linux kernel: the checks in genpd_power_off(), the stay_on rule, and reading pm_genpd_summary.
Debug StoriesA lockdep circular locking dependency warning appeared with no hang. Here is how the AB-BA lock inversion between two driver mutexes was…
TutorialsBuild your first Buildroot root filesystem for ARM and boot it under QEMU. Part 1 of a hands-on Buildroot series for embedded…
Deep DivesA working guide to the Linux DMA API: coherent vs streaming mappings, cache sync rules, the dma-coherent property, and debugging with CONFIG_DMA_API_DEBUG.
Deep DivesHow to write a minimal sched_ext scheduler: the four callbacks, the dispatch queue model, and how to build, load and verify it…
TutorialsBuild a Linux I2C driver with the regmap subsystem: regmap_config, probe, the register cache, suspend and resume, and debugfs. Complete buildable code.
Deep DivesA long initcall is often a waiting initcall, and the log gives you no way to tell. How to read initcall_debug without…
TutorialsSet up kdump on an ARM64 board: reserve crashkernel memory, load a capture kernel with kexec -p, then trigger a panic and…
TutorialsKernel dynamic debug turns pr_debug and dev_dbg messages on at runtime, per file, function or module, with no kernel rebuild. A hands-on…
Deep DivesPart 1 of two. Boot time spans four phases with four independent clocks, and dmesg only shows the third. How to put…
TutorialsThe cachestat syscall, added in Linux 6.5, reports page-cache residency for a file from user space. Call it with a worked C…
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.