当前位置:网站首页>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
边栏推荐
- 【测量学】速成汇总——摘录高数帮
- Mysql's redo log detailed explanation
- App rapid development and construction experience: the importance of small programs + custom plug-ins
- 不看后悔,appium自动化环境完美搭建
- 程序开发的一些常规套路(一)
- 多御安全浏览器 V10.8.3.1 版正式发布,优化多项内容
- Please write the SparkSQL statement
- Feature preprocessing
- 虚证、实证如何鉴别?
- 工业级远距离无线传输装置的功能有哪些?
猜你喜欢

bytebuffer 使用demo

Machine Learning Overview

概率论的学习和整理8: 几何分布和超几何分布

University Physics---Particle Kinematics

There are several common event handling methods in Swing?How to listen for events?

Error creating bean with name ‘configDataContextRefresher‘ defined in class path resource

浅析主流跨端技术方案

8.04 Day35-----MVC三层架构

动力小帆船制作方法简单,电动小帆船制作方法

App快速开发建设心得:小程序+自定义插件的重要性
随机推荐
Why did you start preparing for the soft exam just after the PMP exam?
多列属性column元素的可见性:display、visibility、opacity、垂直对齐方式:vertical-align、z-index 越大越显示在上层
从企业的视角来看,数据中台到底意味着什么?
说说数据治理中常见的20个问题
炎炎夏日教你利用小米智能家居配件+树莓派4接入Apple HomeKit
NPDP证书含金量高吗?跟PMP相比?
upload upload pictures to Tencent cloud, how to upload pictures
使用IDEA连接TDengine服务器
Day14 jenkins部署
MySql index learning and use; (I think it is detailed enough)
Feature preprocessing
Shell(4)条件控制语句
【无标题】
bytebuffer 使用demo
开发属于自己的node包
【软考 系统架构设计师】软件架构设计③ 特定领域软件架构(DSSA)
1007 Climb Stairs (greedy | C thinking)
ESP32 485光照度
关于sklearn库的安装
UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)