本文采用nfs挂载网络文件系统的方式,手动创建设备节点,
动态加载驱动模块,对理解驱动编写流程有很大好处!
一、初级驱动执行流程:
1、写好Makefile文件,里面包含将应用程序编译成app文件,将驱动程序编译成mydrv.ko文件的脚本
2、在ubuntu里执行sudo make
3、确保mydrv.ko和app被拷贝到nfs挂载的根文件系统的/modules目录
...
分类:
系统相关 时间:
2015-05-21 01:23:28
阅读次数:
253
前言 在之前的博文里详细地讲述了如何在OpenWrt下建立一个软件包(package),如:[OpenWrt对C++11的支持],[OpenWrt创建软件包]。 但是有个问题博主始终没有弄明白。为什么我们 make 一下,管理器就为我们从网上...
分类:
其他好文 时间:
2015-05-21 00:09:11
阅读次数:
242
https://www.atlassian.com/git/tutorials/comparing-workflowsComparing WorkflowsThe array of possible workflows can make it hard to know where to begin ...
分类:
其他好文 时间:
2015-05-20 23:44:55
阅读次数:
160
OpenWrt 目录下的 trunk 结构如下: [trunk]$?ls
bin/?????????Config.in??feeds.conf.default??rules.mk?????tmp/
BSDmakefile??dl/????????include/????????????scr...
分类:
其他好文 时间:
2015-05-20 20:45:09
阅读次数:
225
原文:http://www.cocoachina.com/bbs/read.php?tid=301146[view1 mas_makeConstraints:^(MASConstraintMaker *make) {make.edges.equalTo(superview).with.insets(...
分类:
其他好文 时间:
2015-05-20 17:55:43
阅读次数:
153
不能在SecureCRT中做(显示为乱码),从高手那里学来一招,解决了这个问题:options--terminal--emulation-- xterm ansi color1、先设置终端为xterm模式,并选中ANSI颜色:2、置字符编码为无3、可以做make menuconfig了
分类:
其他好文 时间:
2015-05-20 17:52:31
阅读次数:
797
最近看project的makefile,又见到了sed的强大编辑能力,在makefile工作之前,通常都是执行脚本或者make menuconfig来配置好各种全局变量。sed活动阶段通常在bash shell中,正好再了解一下。1. Sed简介sed 是一种在线编辑器,它一次处理一行内容。处理.....
分类:
系统相关 时间:
2015-05-20 12:45:20
阅读次数:
270
Vasya is the beginning mathematician. He decided to make an important contribution to the science and to become famous all over the world. But how can he do that if the most interesting facts such as P...
分类:
其他好文 时间:
2015-05-20 09:57:25
阅读次数:
97
jQuery.extend({ parseJSON: function (data) { if (typeof data !== "string" || !data) { return null; } // Make sure leading/trailing whitespace is remov...
分类:
Web程序 时间:
2015-05-20 08:15:37
阅读次数:
184
错误描写叙述This page can’t be displayed?Make sure the web address http://centeradmin is correct.?Look for the page with your search engine.?Refresh the pag...
分类:
Web程序 时间:
2015-05-19 22:25:48
阅读次数:
192