可视化Linux内核使用的设备树文件(dtb)的工具? [英] Tool to visualize the device tree file (dtb) used by the Linux kernel?

查看:1285
本文介绍了可视化Linux内核使用的设备树文件(dtb)的工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种可以图形化表示Linux内核中使用的硬件设备树的工具.我正在尝试了解特定ARM芯片组的Linux内核.这将是一个非常有用的工具.

I am looking for a tool which can graphically represent the hardware device tree used in linux kernel. I am trying to understand linux kernel for particular arm chipset. It would be a really useful tool to have.

推荐答案

您可以尝试组件检查器工具.

它是 QorIQ配置套件的一部分 ,它是Eclipse的插件.

It is part of QorIQ Configuration Suite which is a plugin for Eclipse.

下载 这里 . (需要注册.可以免费下载.)

Download here. (Requires registration. Free to download.)

就我个人而言,大部分时间我都在cmd线上,并且非常沉迷于vi,我发现只要 dts 已正确缩进.

Personally as i am on the cmd-line most of the time, and quite addicted to vi, i find its built-in code folding capabilities are somewhat sufficient as long as the dts is properly indented.

设置热键命令以折叠/扩展vi
中的代码块 通过将以下行添加到.vimrc:

Setup hot-keys commands to fold/expand blocks of code in vi
by adding the following lines to .vimrc :

nnoremap <silent> <F5> zfa}<CR>
nnoremap <silent> <F6> zo<CR>

使用上述设置,要折叠一个块/节点,只需将光标移动到其任何行上(标题除外),然后按 F5 .要展开折叠的块/节点,请移动到折叠标题的行,然后按 F6 .

With the above setup, to fold a block/node, simply move the cursor onto any of its lines(except the title) and hit F5. To expand a folded block/node, move to the line with the folded title and hit F6.

这是vi中部分折叠的dts的样子.

Here is what a partially folded dts looks like in vi.

这篇关于可视化Linux内核使用的设备树文件(dtb)的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆