当前位置:网站首页>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
边栏推荐
- 8.04 Day35-----MVC三层架构
- 1007 Climb Stairs (greedy | C thinking)
- bytebuffer internal structure
- Shell(4) Conditional Control Statement
- No regrets, the appium automation environment is perfectly built
- 【8.2】代码源 - 【货币系统】【硬币】【新年的问题(数据加强版)】【三段式】
- flink reads mongodb data source
- [SWPU2019]Web1
- Machine Learning Overview
- 工业级远距离无线传输装置的功能有哪些?
猜你喜欢

日志导致线程Block的这些坑,你不得不防

Please write the SparkSQL statement

write the story about us

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

The log causes these pits in the thread block, you have to guard against
![[BSidesCF 2019]Kookie](/img/29/19e7c244feb86b37ab32a53aa11f25.png)
[BSidesCF 2019]Kookie
![[Surveying] Quick Summary - Excerpt from Gaoshu Gang](/img/35/e5c5349b8d4ccf9203c432a9aaee7b.png)
[Surveying] Quick Summary - Excerpt from Gaoshu Gang

In the hot summer, teach you to use Xiaomi smart home accessories + Raspberry Pi 4 to connect to Apple HomeKit

Develop your own node package

flink reads mongodb data source
随机推荐
ansible各个模块详解
大学物理---质点运动学
UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
第一次性能测试实践,有“亿”点点紧张
[BSidesCF 2019]Kookie
为什么刚考完PMP,就开始准备软考了?
C+ +核心编程
The solution to the failure to read channel information when dedecms generates a message in the background
商业智能BI业务分析思维:现金流量风控分析(一)营运资金风险
【学习笔记之菜Dog学C】动态内存管理之经典笔试题
[极客大挑战 2019]FinalSQL
[BJDCTF2020]EasySearch
重载运算符
【informix】解决启动报错大全,以及解决办法
社区分享|腾讯海外游戏基于JumpServer构建游戏安全运营能力
Is the NPDP certificate high in gold content?Compared to PMP?
【8.1】代码源 - 【第二大数字和】【石子游戏 III】【平衡二叉树】
C language - vernacular to understand the original code, inverse code and complement code
DEJA_VU3D - Cesium功能集 之 057-百度地图纠偏
请写出SparkSQL语句