Adding a Syscall to Android 12 Kernel from Source Code

Adding a Syscall to Android 12 Kernel from Source Code

This article is an excellent piece from the Kanxue Forum. Kanxue Forum Author ID: xxxlion Adding a syscall to Android 12 involves quite a bit, and the information available online is often outdated (especially regarding bionic). I encountered many pitfalls along the way. I decided to write this article to document how to add a … Read more

Embedded Linux From a Microcontroller Engineer’s Perspective

Embedded Linux From a Microcontroller Engineer's Perspective

01 【Introduction】 This article will briefly organize some knowledge about Embedded Linux, providing reference for those who, like me, want to progress from microcontrollers to Embedded Linux. With the increasing number of Embedded Linux tutorials, I believe many friends studying microcontrollers have started experimenting with it~ 02 【What to Learn About Embedded Linux】 1. Understanding … Read more

Understanding Makefile, Kconfig, and .config Files

Understanding Makefile, Kconfig, and .config Files

1 We want to add a program (such as a driver) to the kernel and ensure that this driver can be compiled into the kernel, which is fundamentally divided into two main parts. First, we need to tell the kernel, “Please include me in the next compilation,” which requires us to configure the kernel appropriately. … Read more

Embedded Linux Insights from a Microcontroller Engineer’s Perspective

Embedded Linux Insights from a Microcontroller Engineer's Perspective

This article briefly outlines some knowledge about Embedded Linux, providing a reference for those who want to advance from microcontrollers to Embedded Linux. With the increasing number of tutorials on Embedded Linux, I believe many friends studying microcontrollers have started to explore this area! 1. What to Learn About Embedded Linux? 1. Understanding Linux Some … Read more

Transitioning from Microcontrollers to Linux: A Guide

Transitioning from Microcontrollers to Linux: A Guide

Follow+Star Public Account, never miss exciting content Author | ZhengN Source | Embedded Miscellaneous Many microcontroller engineers transition to Linux, but not everyone can smoothly “transition”. There are many who give up before even starting. As for how difficult it is to transition to Linux, it varies from person to person. Here, I share some … Read more

Building Embedded U-Boot, Kernel, and File System with Yocto

Building Embedded U-Boot, Kernel, and File System with Yocto

Click the blue text above to follow Weilian Zhikong You can click the … in the upper right corner to share this article What is Yocto? In brief, it is a tool used to build U-Boot, kernel, file system, cross-compilation toolchain, etc. Yocto provides a complete and comprehensive embedded Linux porting solution. It allows embedded … Read more

An Introduction to Block Device Drivers

An Introduction to Block Device Drivers

Introduction I have been researching IO for a long time and have been unable to connect bio and block device drivers. I only knew that bio is passed to the block device driver through the IO scheduling algorithm, but I never fully understood how this happens or where the IO scheduling algorithm plays its role. … Read more

Building a Custom Linux System with Buildroot

Building a Custom Linux System with Buildroot

Introduction to Buildroot Buildroot is a tool for automating the building of embedded Linux systems. Buildroot can generate cross-compilation toolchains, root filesystems, Linux kernel images, and bootloaders. Buildroot can be used independently with any combination of these options (for example, you can use an existing cross-compilation toolchain and only use Buildroot to build your root … Read more

How to Transition from Mechanical Automation to Embedded Linux?

How to Transition from Mechanical Automation to Embedded Linux?

Recently, many students majoring in mechanical automation have come to ask me how to transition to embedded systems after graduation, specifically how to learn and find jobs. Most of them are recent graduates or about to graduate students who have been exposed to C language during their studies, and many have self-studied microcontrollers and ARM. … Read more

The Importance of Good Software Architecture in Embedded Development

The Importance of Good Software Architecture in Embedded Development

Follow and star our official account for exciting content Source | Network When searching for architects on various recruitment websites, you will find various system architects, web architects, backend service architects, etc., but it is rare to see embedded software architects. Does embedded software not need architecture? Do drivers not need architecture? The answer is … Read more