当前位置:网站首页>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》;
边栏推荐
- GDB source code analysis series of articles five: dynamic library delay breakpoint implementation mechanism
- 【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】
- Key Points Estimation and Point Instance
- Rasa 3.x 学习系列- Rasa - Issues 4898 学习笔记
- RTL8762DK UART (two)
- An open source and easy-to-use flowchart drawing tool drawio
- 500 miles
- 微信小程序之小程序页面语法
- Rasa 3.x 学习系列- Rasa - Issues 4918 学习笔记
- What practical projects can machine learning beginners learn?
猜你喜欢
Rainbow share | how to use moving targets defense technology to guard against the unknown
Notes on how to use zeno
LeetCode每日一练 —— 环形链表问题(面试四连问)
Basic implementation of vector
leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
【密码学/密码分析】基于TMTO的密码分析方法
蓝图:杨辉三角排列
你需要知道的 TCP 四次挥手
Modern Enterprise Architecture Framework 1
[AMEX] LGBM Optuna American Express Credit Card Fraud Contest kaggle
随机推荐
MYSQL logical architecture
IDEA无法识别module(module右下角没有蓝色小方块)
OSD read SAP CRM One Order application log way of optimization
IDEA调试
Matlab/ArcGIS processing GPM global monthly precipitation data
Design the message queue storage MySQL form of message data
OSF一分钟了解敏捷开发模式
数据中台建设(七):数据资产管理
C字符串数组反转
【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】
Rasa 3.x 学习系列- Rasa - Issues 4898 学习笔记
mySql data view
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
Detailed explanation of TCP protocol
Web3.0: Building an NFT Market (1)
What is the meaning of JS timestamp?Know SQL will consider to add a timestamp, JS timestamp for the scene?
Kyoto University: Masaki Waga | Dynamic Masking for Reinforcement Learning in Black Box Environments
链式编程、包、访问权限
机器学习初学者可以学哪些实战项目?
LeetCode--The problem of robbery