Chinaunix首页 | 论坛 | 博客
  • 博客访问: 694648
  • 博文数量: 152
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1793
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-12 12:26
个人简介

相信自己,只有不想做的,没有做不到的。

文章分类

全部博文(152)

文章存档

2021年(1)

2015年(2)

2014年(74)

2013年(75)

发布时间:2013-09-24 20:59:47

linux底层驱动的机制*******************11111*********************//原子操作 1,定义并初始化atomic_t V = ATOMIC_INIT(1);静态定义,带初始化2操作static int hello_open (struct inode *inode, struct file *file){ if(atomic_dec_and_test(&V))//先V --,判断V == 0 ; {  return 0;.........【阅读全文】

阅读(914) | 评论(0) | 转发(0)

发布时间:2013-09-24 20:13:42

LED驱动#include #include #include #include #include #include #include #include "led.h" //外部引用头文件包含int  led_major      =  250;//主设备号int  l.........【阅读全文】

阅读(953) | 评论(0) | 转发(0)

发布时间:2013-09-24 19:49:04

insmod时可能出现的错误:1、nand: version magic '2.6.30.4 mod_unload ARMv4 ' should be'2.6.30.4-EmbedSky mod_unload ARMv4 'insmod: cannot insert 'nand.ko': invalid module format出错原因:模块版本与内核版本不匹配!解决办法:导入预设配置信息,进入menuconfig 继续配置General config ->( )Local .........【阅读全文】

阅读(4036) | 评论(0) | 转发(0)

发布时间:2013-09-23 13:05:32

Ubuntu中minicom的安装和使用 .........【阅读全文】

阅读(487) | 评论(0) | 转发(0)

发布时间:2013-09-22 13:03:13

在pc机启动选择bios里面的cpu 有个VT 选项 使能即可 这样才能才能够支持64为的ubuntu......【阅读全文】

阅读(460) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册