当前位置:网站首页>uboot enable debug printing information
uboot enable debug printing information
2022-08-05 04:50:00 【IT Mr. Zhang】
Enable debugging information in uboot
In the u-boot/include/common.h file
#define DEBUG //Add this macro#ifdef DEBUG#define _DEBUG 1#else#define _DEBUG 0#endif
Use uart's debug function
There is no printing when uboot starts, you can enable the debug function of the UART, especially in the DM model, this function is very useful.
Add the following configuration to the defconfig file in the corresponding board.
CONFIG_DEBUG_UART=yCONFIG_DEBUG_UART_ZYNQ=yCONFIG_DEBUG_UART_BASE=0xe0001000CONFIG_DEBUG_UART_CLOCK=100000000
边栏推荐
猜你喜欢
小程序_动态设置tabBar主题皮肤
工业级远距离无线传输装置的功能有哪些?
App rapid development and construction experience: the importance of small programs + custom plug-ins
JeeSite New Report
Develop your own node package
关于sklearn库的安装
Day019 Method overriding and introduction of related classes
概率论的学习和整理8: 几何分布和超几何分布
C+ +核心编程
狗仔队:表面编辑多视点图像处理
随机推荐
Flutter 父子组件如何都能收到点击事件
四位数显表头设计
The solution to the failure to read channel information when dedecms generates a message in the background
About the installation of sklearn library
【无标题】
大学物理---质点运动学
Talk about 20 common problems in data governance
【cesium】元素高亮显示
bytebuffer internal structure
淘宝账号如何快速提升到更高等级
Day019 方法重写与相关类的介绍
Shell(4) Conditional Control Statement
【软考 系统架构设计师】软件架构设计③ 特定领域软件架构(DSSA)
There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space
Mini Program_Dynamic setting of tabBar theme skin
[BJDCTF2020] EasySearch
C语言-大白话理解原码,反码和补码
dedecms error The each() function is deprecated
Bytebuffer put flip compact clear method demonstration
概率论的学习和整理8: 几何分布和超几何分布