当前位置:网站首页>uboot开启调试打印信息
uboot开启调试打印信息
2022-08-05 04:48:00 【IT张先生】
开启uboot中的调试信息
在u-boot/include/common.h文件中
#define DEBUG //增加该宏
#ifdef DEBUG
#define _DEBUG 1
#else
#define _DEBUG 0
#endif
使用uart的debug功能
遇到uboot启动没有任何打印,可以使能UART的debug功能,尤其是DM模型下,该功能非常有用。
在相应board中的defconfig文件中增加如下的配置。
CONFIG_DEBUG_UART=y
CONFIG_DEBUG_UART_ZYNQ=y
CONFIG_DEBUG_UART_BASE=0xe0001000
CONFIG_DEBUG_UART_CLOCK=100000000
边栏推荐
- how to measure distance from point to face in creo
- 虚证、实证如何鉴别?
- UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
- 将故事写成我们
- App rapid development and construction experience: the importance of small programs + custom plug-ins
- DEJA_VU3D - Cesium功能集 之 056-智图Arcgis地图纠偏
- 8.04 Day35-----MVC three-tier architecture
- Is the NPDP certificate high in gold content?Compared to PMP?
- Mvi架构浅析
- mutillidae下载及安装
猜你喜欢
随机推荐
[CISCN2019 华东南赛区]Web11
Shell(4) Conditional Control Statement
Mysql的undo log详解
Analyses the mainstream across technology solutions
C language - vernacular to understand the original code, inverse code and complement code
Application status of digital twin technology in power system
write the story about us
8.04 Day35-----MVC三层架构
服务器磁盘阵列
开发属于自己的node包
[MRCTF2020]Ezpop(详解)
Homework 8.4 Interprocess Communication Pipes and Signals
Paparazzi: Surface Editing by way of Multi-View Image Processing
Day019 Method overriding and introduction of related classes
dedecms后台生成提示读取频道信息失败的解决方法
机器学习概述
雷克萨斯lm的安全性到底体现在哪里?一起来看看吧
Day14 jenkins deployment
bytebuffer put flip compact clear 方法演示
虚证、实证如何鉴别?