Reading the flattened device tree

If CONFIG_PROC_DEVICETREE is set in the kernel configuration options,

you can view the actual device tree parsed by the kernel from within the /proc file system after booting.

For example, you can execute a find for all nodes under /proc/device-tree:

 

posted @ 2019-12-12 16:21  嵌入式实操  阅读(152)  评论(0编辑  收藏  举报