上一页 1 2 3 4 5 6 7 8 9 10 ··· 43 下一页
摘要: #include #include #define TRAN_SZIE 1024 int copy_bin(char* from, char* to) { FILE *fin, *fout; int size; char buf[TRAN_SZIE]; if ((fin=fopen(from,"rb"))==NULL) { perror("... 阅读全文
posted @ 2016-07-15 14:09 oucaijun 阅读(890) 评论(1) 推荐(0) 编辑
摘要: ARM简介[1] 1. ARM只卖知识产权,不卖(物理的,实质的)产品。 全世界100多家公司购买了ARM授权,包括三星,Freescale、NXP Semiconductors、STMicroelectronics、Texas Instruments ,Toshiba,Analog Device, 阅读全文
posted @ 2016-07-15 11:22 oucaijun 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: 如何向模块传递参数,Linux kernel 提供了一个简单的框架. 1. module_param(name, type, perm); name 既是用户看到的参数名,又是模块内接受参数的变量; type 表示参数的数据类型,是下列之一:byte, short, ushort, int, uin 阅读全文
posted @ 2016-07-14 14:11 oucaijun 阅读(18247) 评论(0) 推荐(1) 编辑
摘要: 搜索代码中出现CONFIG_BOOTARGS的行,但又不希望有#define和#undef, 暂时不知带如何直接用一个语句做到,因此用了如下三个语句. find . -type f | xargs grep CONFIG_BOOTARGS > result.log; sed -i '/#define 阅读全文
posted @ 2016-07-12 15:23 oucaijun 阅读(4829) 评论(0) 推荐(0) 编辑
摘要: tcpdump使用技巧 http://www.veryarm.com/1751.html 阅读全文
posted @ 2016-07-07 14:47 oucaijun 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 浅析linux中open系统调用 http://www.embedu.org/Column/Column465.htm 1. linux open系统调用过程简要概括: 在linux应用程序中,调用open("dir/filename" , O_RDWR); 看x86汇编结果是 call open, 阅读全文
posted @ 2016-07-05 00:12 oucaijun 阅读(401) 评论(0) 推荐(0) 编辑
摘要: Usage: rsync [OPTION]... SRC [SRC]... DEST or rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST or rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST or r 阅读全文
posted @ 2016-07-04 15:38 oucaijun 阅读(3246) 评论(0) 推荐(0) 编辑
摘要: make Image uImage与zImage的区别 http://blog.chinaunix.net/uid-25322094-id-3589796.html make uImage(uImage生成过程) http://blog.chinaunix.net/uid-20799298-id-9 阅读全文
posted @ 2016-07-04 13:34 oucaijun 阅读(5011) 评论(0) 推荐(0) 编辑
摘要: 一、 在驱动中: 1. 用的时候映射端口:ioremap; void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function); unsigned int s3c2410_gpio_getcfg(unsigned int pin); v 阅读全文
posted @ 2016-07-04 00:46 oucaijun 阅读(3435) 评论(0) 推荐(0) 编辑
摘要: Linux输入子系统(Input Subsystem) http://blog.csdn.net/lbmygf/article/details/7360084 input子系统分析 http://blog.chinaunix.net/uid-27717694-id-3758334.html 阅读全文
posted @ 2016-07-03 23:52 oucaijun 阅读(220) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 43 下一页
下载TeamViewer完整版 下载TeamViewer