当前位置:网站首页>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
边栏推荐
- AUTOCAD - dimension association
- Why did you start preparing for the soft exam just after the PMP exam?
- ansible各个模块详解
- Mysql的redo log详解
- 8.04 Day35-----MVC三层架构
- There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space
- Mysql's redo log detailed explanation
- 数字孪生技术在电力系统中的应用现状
- A 35-year-old software testing engineer with a monthly salary of less than 2W, resigns and is afraid of not finding a job, what should he do?
- 多列属性column元素的可见性:display、visibility、opacity、垂直对齐方式:vertical-align、z-index 越大越显示在上层
猜你喜欢

dedecms后台生成提示读取频道信息失败的解决方法

Day019 方法重写与相关类的介绍

Visibility of multi-column attribute column elements: display, visibility, opacity, vertical alignment: vertical-align, z-index The larger it is, the more it will be displayed on the upper layer

Mini Program_Dynamic setting of tabBar theme skin

What is the function of industrial-grade remote wireless transmission device?

BI业务分析思维:现金流量风控分析(二)信用、流动和投资风险

【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)

Redis哨兵模式配置文件详解

如何解决复杂的分销分账问题?

AUTOCAD——标注关联
随机推荐
What is ASEMI photovoltaic diode, the role of photovoltaic diode
JeeSite New Report
Day14 jenkins部署
软件管理rpm
Develop your own node package
Mysql的undo log详解
关于sklearn库的安装
for..in和for..of的区别
Is the NPDP certificate high in gold content?Compared to PMP?
[CISCN2019 South China Division]Web11
The first performance test practice, there are "100 million" a little nervous
bytebuffer 内部结构
There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space
AUTOCAD - dimension association
Why did you start preparing for the soft exam just after the PMP exam?
dedecms报错The each() function is deprecated
工业级远距离无线传输装置的功能有哪些?
第一次性能测试实践,有“亿”点点紧张
4T硬盘剩余很多提示“No space left on device“磁盘空间不足
【8.1】代码源 - 【第二大数字和】【石子游戏 III】【平衡二叉树】