ARM Linux为什么要引进Device Tree
2014-01-10 18:11
417 查看
1. 原因
A lot of very similar C code to support each and every board.
Linux kernel老的Probing机制
关键是:
要提供一个board file,用于registers SOC的各个设备.
要提供一个SOC file
因此,引入Device Tree:
separate a large part of the hardware description from the kernel sources.
2. Device Tree
此概念:源自Open Firmware,在PPC 平台,已使用很长时间!
The Device Tree is a tree of nodes.
Describing the different hardware components of a system and their characteristics.
使用一种特殊语言来书写.
通过Device Tree Compiler编译为Device Tree Blob.
.dts files for boards.
.dtsi for include files.
示例:
3. Device Tree用法
A lot of very similar C code to support each and every board.
Linux kernel老的Probing机制
关键是:
要提供一个board file,用于registers SOC的各个设备.
要提供一个SOC file
因此,引入Device Tree:
separate a large part of the hardware description from the kernel sources.
2. Device Tree
此概念:源自Open Firmware,在PPC 平台,已使用很长时间!
The Device Tree is a tree of nodes.
Describing the different hardware components of a system and their characteristics.
使用一种特殊语言来书写.
通过Device Tree Compiler编译为Device Tree Blob.
.dts files for boards.
.dtsi for include files.
示例:
3. Device Tree用法
相关文章推荐
- ARM Linux为什么要引进Device Tree
- ARM Linux为什么要引进Device Tree
- 【嵌入式Linux学习七步曲之第二篇 ARM+Linux开发环境】详解为什么开发板的TFTP、NFS等网络功能神奇消失
- arm-linux-gcc配置好环境变量为什么还显示找不到目录
- 简单描述为什么编译Android C程序所用的交叉编译工具链是arm-linux-androideabi-xx不是GNU开发的工具链arm-linux-gnueabi-xx?
- 交叉编译工具链为什么是arm-linux-而不是arm-linux-gcc
- Device Tree(一):为何ARM linux会引入Device Tree
- 【嵌入式Linux+ARM】阶段性总结(Makefile & 链接文件)
- arm-linux-tool
- 交叉编译场景分析(arm-linux)(四)--编译readline和ncurses
- 为什么要用Linux?
- arm-linux-gcc的官方源码寻找过程
- <2012 12 20> Gcc/ARM/Linux Kernel关于浮点运算的一些说明(很有用!)
- arm-linux-gcc arm-elf-gcc 区别
- linux中为什么要有分段和分页机制
- Linux(十二):守护进程为什么fork两次?
- 【转】Ubuntu 12.04下安装arm-linux-gcc等gnu arm toolchain交叉编译工具
- 关于Linux下Eclipse及ARM-linux编译方法的文章
- arm-linux-strip
- Uboot打补丁-mini2440打补丁-安装arm-linux-gcc 3.4.5