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

Cross-Compiling C and C++ with CMake

Cross-Compiling C and C++ with CMake

Embedded development, especially in SOA (Service Oriented Architecture), often encounters a scenario where part of the business functionality is developed in C and is relatively mature, and there is a desire to reuse it directly. However, the underlying services obtained by the business layer are written in C++. If both need to be placed in … Read more

Running Hello World in Assembly Language on Android

Running Hello World in Assembly Language on Android

Principle of Ximen Chui Xue This article explains how to write a GNU ARM assembly program and run it on an Android phone. (1) Why Learn ARM Assembly? If learning is only done when needed, then nothing needs to be learned in advance. The situation of “learning when needed” often exists and makes sense; your … Read more

How to Gain Local Shell Access on IoT Devices

How to Gain Local Shell Access on IoT Devices

This article is a featured post from the KSY Forum by author ID: fengzhidian 1. Introduction The author has recently researched several smart home devices, which have fewer open ports and are generally unable to obtain debugging permissions from the network side. Gaining local debugging permissions on the device has become an important step in … Read more

Basic Tutorial on ARM Assembly Language

Basic Tutorial on ARM Assembly Language

This tutorial includes some sample programs that can be debugged hands-on to deepen understanding. To debug ARM programs, we need an environment that can run ARM programs and a debugger that supports the ARM architecture. This tutorial will introduce how to set up an ARM cross-compilation, running, and debugging environment based on the x86 platform … Read more

Linux System Programming: Basic Concepts

Linux System Programming: Basic Concepts

Click the above“Mechanical and Electronic Engineering Technology”to follow us Host Machine The host machine (Host Machine) usually refers to the computer used for developing and compiling embedded software. The host machine is typically a high-performance desktop or laptop that runs standard operating systems such as Windows, Linux, or macOS. The main functions of the host … Read more

How to Automatically Run a Specific Program After Booting ARM Linux

How to Automatically Run a Specific Program After Booting ARM Linux

The command for system services is saved in the /usr/etc/rc.local file of the development board’s root filesystem. Some development boards need to hold down ctrl+c to enter the Linux SHELL prompt after booting to automatically run graphical interface programs. In fact, you can achieve the goal of automatically running user applications at boot by commenting … Read more

Building a Cross-Development Environment Based on ARM and Linux

Building a Cross-Development Environment Based on ARM and Linux

Abstract: The cross-development environment is the foundation of embedded Linux development. The subsequent development process is almost entirely based on this environment. ARM, as a high-performance, low-cost embedded RISC microprocessor, has become the most widely used embedded processor. This article includes the hardware structure of the 32-bit ARM920T core “GEC2410” development board and the concept … Read more

WiFi Configuration in Embedded Linux Using C++

WiFi Configuration in Embedded Linux Using C++

The previous article “Analysis of WiFi Configuration Scripts in Embedded Linux” introduced how to configure WiFi on embedded Linux development boards using shell scripts to call tools like wpa_supplicant. This article will introduce how to achieve the same functionality through C++ programming. 1. Preparation My development board previously had a script set to automatically start … Read more