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

Understanding U-Boot Makefile

Understanding U-Boot Makefile

1. Compiling U-Boot First, let’s review how to compile U-Boot. (1) Set temporary environment variables export ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- (2) Specify board configuration and generate .config file make xxx_defconfig (3) Compile make -j8 (4) Clean build make distclean Next, we will analyze the top-level Makefile in the U-Boot root directory to explore what happens behind these … Read more

Writing a Makefile for Cross-Compilation

Writing a Makefile for Cross-Compilation

Before discussing the issues in this article, let’s first talk about a topic: “Currently, CP Autosar supports Some/IP and DDS (Data Distribution Service). DDS seems just another protocol; is it really necessary to implement DDS in vehicles?” Regarding this question, I would like to share my personal understanding. In CP Autosar, Some/IP appeared earlier, and … Read more

Step-by-Step Guide: Simulating ARM Systems on x86 with Qemu

Step-by-Step Guide: Simulating ARM Systems on x86 with Qemu

Welcome FPGA engineers to join the official WeChat technical group Clickthe blue textto follow us at FPGA Home – the largest and best FPGA-only engineering community in China Introduction Why simulate an ARM system? What is Qemu? The two modes of Qemu What can Qemu do? Or what is it suitable for? Setting up an … Read more