Four Key Steps in Embedded Linux System Porting

Four Key Steps in Embedded Linux System Porting

Recently, I have been learning about system porting. During the process of learning and debugging, I encountered and solved many problems, but I always felt a vague sense of confusion about our development results. Upon reflection, the main reason is that we do not have a profound understanding of our development environment. Sometimes, a few … Read more

Understanding the Differences Between Android and Embedded Linux Development

Understanding the Differences Between Android and Embedded Linux Development

Introduction Due to business needs, I started to involve in embedded Linux development from the familiar Android development over the past year. The programming language also changed from Java/Kotlin to the more challenging C++. There are actually many differences, and I have organized this article to compare the similarities and differences between these two development … Read more

C++: A Key Player in Embedded Linux Applications

C++: A Key Player in Embedded Linux Applications

In the field of microcontrollers, C++ may not be very popular, but in the field of embedded Linux, C++ is one of the main players in the application layer, many open source libraries are written in C++. C++, a well-known programming language. As a multi-paradigm general-purpose programming language, it is applicable in a wide range … Read more

Guide to Building Embedded Linux Root File System

Guide to Building Embedded Linux Root File System

Click on the “Embedded Application Research Institute” above, and select “Top/Star Official Account“ Useful Resources Delivered First Hand! Source | CSDN-Stop at Perfection 656 Compiled & Formatted | Embedded Application Research Institute 1. Root File System Layout The layout of the embedded Linux root file system is recommended to follow the FHS standard. In fact, … Read more

Embedded Linux Development Log (4)

Embedded Linux Development Log (4)

Currently, most industrial control systems are embedded systems (a few simple systems use bare metal development directly). An “embedded system” refers to a computer system with specific functions embedded within specific hardware. Embedded systems generally consist of a real-time operating system (RTOS) + application software (a PLC itself is also an embedded system). Common real-time … Read more

Embedded Linux: Introduction to Linux Library Functions

Embedded Linux: Introduction to Linux Library Functions

1 Introduction to Linux Library Functions Linux provides a rich set of library functions that cover various domains, from file operations to network programming, graphical interfaces, mathematical operations, and more. Most of these library functions are standard C library functions, along with some that are specific to the Linux system. Linux library functions are typically … Read more

Embedded Linux: Thread Synchronization (Read-Write Locks)

Embedded Linux: Thread Synchronization (Read-Write Locks)

Click the blue text above to follow us. In Linux, a Read-Write Lock provides a synchronization mechanism that allows multiple threads to read shared resources concurrently, but only one thread can perform write operations on that resource. Compared to mutexes or spinlocks, read-write locks offer higher concurrency because they have three states: read-locked state, write-locked … Read more

Embedded Linux Driver Development: Starting with Character Devices

Embedded Linux Driver Development: Starting with Character Devices

1. What is a Character Device? First, we need to understand what a character device is. A character device is, simply put, a device that reads and writes data byte by byte, like keyboards, mice, and serial ports. Unlike block devices (like hard drives), character devices do not support random access; data must be read … Read more

Analysis of WiFi Configuration Script in Embedded Linux

Analysis of WiFi Configuration Script in Embedded Linux

The embedded Linux system generally supports WiFi networking, which can be achieved through sh scripts or other programming languages. This article introduces the execution principle of a script that configures WiFi using sh scripts. 1. Introduction to sh Script for WiFi Networking Here, we take the WiFi startup script in the Feilin development board as … Read more

Building a Wireless Server with WiFi on Embedded Linux

Building a Wireless Server with WiFi on Embedded Linux

Source: https://www.cnblogs.com/heat-man/p/4657157.html Previously, on the embedded Linux development board, we implemented a remote control system for smart homes from the lowest level, but it was connected to a switch using an Ethernet cable, which felt outdated. Coincidentally, while looking for a job in Beijing, I found a company that makes WiFi modules. My boss tasked … Read more