文章分类 -  Linux_嵌入式 / Linux Device Tree

上一页 1 2 3 下一页

调用of_platform_populate函数创建platform device
摘要:转载于 : http://www.voidcn.com/blog/bin_linux96/article/p-1210202.html解析完DTB以后,会调用of_platform_populate函数创建platform device,调用顺序如下: of_platform_populate of_platform_bus_create of_platform_device_c... 阅读全文

posted @ 2017-02-23 12:46 Red_Point 阅读(2436) 评论(0) 推荐(0) 编辑

unflatten_dt_node ( dtb解析主要函数,解析完构成了 device node 树,会调用of_platform_populate函数创建platform device )
摘要:转载于 :http://www.voidcn.com/blog/bin_linux96/article/p-1210202.html /** * unflatten_dt_node - Alloc and populate a device_node from the flat tree * @blob: The parent device tree blob * @mem: Memor... 阅读全文

posted @ 2017-02-23 12:37 Red_Point 阅读(2184) 评论(0) 推荐(0) 编辑

of_platform_populate(....) 及 其他 (和解析有关系,很重要)
摘要:转载于 : http://blog.csdn.net/wlwl0071986/article/details/8896718 原标题: Linux加载DTS设备节点的过程(以高通8974平台为例) 转载于 : http://blog.csdn.net/wlwl0071986/article/deta 阅读全文

posted @ 2017-02-22 19:30 Red_Point 阅读(1894) 评论(0) 推荐(0) 编辑

linux设备树笔记__dts基本概念及语法【转】
摘要:转自:http://www.360doc.com/content/15/1113/11/15700426_512794532.shtml 或者 : http://www.cnblogs.com/sky-heaven/p/5817844.html 设备树手册(Device Tree Usage)原文地 阅读全文

posted @ 2017-02-21 17:28 Red_Point 阅读(904) 评论(0) 推荐(0) 编辑

Linux device tree 简要笔记(......)
摘要:转载于: http://www.cnblogs.com/chineseboy/p/5235608.html 第一、DTS简介 在嵌入式设备上,可能有不同的主板 它们之间差异表现在主板资源不尽相同,比如I2C、SPI、GPIO等接口定义有差别,或者是Timer不同,等等。于是这就产生了BSP的一个说法 阅读全文

posted @ 2017-02-21 14:18 Red_Point 阅读(430) 评论(0) 推荐(0) 编辑

device tree_Mine
摘要:一 .学习理解思路: 1.dts文件; device tree文件结构(怎样编写和修改); 2.dtc编译成dtb(二进制文件 dtb文件结构(关系到文件的提取和解析) ): 重点1: Header里保存有device tree , string block 在dtb文件里的偏移地址等信息; 重点2 阅读全文

posted @ 2017-02-18 18:15 Red_Point 阅读(137) 评论(0) 推荐(0) 编辑

device tree ( external-bus , rangs , eg : 32位arm cpu dts文件由简单到复杂例子 ------ 很好 , 重点 )
摘要:(1).另外一个例子 http://46aae4d1e2371e4aa769798941cef698.devproxy.yunshipei.com/woshidahuaidan2011/article/details/52948732 (2) 转载于 : https://github.com/hua 阅读全文

posted @ 2017-02-17 19:29 Red_Point 阅读(1916) 评论(0) 推荐(0) 编辑

3.x版本内核中platform_device的生成 (status = "ok" 或 "okay" 解析)
摘要:转载于 : http://blog.csdn.net/mcgrady_tracy/article/details/42777969 内核版本:Linux-3.18.2 在3.x版本内核中platform_device不再静态定义,而是通过device tree来动态生成,例如(arch/arm/ma 阅读全文

posted @ 2017-02-17 17:31 Red_Point 阅读(1321) 评论(0) 推荐(0) 编辑

device tree 设备树中中断节点的创建 ( interrupt属性 , = <2> , 或 <4> ; external-bus的ranges属性 ; 硬件到软件dts的确定实例 )
摘要:转载于 : http://blog.csdn.net/zqixiao_09/article/details/50916212 题目: Exynos4412 中断驱动开发(三)—— 设备树中中断节点的创建 提到中断就必须了解到GIC,下面先了解一下GIC 一、GIC概念 GIC(Generic Int 阅读全文

posted @ 2017-02-15 23:54 Red_Point 阅读(18531) 评论(0) 推荐(1) 编辑

GIC , SPI , PPI (窝窝科技的文章题目改了下)
摘要:转载于: http://www.wowotech.net/irq_subsystem/gic-irq-chip-driver.html GIC驱动代码分析(废弃) 这份文档状态是:废弃,新的文档请访问http://www.wowotech.net/linux_kenrel/gic_driver.ht 阅读全文

posted @ 2017-02-15 21:10 Red_Point 阅读(5840) 评论(0) 推荐(0) 编辑

内核3.x版本之后设备树机制 ( dtb二进制文件结构,header,device-tree 结构,树形结构,machine结构 , dtb加载和解析,函数调用 , aliase 节点 &i2c6{...} )
摘要:转载于 : http://rick_stone.leanote.com/post/%E5%86%85%E6%A0%B83.x%E7%89%88%E6%9C%AC%E4%B9%8B%E5%90%8E%E8%AE%BE%E5%A4%87%E6%A0%91%E6%9C%BA%E5%88%B6 内核3.x版 阅读全文

posted @ 2017-02-15 00:29 Red_Point 阅读(9953) 评论(0) 推荐(2) 编辑

让TQ2440也用上设备树 (device tree 操作实例3_重要,对于移植很有参考价值_code)
摘要:详细看 : http://www.cnblogs.com/pengdonglin137/p/6241895.html Linux: Linux-4.9 (https://github.com/pengdonglin137/linux-4.9 ) u-boot:U-Boot 2015.04 (http 阅读全文

posted @ 2017-02-14 22:10 Red_Point 阅读(978) 评论(0) 推荐(0) 编辑

基于tiny4412的Linux内核移植 (device tree 操作实例2_涉及到u-boot和内核的一系列文章 )
摘要:详细看博客: http://www.cnblogs.com/pengdonglin137/p/5137941.html 阅读全文

posted @ 2017-02-14 19:45 Red_Point 阅读(161) 评论(0) 推荐(0) 编辑

高通 msm平台GPIO相关的device tree设置 (device tree 操作实例1)
摘要:转载于: http://blog.csdn.net/viewsky11/article/details/53402536 GPIO相关的dvice tree设置和interrupt设置 gpoi号以及gpio相关的属性设置 以tsp的proxy_en端口为例: 在相应的驱动里边,取gpio编号以及设 阅读全文

posted @ 2017-02-14 19:38 Red_Point 阅读(10762) 评论(0) 推荐(1) 编辑

ARM Linux 3.x的设备树( spi 与 ppi ; extern-bus,rangs )_sbh
摘要:转载于: http://blog.csdn.net/21cnbao/article/details/8457546 1. ARM Device Tree起源 Linus Torvalds在2011年3月17日的ARM Linux邮件列表宣称“this whole ARM thing is a f*c 阅读全文

posted @ 2017-01-27 23:22 Red_Point 阅读(1620) 评论(0) 推荐(0) 编辑

Device Tree(三):代码分析(解析device tree , 运行参数)
摘要:转载于: http://www.wowotech.net/device_model/dt-code-analysis.html 一、前言 Device Tree总共有三篇,分别是: 1、为何要引入Device Tree,这个机制是用来解决什么问题的?(请参考引入Device Tree的原因) 2、D 阅读全文

posted @ 2017-01-27 21:01 Red_Point 阅读(396) 评论(0) 推荐(0) 编辑

Device Tree(二):基本概念_结合sbh理解(interrupt cells , linux - 3.14 , 设备树文件实例 , 最详细容易理解 , &i2c, &引用标号)
摘要:转载于: http://www.wowotech.net/linux_kenrel/dt_basic_concept.html 一、前言 一些背景知识(例如:为何要引入Device Tree,这个机制是用来解决什么问题的)请参考引入Device Tree的原因,本文主要是介绍Device Tree的 阅读全文

posted @ 2017-01-27 20:56 Red_Point 阅读(725) 评论(0) 推荐(0) 编辑

Device Tree(一):背景介绍
摘要:转载于: http://www.wowotech.net/device_model/why-dt.html 一、前言 作为一个多年耕耘在linux 2.6.23内核的开发者,各个不同项目中各种不同周边外设驱动的开发以及各种琐碎的、扯皮的俗务占据了大部分的时间。当有机会下载3.14的内核并准备学习的时 阅读全文

posted @ 2017-01-27 20:54 Red_Point 阅读(153) 评论(0) 推荐(0) 编辑

(DT系列六)devicetree中数据和 struct device有什么关系
摘要:转载于: http://blog.csdn.net/lichengtongxiazai/article/details/38942047 devicetree中数据和structdevice有什么关系 总体来说,devicetree与structdevice的关系应该还是在其生成platformde 阅读全文

posted @ 2017-01-27 19:54 Red_Point 阅读(365) 评论(0) 推荐(0) 编辑

(DT系列五)Linux kernel 是怎么将 devicetree中的内容生成plateform_device ( of_platform_populate ,unflatten_device_tree, 创建 platform device的过程 )
摘要:转载于 : http://blog.csdn.net/lichengtongxiazai/article/details/38942033 Linux kernel 是怎么将 devicetree中的内容生成plateform_device1,实现场景(以Versatile Express V2M为 阅读全文

posted @ 2017-01-27 19:52 Red_Point 阅读(346) 评论(0) 推荐(0) 编辑

上一页 1 2 3 下一页

导航