当前位置:网站首页>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》;
边栏推荐
- 链式编程、包、访问权限
- sqlserver无法远程连接
- ROS2 series of knowledge (4): understand the concept of [service]
- MYSQL索引解析
- 【元胞自动机】基于matlab界面聚合元胞自动机模拟【含Matlab源码 2004期】
- 软考高级系统架构设计师系列之:信息系统基础知识
- Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
- MYSQL Keyword Explain Analysis
- Nmap 操作手册 - 完整版
- What is the meaning of JS timestamp?Know SQL will consider to add a timestamp, JS timestamp for the scene?
猜你喜欢
【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】
Kyoto University: Masaki Waga | Dynamic Masking for Reinforcement Learning in Black Box Environments
北京突然宣布,元宇宙重大消息
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
Unity3D学习笔记10——纹理数组
pycaret source code analysis: download dataset\Lib\site-packages\pycaret\datasets.py
[Data analysis] Based on matlab GUI student achievement management system [including Matlab source code 1981]
MYSQL索引解析
MYSQL two-phase commit
欧拉系统(euleros):升级Mysql
随机推荐
You need to know the TCP wave four times
MYSQL事务
Chinese version of Pylint inspection rules
Google "Cloud Developer Quick Checklist"; Tsinghua 3D Human Body Dataset; SenseTime "Universal Vision Framework" open class; Web3 Minimalist Getting Started Guide; Free Books for Efficient Deep Learni
考研备考方案
你需要知道的 TCP 四次挥手
Application of integrated stepper motor in UAV automatic airport
RTL8762DK WDG (six)
【元胞自动机】基于matlab界面聚合元胞自动机模拟【含Matlab源码 2004期】
ECCV2022 Workshop | Multi-Object Tracking and Segmentation in Complex Environments
In 2022, the latest eight Chongqing construction members (electrical construction workers) simulation question bank and answers
软考高级系统架构设计师系列之:信息系统基础知识
sqlserver无法远程连接
Classes and Objects: Medium
Carefully summarize thirteen suggestions to help you create more suitable MySQL indexes
[Microservice] Distributed Transaction Solution - Seata
【密码学/密码分析】基于TMTO的密码分析方法
Binary tree traversal non-recursive program -- using stack to simulate system stack
MYSQL master-slave replication
sqlserver cannot connect remotely