T1042/T2080 vxWorks7开发笔记(二)
本章节主要讲解如果根据组件或根据设备树查找对应的驱动
- 网口驱动设备树
&fman0 {
ethernet@f0000 {
compatible = "fsl,fman-memac";
reg = <0xf0000 0x1000>;
};
mdio@f1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-tbi";
reg = <0xf1000 0x1000>;
- };
- MAC名称为fman-memac,在内核组件查询memac
- 可以看到这里的phy ,mdio,mac驱动都找到了,点击获取更加详详细的信息
用search 查询具体的驱动文件
网口驱动目录所在路径
查看串口对应驱动
serial0: serial@11c500 {
cell-index = <0>;
device_type = "serial";
compatible = "fsl,ns16550", "ns16550";
reg = <0x11c500 0x100>;
clocks = <&platform 1>;
clock-names = "platform-div2";
interrupts = <36 2 0 0>;
interrupt-parent = <&mpic>;
};
serial1: serial@11c600 {
cell-index = <1>;
device_type = "serial";
compatible = "fsl,ns16550", "ns16550";
reg = <0x11c600 0x100>;
clocks = <&platform 1>;
clock-names = "platform-div2";
interrupts = <36 2 0 0>;
interrupt-parent = <&mpic>;
};
Component DRV_SIO_FDT_NS16550 {
NAME UART support for ns16550-compatible FDT devices
SYNOPSIS ns16550 SIO support for FDT device
MODULES vxbNs16550Sio.o vxbFdtNs16550Sio.o
LINK_SYMS vxbFdtNs16550Drv
REQUIRES DRV_BUS_FDT_ROOT \
INCLUDE_ISR_DEFER \
INCLUDE_SIO
_CHILDREN FOLDER_DRIVERS
}
shell中不同于以往版本的几个命令
vxbDevShowPaths
Note: the "original" path uses the name of the device before a driver is bound. This
is the path that must be used when blacklisting devices for the hypervisor
mainbus-0 at root nexus
mainbus-0: <Freescale T2080QDS>
fdtBus0:
current path: '/mainbus0/fdtBus0'
fslBookeTimer0:
current path: '/mainbus0/fdtBus0/fslBookeTimer0'
original path: '/mainbus0/fdtBus0/timer0'
simpleBus0:
current path: '/mainbus0/fdtBus0/simpleBus0'
original path: '/mainbus0/fdtBus0/bman-portals0'
fsl,bman-portal0:
current path: '/mainbus0/fdtBus0/simpleBus0/fsl,bman-portal0'
original path: '/mainbus0/fdtBus0/simpleBus0/bman-portal0'
fsl,bman-portal1:
current path: '/mainbus0/fdtBus0/simpleBus0/fsl,bman-portal1'
original path: '/mainbus0/fdtBus0/simpleBus0/bman-portal0'
fsl,bman-portal2:
current path: '/mainbus0/fdtBus0/simpleBus0/fsl,bman-portal2'
original path: '/mainbus0/fdtBus0/simpleBus0/bman-portal0'
fsl,bman-portal3:
current path: '/mainbus0/fdtBus0/simpleBus0/fsl,bman-portal3'
original path: '/mainbus0/fdtBus0/simpleBus0/bman-portal0'
fsl,bman-portal4:
vxbDrvShow
vxbDrvShow
Driver [eeprom] class [vxbFdtBus] [At24 eeprom] (0x2f815c) (refs: 0)
Driver [i2c] class [vxbFdtBus] [Freescale Integrated I2C Controller] (0x2f8194) (refs: 1)
Driver [rtc] class [vxbFdtBus] [Dallas rtc] (0x2f81f4) (refs: 1)
Driver [fslBookeTimer] class [vxbFdtBus] [freescale booke timer driver] (0x2fdb04) (refs: 1)
Driver [genericPhy] class [vxbMiiBus] [Generic 10/100/1000 PHY driver] (0x2fe778) (refs: 3)
Driver [sgmiiPhy] class [vxbMiiBus] [Freescale SGMII PHY driver] (0x2fe7d0) (refs: 0)
Driver [mmdPhy] class [vxbMiiBus] [Clause 45 MMD PHY driver] (0x2fe834) (refs: 4)
Driver [memacMdio] class [vxbFdtBus] [Freescale MEMAC MDIO driver] (0x2fe8a8) (refs: 8)
Driver [memac] class [vxbFdtBus] [Freescale MEMAC END driver] (0x2fe9a8) (refs: 6)
Driver [QorIQQman] class [vxbFdtBus] [Freescale QorIQQman driver] (0x2fea10) (refs: 1)
Driver [fsl,qman-portal] class [vxbFdtBus] [Freescale QorIQQman Portal driver] (0x2fea60) (refs: 18)
Driver [QorIQFman] class [vxbFdtBus] [Freescale QorIQFman driver] (0x2feb08) (refs: 1)
Driver [QorIQBman] class [vxbFdtBus] [Freescale QorIQBman driver] (0x2feb38) (refs: 1)
Driver [fsl,bman-portal] class [vxbFdtBus] [Freescale QorIQBman Portal driver] (0x2feb88) (refs: 18)
Driver [qoriqClock] class [vxbFdtBus] [Freescale QorIQ clock driver] (0x2ff384) (refs: 1)
Driver [qoriqL3Cache] class [vxbFdtBus] [QorIQ L3 cache driver] (0x2ff3a4) (refs: 1)
Driver [coreNetL2Cache] class [vxbFdtBus] [CORENET L2 cache driver] (0x2ff3e4) (refs: 1)
Driver [qoriqFpga] class [vxbFdtBus] [Freescale QorIQ FPGwA driver] (0x2ff41c) (refs: 1)
Driver [qoriqLaw] class [vxbFdtBus] [Freescale Integrated LAW Controller] (0x2ff484) (refs: 1)
Driver [fslSdhc] class [vxbFdtBus] [freescale SDHC driver] (0x2ff52c) (refs: 1)
Driver [usbRootHub] class [vxbUsbRootHub] [USB Root Hub Driver] (0x2ffb08) (refs: 0)
Driver [usbDev] class [vxbUsbBus] [usb device driver] (0x2ffb50) (refs: 0)
Driver [usbCompDev] class [vxbUsbBus] [usb composite device driver] (0x2ffb70) (refs: 0)
Driver [ulpiViewPortPhy] class [vxbFdtBus] [USB ULPI ViewPort PHY FDT Driver] (0x2ffc9c)
vxWorks7 的启动过程
各类问题欢迎进群讨论:QQ群:245079182
T1042/T2080 vxWorks7开发笔记(二)相关推荐
- T1042/T2080 vxworks7 开发笔记(一)
vxworks7 为WindRiver 推出的新一代版本,相比较6.9特别是驱动部分有很大的改变,vxworks7 和linux很像,有设备树的概念,所以从linux移植驱动到vxworks7 会方便 ...
- 【Visual C++】游戏开发笔记二十七 Direct3D 11入门级知识介绍
游戏开发笔记二十七 Direct3D 11入门级知识介绍 作者:毛星云 邮箱: happylifemxy@163.com 期待着与志同道合的朋友们相互交流 上一节里我们介绍了在迈入Dire ...
- iOS工程开发笔记二
iOS工程开发笔记<二> 在Xcode 4, 5的模板工程中可以看到Precompile Prefix Header,但是在Xcode 6被去除了. Xcode 6去掉Precompile ...
- 微信小程序开发笔记二(WXSS和CSS样式美化)
微信小程序开发笔记二(WXSS和CSS样式美化) 一.CSS基本知识 1.Class选择器的定义 2.ID选择器的定义 3.ID选择器和class选择器的区别 4.CSS中设置颜色 5.CSS中的文本 ...
- [安卓开发笔记二]android Studio通过jni调用C++代码
[安卓开发笔记二]android Studio通过jni调用C++代码 16/12/11 更新 此博客基于安卓android studio 1.5所写,现在已经有了android studio2.2的 ...
- 【Visual C++】游戏开发笔记二十七 Direct3D 11入门级知识介绍
本系列文章由zhmxy555(毛星云)编写,转载请注明出处. http://blog.csdn.net/zhmxy555/article/details/7707628 作者:毛星云 邮箱: happ ...
- 【Visual C++】游戏开发笔记二十三 游戏基础物理建模 五 粒子系统模拟 二
分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! 本系列文 ...
- 【Visual C++】游戏开发笔记二十三 游戏基础物理建模(五) 粒子系统模拟(二)
本系列文章由zhmxy555(毛星云)编写,转载请注明出处. http://blog.csdn.net/zhmxy555/article/details/7607916 作者:毛星云 邮箱: h ...
- 【Visual C++】游戏开发笔记二十一 游戏基础物理建模(三) 摩擦力系统模拟
本系列文章由zhmxy555(毛星云)编写,转载请注明出处. http://blog.csdn.net/zhmxy555/article/details/7555785 作者:毛星云 邮箱: h ...
最新文章
- 主题博客成功的10个理由
- THINKPHP 分页类
- 海思 HI35* rtsp服务器
- WinDbg调试.NET程序入门
- leetcode 304. Range Sum Query 2D - Immutable |304. 二维区域和检索 - 矩阵不可变(二维前缀和问题)
- linux内核参数的程序,技巧-Linux内核参数调整办法
- 测试开发之软件测试模型
- (转)tomcat配置访问项目时不需要加项目名称
- python跳过本次循环_Python的一些格式与逻辑控制语句
- java executor 例子_Java中Executor框架的实例
- FLOPs和模型参数计算
- Office编程-RPC服务器不可用
- 0/1背包——动态规划
- 大数据技术栈思维导图
- 硬盘柱面损坏怎么办_最靠谱的机械硬盘坏道修复工具一:DiskGenius
- voxel体素网络滤波器
- leetcode-分糖果问题-84
- 升级 | 联想Y430p更换SSD、增加8G内存条
- 寒江独钓windows 内核安全编程学习笔记
- 相关性分析热点图_防老剂TMQ及6PPD价格上涨逻辑分析及后市展望