当前位置:网站首页>How is the tree structure of the device tree reflected?
How is the tree structure of the device tree reflected?
2022-08-01 01:19:00 【snail taking off】
1、dts示例源码
/ {
model = "Hisilicon HI3516DV300 DEMO Board";
compatible = "hisilicon,hi3516dv300";
memory {
device_type = "memory";
reg = <0x82000000 0x20000000>;
};
chosen {
bootargs = "console=ttySAC2,115200n8 root=/dev/nfs nfsroot=192.168.0.101:/home/run/work/rootfs/";
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "hisilicon,hi3516dv300";
[email protected]0 {
device_type = "cpu";
compatible = "arm,cortex-a7";
clock-frequency = <HI3516DV300_FIXED_1000M>;
reg = <0>;
};
[email protected]1 {
device_type = "cpu";
compatible = "arm,cortex-a7";
clock-frequency = <HI3516DV300_FIXED_1000M>;
reg = <1>;
};
};
};
2、转换成树形结构

(1)"/"是根节点,The way the entire data is organized andlinuxThe type of folder management method in ,are tree structures;
(2)The above only represents the data organization form of the device tree from a macro level,For more details refer to the blog:《linuxThe parsing of the device tree during the kernel startup phase》;
边栏推荐
猜你喜欢

MYSQL经典面试题

数据中台建设(七):数据资产管理

Euler system (euleros): upgrade Mysql

MYSQL二阶段提交

ECCV2022 Workshop | Multi-Object Tracking and Segmentation in Complex Environments

Four ways the Metaverse is changing the way humans work

Southern University of Science and Technology: Xiaoying Tang | AADG: Automatic Enhancement for Generalization in the Field of Retinal Image Segmentation

MVCC总结

YOLO怎么入门?怎么实现自己的训练集?

SC7A20 (Silan Micro-Accelerometer) Example
随机推荐
Beijing suddenly announced that yuan universe big news
现代企业架构框架1
Daily practice of LeetCode - Circular linked list question (interview four consecutive questions)
Super like the keyboard made from zero, IT people love it
how to edit the table of contents of an epub ebook
Euler system (euleros): upgrade Mysql
软考高级系统架构设计师系列之:系统开发基础知识
Introduction to the five data types of Redis
js 实现复制功能
Fat interface in JQESAP system
MYSQL经典面试题
Rasa 3.x 学习系列-使用查找表改进实体提取
What practical projects can machine learning beginners learn?
Rasa 3.x Learning Series - Using Lookup Tables to Improve Entity Extraction
leetcode: 1562. Find latest grouping of size M [simulation + endpoint record + range merge]
机器学习应该如何入门?
WebApi hits an Attribute to handle exceptions uniformly
IDEA修改注释字体
考研备考方案
IDEA调试