• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






youngvoice

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  Driver

1 2 下一页

 
pci
摘要:https://www.ibm.com/developerworks/cn/linux/l-pci/ 阅读全文
posted @ 2016-09-11 23:35 youngvoice 阅读(108) 评论(0) 推荐(0)
spi controller
摘要:http://blog.csdn.net/droidphone/article/details/24353293 http://www.china-cpu.com/supports/article/0101001.html 阅读全文
posted @ 2016-09-11 22:52 youngvoice 阅读(217) 评论(0) 推荐(0)
usb host驱动
摘要:参考 http://blog.csdn.net/star530/article/details/8019604 阅读全文
posted @ 2016-09-09 22:51 youngvoice 阅读(228) 评论(0) 推荐(0)
spi_flash
摘要:http://blog.chinaunix.net/uid-27406766-id-3384699.html 阅读全文
posted @ 2016-09-01 23:16 youngvoice 阅读(115) 评论(0) 推荐(0)
u-boot 中的nand flash管理
摘要:http://www.eefocus.com/lishutong/blog/13-06/295365_90ddf.html 阅读全文
posted @ 2016-08-28 17:37 youngvoice 阅读(190) 评论(0) 推荐(0)
设备树
摘要:设备树参考: http://blog.csdn.net/21cnbao/article/details/8457546 http://docs.oracle.com/cd/E38902_01/html/E38873/kernelovr-64300.html# http://www.linuxidc. 阅读全文
posted @ 2016-07-25 22:12 youngvoice 阅读(129) 评论(0) 推荐(0)
linux键盘驱动
摘要:http://blog.csdn.net/beyondhaven/article/details/5753182 http://blog.chinaunix.net/uid-20564848-id-73358.html 阅读全文
posted @ 2016-05-31 11:06 youngvoice 阅读(193) 评论(0) 推荐(0)
内核 platform_get_resource() 函数解析
摘要:struct resource *platform_get_resource(struct platform_device *dev, unsigned int type, unsigned int num) { int i; for (i = 0; i < dev->num_resources; 阅读全文
posted @ 2016-04-26 11:23 youngvoice 阅读(1611) 评论(0) 推荐(0)
混杂设备的实现
摘要:http://blog.csdn.net/tianxiawuzhei/article/details/7588504 总结: 在 misc_register() 中调用 device_create() ,所以将自动创建设备文件 /dev/dev_name 阅读全文
posted @ 2016-04-26 10:30 youngvoice 阅读(122) 评论(0) 推荐(0)
驱动模块中控制系统时钟
摘要:http://www.cnblogs.com/hoys/archive/2011/03/26/1996474.html http://blog.chinaunix.net/uid-26675482-id-4347753.html summary point : 1. 查看模块电路与系统时钟的连接 阅读全文
posted @ 2016-04-26 09:59 youngvoice 阅读(197) 评论(0) 推荐(0)
模块移除 命令rmmod 的实现
摘要:// rmmod.c #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <errno.h> int main(int argc, cha 阅读全文
posted @ 2016-04-16 23:08 youngvoice 阅读(525) 评论(0) 推荐(0)
led 的 platform驱动实现
摘要:http://www.linuxidc.com/Linux/2014-03/97756.htm http://blog.sina.com.cn/s/blog_6b94d5680101cn0t.html http://blog.csdn.net/yicao821/article/details/678 阅读全文
posted @ 2016-04-16 15:16 youngvoice 阅读(170) 评论(0) 推荐(0)
kconfig语法
摘要:参考:http://www.cnblogs.com/Daniel-G/p/3284791.html 阅读全文
posted @ 2016-04-15 14:29 youngvoice 阅读(187) 评论(0) 推荐(0)
嵌入式开发中相关开发环境搭建
摘要:1. 配置过程中有与开发版网络启动服务有关的tftp ,nfs 2. 与文件共享有关的 samba 3. 关闭系统网络安全管理软件selinux ,iptables 阅读全文
posted @ 2016-04-10 10:02 youngvoice 阅读(152) 评论(0) 推荐(0)
嵌入式开发
摘要:参考:http://www.cnblogs.com/iwasmu/archive/2009/05/29/1491570.html 阅读全文
posted @ 2016-04-01 09:42 youngvoice 阅读(116) 评论(0) 推荐(0)
驱动模块程序文件的运行入口
摘要:1. 驱动程序可以被静态的被编译进内核中,也可以作为模块在使用时加载。 2. 当模块文件被 insmod 命令加载时,其中的模块初始化函数将被调用,该函数向内核注册驱动程序,及该初始化函数就是给模块驱动程序的入口。 3. 当模块被 rmmod 命令卸载时,模块清除函数将被调用。 相关命令有:insm 阅读全文
posted @ 2016-03-12 11:28 youngvoice 阅读(265) 评论(0) 推荐(0)
linux 设备驱动分类
摘要:1. 字符设备 :在I/O传输过程中以字符为单位。 2. 块设备: 在传输过程中以块为单位,相关概念有 缓冲,I/O调度,请求队列。主要体现出与字符设备在操作硬件的接口实现方式上是不一样的。 3. 网络设备: 阅读全文
posted @ 2016-03-12 11:01 youngvoice 阅读(489) 评论(0) 推荐(0)
NFS 网络文件系统制作
摘要:1. 构建根文件系统主要是建立相关的文件目录,以及各目录下相关的配置文件、管理工具等。2. 首先创建文件目录。 mkdir rootfs cd rootfs mkdir bin dev etc lib proc sbin sys usr mnt tmp var mkdir u... 阅读全文
posted @ 2015-10-15 11:51 youngvoice 阅读(258) 评论(0) 推荐(0)
DM 9000网卡驱动移植
摘要:1. 由于内核已经带有DM9000 网卡的驱动,所以主要移植工作是在板文件中添加 platform_device 结构,并加入 ok6410_devices[] __initdata 数组。 代码如下: /*DM9000*/ #define DM9000_IRQ_EINT0 IRQ_EINT(7) 阅读全文
posted @ 2015-10-14 19:55 youngvoice 阅读(253) 评论(0) 推荐(0)
构建BSP (boardsupport packet)
摘要:由于移植期间遇到较多头文件包含及常量定义问题,故在此总结如下: 常量定义一般涉及到寄存器定义、寄存器配置常量定义,寄存器配置常量一般在驱动目录下自定义,所以如果编译过程中出现常量未定义的情况一般是属于寄存器未定义。一、BSP 的层次及对应的文件 1. cpu体系结构文件 /arch/xxx... 阅读全文
posted @ 2015-10-13 10:31 youngvoice 阅读(286) 评论(0) 推荐(0)
 

1 2 下一页