linux 驱动
简书成研
求实求真,大气大为
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LINUX 设备驱动(完善 版(三))
dev_fifo.c#include #include #include #include #include #include #include #include #define MAJOR_NUM 250struct MycDev{ int len; unsigned char buff[50]; struct cdev cdev;};static原创 2017-01-03 18:32:11 · 520 阅读 · 0 评论 -
嵌入式linux之Uboot和系统移植--基础
《uboot和系统移植-第1部分-uboot学习前传》(观看朱友鹏老师视频后整理的笔记) 1.为什么要有uboot2.为什么是uboot3.uboot必须解决哪些问题4.uboot的工作方式5.uboot的常用命令16.uboot的常用命令27.开发板和主机的ping通8.uboot的常用命令39.uboot的常用命令410.uboot的常用转载 2017-01-05 16:26:20 · 1175 阅读 · 0 评论 -
make menuconfig 配置
1 在编译success 的driver中 添加文件夹mkdir bunfly创建3个文件, bunfly.c vim Kconfig menuconfig bunfly_MODULE 2 bool "bunfly modul" 3 help 4 "bunfly test module"原创 2016-01-25 17:49:19 · 908 阅读 · 0 评论 -
LINUX 设备驱动(完善 版(二))
dev_fifo.c#include #include #include #include #include #include #define MAJOR_NUM 250struct _MycDev { int len; char buff[50]; struct cdev cdev;};static dev_t g_pDevN原创 2016-12-30 18:30:45 · 431 阅读 · 0 评论 -
LINUX 设备驱动 (一)
#include #include #include #include static struct cdev chr_dev;static dev_t ndev;static int chr_open(struct inode* nd, struct file* filp){ int major ; int minor; major = MAJOR(nd->i_rdev原创 2016-12-29 16:09:18 · 478 阅读 · 0 评论
分享