当前位置:网站首页>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
边栏推荐
猜你喜欢

从企业的视角来看,数据中台到底意味着什么?

Paparazzi: Surface Editing by way of Multi-View Image Processing

多御安全浏览器新版下载 | 功能优秀性能出众

UI自动化测试 App的WebView页面中,当搜索栏无搜索按钮时处理方法

The solution to the failure to read channel information when dedecms generates a message in the background

数字孪生技术在电力系统中的应用现状

Feature preprocessing

flink reads mongodb data source
![[极客大挑战 2019]FinalSQL](/img/e4/0c8225ef7c5e7e5bdbaac2ef6fc867.png)
[极客大挑战 2019]FinalSQL

关于sklearn库的安装
随机推荐
Application status of digital twin technology in power system
如何解决复杂的分销分账问题?
【informix】解决启动报错大全,以及解决办法
[SWPU2019]Web1
AUTOCAD - dimension association
bytebuffer 使用demo
write the story about us
NPDP证书含金量高吗?跟PMP相比?
从企业的视角来看,数据中台到底意味着什么?
一篇博客通关Redis技术栈
[informix] Resolving startup errors and solutions
浅析主流跨端技术方案
基于Web的商城后台管理系统的设计与实现
Mysql的redo log详解
Mysql's redo log detailed explanation
【8.2】代码源 - 【货币系统】【硬币】【新年的问题(数据加强版)】【三段式】
服务器磁盘阵列
多御安全浏览器 V10.8.3.1 版正式发布,优化多项内容
Is the NPDP certificate high in gold content?Compared to PMP?
1007 Climb Stairs (贪心 | C思维)