Setting Up a Raspberry Pi for Linux Real-Time Experiments
Preparing a headless Raspberry Pi 4 as a Linux laboratory for kernel, GPIO and real-time experiments.
Processes, scheduling, memory, and the machinery beneath user space.
Explore the mechanisms that make Linux work, from process creation and system calls to memory management, filesystems, and kernel scheduling.
This section combines technical explanations, practical experiments, and selected references.
Preparing a headless Raspberry Pi 4 as a Linux laboratory for kernel, GPIO and real-time experiments.
Inspecting kernel preemption on a Raspberry Pi 4 and distinguishing PREEMPT from PREEMPT_RT.
Control Raspberry Pi GPIO18 from Linux and verify HIGH and LOW output voltages using a digital multimeter.
Official kernel documentation
System calls and interfaces
Linux scheduling is an evolving design, not a settled algorithm. EEVDF uses virtual deadlines to balance fairness and responsiveness, offering an interesting comparison with the older Completely Fair Scheduler.
An exploration of the machinery behind virtual memory, address translation, page tables and page faults, including the interaction between hardware and the kernel.
A journey from user space into the kernel, revealing the architecture-specific machinery behind a seemingly simple system call. Older, but valuable for understanding the underlying mechanisms.
Containers are built from kernel mechanisms rather than a separate operating-system layer. This reference explains how namespaces isolate resources and how processes create, enter and inspect them.
A gateway into the kernel's internal programming interfaces, data structures and concurrency mechanisms. A useful reference map for exploring how Linux is implemented.
Explore PID namespaces with unshare, compare process IDs from inside and outside, and discover why /proc matters.