Compiling GCC 11.5 x64 to AArch64 Cross Toolchain on CentOS 6.10

Compiling GCC 11.5 x64 to AArch64 Cross Toolchain on CentOS 6.10

Prerequisites Prepare the following source packages binutils-2.29 gcc-11.5.0 glibc-2.17 linux-3.10.99 First, build a GCC 5.2, x64 is sufficient. C++11 is required, the default GCC in the repository is 4.4.7 The ARM64 version of glibc 2.17 is required linux-3.10.99 provides header files for glibc 2.17 Set up environment variables export PKG=/soft/pkg export SRC=/dd/gcc-srcexport BUILD=/dd/gcc-buildexport TARGET=aarch64-linux-gnuexport PREFIX=/dd/aarch64-linux-gnu-gcc-11.5.0export … Read more

Documenting the Porting of GDB 16.2 on RK3399

Documenting the Porting of GDB 16.2 on RK3399

To quickly locate program issues, it is necessary to compile gdb 16.2 on the RK3399 development board and use gdb 16.2 to debug the program. UnsetUnsetCompilation EnvironmentUnsetUnset Ubuntu 24.04 gcc-linaro-10.2.1-2021.01-x86_64_aarch64-linux-gnu UnsetUnsetPrerequisitesUnsetUnset GDB Official Website: https://sourceware.org/gdb/ Source Code Download Link: https://sourceware.org/pub/gdb/releases/?C=M;O=D The gdb 16.2 version depends on higher versions of gmp and mpfr, so these two … Read more

Packaging Go Projects on Linux Operating System

Packaging Go Projects on Linux Operating System

Click the blue text above ● Follow Jie Chuang Yuan Linux When packaging a project in Go, it is a common requirement to package dependencies together to ensure that it runs without errors due to missing dependencies on other machines. Here are some methods to achieve this: Method 1: Using Go Modules Starting from Go … Read more

Detailed Configuration of Embedded Linux Buildroot Environment: Building an Efficient and Stable Development Platform

Detailed Configuration of Embedded Linux Buildroot Environment: Building an Efficient and Stable Development Platform

In the fields of IoT and edge computing, the Raspberry Pi 4B, with its quad-core Cortex-A72 architecture and rich interfaces, has become an ideal platform for embedded Linux development. By using Buildroot to create a customized development environment, developers can quickly obtain a lightweight and highly controllable Linux system. This article is aimed at intermediate … Read more

Understanding the Differences Between BusyBox, Buildroot, and Yocto

Understanding the Differences Between BusyBox, Buildroot, and Yocto

Click on the above “Linux Notes” and select “Pin/Star the Official Account” Get valuable content delivered to you first Introduction BusyBox Buildroot Yocto Project Summary Conclusion Introduction <span>BusyBox</span>, <span>Buildroot</span>, and <span>Yocto</span> are tools used to build embedded Linux systems, but they differ in design goals, complexity, and applicable scenarios. Below, I will introduce the differences … Read more

Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch

Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch

### Introduction In today's rapidly developing Internet of Things (IoT) and edge computing landscape, the Raspberry Pi 4B, with its powerful quad-core Cortex-A72 architecture and rich expansion interfaces, has become an ideal platform for embedded Linux development. This article will detail the process of building a complete embedded Linux development environment from scratch, aimed at … Read more

Development of the QNX800 Real-Time Embedded System

Development of the QNX800 Real-Time Embedded System

1. Install qnx-software-center on Ubuntu 24.04.2. Use the software center to install the QNX Software Development Platform 8.0.3. Use the software center to install the QNX Momentics IDE, which is packaged in the Eclipse CDT environment.4. Navigate to ~/qnx800 in Ubuntu and run source qnxsdp-env.sh 5. Create a directory named qemu-aarch64-qnx, then run mkqnximage –type=qemu … Read more

New Book Recommendation | Principles and Applications of Embedded Linux Systems (Video Course Version)

New Book Recommendation | Principles and Applications of Embedded Linux Systems (Video Course Version)

Table of Contents Chapter 1 Overview of Embedded Systems (Video Explanation: 159 minutes, 7 episodes) 1.1 Introduction to Embedded Systems 1.1.1 Emergence of Embedded Systems 1.1.2 Definition, Characteristics, and Classification of Embedded Systems 1.1.3 Typical Components of Embedded Systems 1.2 Embedded Microprocessors 1.2.1 Introduction to Embedded Microprocessors 1.2.2 Mainstream Embedded Microprocessors 1.3 Embedded Operating Systems … Read more

Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch

Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch

“Building an Embedded Linux Environment on Raspberry Pi 4B: A Complete Guide from Scratch” Introduction The Raspberry Pi 4B, as a widely popular embedded development platform, is an ideal choice for embedded Linux development due to its powerful performance and rich peripheral interfaces. This article is aimed at embedded development engineers and provides a detailed … Read more

Building an Embedded Linux Development Environment for RK3588: Practical Experience from Professional Developers

Building an Embedded Linux Development Environment for RK3588: Practical Experience from Professional Developers

Building an Embedded Linux Development Environment for RK3588: Practical Experience from Professional Developers Introduction The RK3588, as the latest flagship SoC from Rockchip, has garnered significant attention in fields such as AI edge computing and machine vision due to its 8-core ARM v8.2 architecture processor, high-performance NPU, and rich multimedia processing capabilities. This article will … Read more