X5 Chip User Manual
2.0.0
1. Preface
2. Quick Start
3. Guidelines for using samples
4. BSP Development Guide
4.1. Setting Up the Development Environment and Compilation Instructions
4.2. Hardware Bring-Up Guide
4.3. Driver Development Guide
4.4. System Component Development
4.5. Driver function unit test
4.6. System debugging method
4.6.1. pstore & ramoops
4.6.2. mem-dump Feature Guide
4.6.3. Using GDB to Debug Applications
4.6.4. Using Kdb/Kgdb to Debug the Kernel
4.6.5. DDR Digital eye diagram
4.7. Common command usage methods
4.8. Approved Vendor List
5. Multimedia Development Guide
6. Quantitative toolchain development guide
7. FAQ
8. Suggestions and Feedback
X5 Chip User Manual
4.
BSP Development Guide
4.6.
System debugging method
Previous
Next
中文
EN
4.6.
System debugging method
4.6.1. pstore & ramoops
4.6.1.1. Introduction to pstore
4.6.1.2. pstore Principle
4.6.1.3. pstore Types
4.6.1.4. Introduction to ramoops
4.6.1.5. ramoops Usage
Enable ramoops in Kernel
Configure ramoops Reserved Memory
Trigger Kernel Panic in Kernel
Verify ramoops Functionality
4.6.2. mem-dump Feature Guide
4.6.2.1. Overview
Introduction
mem-dump Information
User Space Information
Kernel Information
Crash Context
4.6.2.2. X5 mem-dump Feature Introduction
Feature Highlights
Functional Principle
4.6.2.3. mem-dump Configuration
Get panic-action
Configure panic-action
4.6.2.4. mem-dump Usage
Configure panic-action
Perform mem-dump to emmc
4.6.2.5. mem-dump Analysis Method
4.6.2.6. Common Issues
panic-action not configured before crash
Does configuring panic-action affect reboot or cold boot?
4.6.3. Using GDB to Debug Applications
4.6.3.1. GDB Overview
4.6.3.2. Main Features of GDB
4.6.3.3. Common GDB Debugging Commands
4.6.3.4. Introduction to Specific GDB Debugging Methods
Writing a Test Program
Compilation
GDB Debugging Process
Analyzing Core Dump Files with GDB
4.6.3.5. Common Issues
4.6.3.6. References
4.6.4. Using Kdb/Kgdb to Debug the Kernel
4.6.4.1. Overview of Kdb/Kgdb
4.6.4.2. Introduction to Kdb/Kgdb Features
Introduction to Kdb Features
Introduction to Kgdb Features
Comparison Between Kdb and Kgdb
4.6.4.3. Specific Usage Methods of Kdb/Kgdb
Enabling Kdb/Kgdb
Starting Kdb Debugging on the Board
Starting Kdb During U-Boot Stage
Starting Kdb After Kernel Boot
Introduction to Kdb Debugging Commands
Remote Connection to Board for Kgdb Debugging
4.6.4.4. Common Issues
Common Kdb Issues
Common Kgdb Issues
4.6.5. DDR Digital eye diagram
4.6.5.1. X5 DDR digital eye diagram tool instructions and results analysis
background
Tool usage instructions
reboot command
bl2_cfg configuration
DDR eye diagram analysis
Eye diagram information description
Eye diagram evaluation criteria
Notes
中