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

General Makefile Application Guide for Advanced Embedded Programming

General Makefile Application Guide for Advanced Embedded Programming

Introduction For development on Windows, many IDEs integrate compilers, such as Visual Studio, providing a “one-click compile” feature, allowing the user to compile, link, and generate target files with just one operation after coding. Linux development differs from Windows; the gcc/g++ compiler is generally used in Linux. If developing Linux programs for ARM, the arm-linux-gcc/arm-linux-g++ … 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

Practical Tips for Keil: How to Output BIN Files

Practical Tips for Keil: How to Output BIN Files

Follow+Star Public Account, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Some friends are curious, why does Keil only have the hex output option, but no bin output option? This article explains: How to output bin files using Keil Using Keil’s built-in fromelf conversion tool The method here is actually … 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

Embedded Development: Core Components of Safety Architecture – SMU

Embedded Development: Core Components of Safety Architecture - SMU

In practical engineering, we often hear Alarm Alarm Alarm; for example, a watchdog timeout triggered an Alarm, or PLL anomalies triggered an Alarm… Why do we need these Alarms? Who manages these Alarms? When an Alarm occurs, how should it be handled? With these questions in mind, this article discusses the core component of the … Read more

Explaining Embedded Security in Simple Terms (2)

Explaining Embedded Security in Simple Terms (2)

(Image from Wikipedia entry Caerlaverock Castle: https://en.wikipedia.org/wiki/Caerlaverock_Castle ) In the previous article, we introduced the difference between the two concepts of “security” in Chinese, namely Security and Safety, in embedded systems—Safety is generally understood as “functional safety,” while Security refers to “information security”—to distinguish it from the more familiar “cyber information security.” In the following … Read more

Linux Process Scheduling – Real-Time Scheduler

Linux Process Scheduling - Real-Time Scheduler

Background Read the fucking source code! –By Lu Xun A picture is worth a thousand words. –By Gorky Note: Kernel version: 4.14 ARM64 processor, Cortex-A53, dual-core Tools used: Source Insight 3.5, Visio 1. Overview In the Linux kernel, real-time processes always have a higher priority than ordinary processes. The scheduling of real-time processes is managed … Read more

Nine Key Techniques for Low-Power Processor Design

Nine Key Techniques for Low-Power Processor Design

Low-power mechanisms are crucial for processors. This article provides an overview of low-power technologies for processors. For processors, while we pay great attention to their clock frequency and performance, one undeniable fact is that processors spend the vast majority of their time in standby or sleep mode. For example, the smartphones we use daily are … Read more

ET-UARTSWD: An Efficient Tool for Motor and Power Circuit Development

ET-UARTSWD: An Efficient Tool for Motor and Power Circuit Development

ET-UARTSWD: An Efficient Tool for Motor and Power Circuit Development In the process of electronic engineering R&D, the quality of debugging tools directly affects project progress and product quality. From the physical image, we can see that ET-UARTSWD, as a debugging tool specifically designed for engineers, is not only made with high-quality materials in hardware … Read more