Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch

Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch

“Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch” Introduction The Raspberry Pi 4B, as a widely popular embedded development platform, is an ideal choice for embedded Linux development due to its powerful performance and rich peripheral interfaces. This article is aimed at embedded development engineers and provides a detailed … Read more

Father of Linux: We Will Not Replace C with Rust for Kernel Development

Father of Linux: We Will Not Replace C with Rust for Kernel Development

Author: Jeremy AndrewsTranslator: Tu LingEditor: Cai FangfangLinux was born in 1991, and it has been 30 years since then. Although it started as a personal project of Linus, rather than a grand dream to develop a new operating system, Linux is now ubiquitous. Thirty years ago, when Linus Torvalds first released the Linux kernel, he … Read more

From Assembly to Kernel Hacking: The Underlying Art of Linux System Calls

From Assembly to Kernel Hacking: The Underlying Art of Linux System Calls

1. Overview of System Calls A system call is a set of interfaces provided by the operating system kernel to user-space programs, allowing user programs to request services from the kernel. It is a controlled communication mechanism between user space and kernel space. Why Do We Need System Calls? Permission Isolation: User programs run in … Read more

Is Clang Better Than GCC? Google’s Kernel Developers Build Kernel with Clang

Is Clang Better Than GCC? Google's Kernel Developers Build Kernel with Clang

(Click the public account above to follow quickly) Source: Solidot www.solidot.org/story?sid=54012 If you have good articles to submit, please click → here for details At the Linux Plumbers Conference, Google’s kernel developers Greg Kroah-Hartman and Nick Desaulniers presented the progress of building the kernel with Clang. Desaulniers stated that today’s Android user space is built … Read more

Mastering Linux Device Driver Development – Bilingual Edition

Mastering Linux Device Driver Development - Bilingual Edition

Mastering Linux Device Driver Development, published by People’s Posts and Telecommunications Press, English original title: Essential Linux Device Drivers. Author: Sreekrishnan Venkateswaran, translated by Song Baohua and others. “Mastering Linux Device Driver Development” is a work in the field of Linux device driver development. The book is based on the 2.6 kernel and not only … Read more

Zephyr Kernel Time Management

Zephyr Kernel Time Management

Zephyr provides a powerful and extensible time framework for obtaining and tracking timing events from hardware timing sources of any precision. Time Units The kernel time is tracked in the following time units: Real Time Hardware Counter Cycles Ticks Real Time The kernel time is described in real-time units: milliseconds/microseconds, which is easy to understand … Read more

Analysis of Bus Device Driver Model

Analysis of Bus Device Driver Model

Reviewing the bus device driver model, I’ve made a few notes for reference, experts can skip this. 1. A significant part of the driver framework in the Linux system revolves around the bus device driver model. 2. Involves three important structures: struct bus_type: Bus struct device: Device struct device_driver: Driver 3. Core code analysis of … Read more

Essential Knowledge About Embedded Linux Systems

Essential Knowledge About Embedded Linux Systems

1 Components of Embedded Linux Systems 1. Hardware 2. Kernel 3. Applications (forming the root file system) 2 Main Tasks in Building Embedded Linux Systems 1. Kernel Part 2. Application Part Development of Embedded Linux can generally be divided into three levels: boot loading the kernel, constructing the file system, and graphical user interface. The … Read more

How to Learn Embedded Linux Kernel? Sharing My Years of Experience

How to Learn Embedded Linux Kernel? Sharing My Years of Experience

Regarding how to learn the Embedded Linux kernel, I have some personal insights and understandings that I would like to share. Everyone has their own methods for learning the Linux kernel, and it varies from person to person. Generally, engineers engaged in embedded Linux driver and kernel development can be divided into two types: one … Read more