linux-kernel - 如何获取 U-boot 的启动日志

标签 linux-kernel bootloader u-boot

我知道我可以使用 dmesg 命令获取 Linux 启动日志,但不知道如何在我的系统刚启动时获取 U-boot 的启动日志。我也尝试过 Go-ogling,但我得到的只是到处都是 dmesg 引用。

另外我不确定 U-boot 中的 CRM 是什么?
我在基于 ARM 的目标板上。

最佳答案

U-Boot 的控制台输出不会保存在任何地方(默认情况下)。
因此,没有显示“日志”。
您必须在输出时捕获 U-Boot 的控制台消息(例如,使用终端仿真程序的日志记录功能),否则它们将永远消失。

Also I am not sure what is CRTM in U-boot?



“CRTM”不是 U-Boot AFAIK 的标准术语。
它可能指的是 secure bootstrap program加载U-Boot。

关于linux-kernel - 如何获取 U-boot 的启动日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19469747/

相关文章:

linux - 用户空间程序作为内置对象

linux - 执行 ioctl 时关闭文件描述符

c - 如何调试/跟踪套接字编程

linux - 如何在不使用可加载内核模块(LKM)的情况下在/proc中添加文件

程序集引导加载程序未跳转到内核

linux-kernel - 覆盆子 3 : booting a Kernel by using U-Boot

U盘。一切从哪里开始?

linux - 使用 U-Boot 从闪存上传固件

c - 如何修复 "Infinite Loop error on jumping to C code from bootloader"

linux - 编译内核不使用 initrd