SoC Linux Dojo [Part 3] Cross compiler installation and compilation, GDB debugging
Recent embedded products are increasingly equipped with Linux® due to the sophistication of their functions.
In this "SoC Linux Dojo", we will target Macnica 's Helio board equipped with Intel® FPGA Cyclone V® SoC, and first, we will write a pre-built SD card binary image to the SD card and confirm that Linux boots. .
After that, prepare a compilation environment (Linux machine + cross-compiler), obtain and compile the Linux kernel source code, create a custom driver, add a user circuit to the SoC FPGA, check the operation of PWM control, etc. We will explain the basic development method in all 8 times.
"SoC Linux Dojo [Part 3] Installation and Compilation of Cross Compiler, GDB Debugging"
Document overview
In the previous SoC Linux Dojo [Part 2], we prepared a Linux® machine to be used as a cross-compile environment.
This time, we will explain how to install Sourcery CodeBench Lite Edition for ARM GNU/Linux provided by Mentor Graphics® on Vine Linux as a cross-compiler environment for compiling programs. increase.
<Contents>
1.First of all
2. Install and compile cross compiler, GDB debug
2-1. Downloading and installing Sourcery CodeBench Lite Edition for ARM GNU/Linux
2-2. Command path setting
2-3. Cross-compiling Hello World
2-4. Remote debugging with GDB
Related Documents
SoC Linux Dojo [No.1] Checking Linux boot on Helio board using pre-built SD card image
SoC Linux Dojo [No.2] Preparation of Linux machine
SoC Linux Dojo [Part 3] Cross compiler installation and compilation, GDB debugging
SoC Linux Dojo [No.4] Compiling GNU Applications
SoC Linux Dojo [Part 6] Creating and compiling a custom driver (Part 2)
SoC Linux Dojo [No.7] Addition of user circuit and operation check
List of Intel® FPGA Software Resources