hello驱动问题
来源:互联网 发布:java 常量类初始化map 编辑:程序博客网 时间:2024/06/01 16:36
现在我用make modules编译驱动,出现以下问题:
make[1]: *** No rule to make target `|', needed by `firmware/dabusb/firmware.fw'. Stop.
make: *** [modules] Error 2
从网上搜了一下,用make M=drivers/char modules编译模块,成功生成.ko文件。
用nfs文件系统启动2440开发板时加载ztm_hello模块时出现如下问题:
结果:/mnt # rmmod ztm_hello.ko
Eixt!
Byebye ztm!
正确!!!
insmod ztm_hello.ko
insmod: QM_MODULES: Function not implemented
/mnt # rmmod ztm_hello
rmmod: cannot unload 'ztm_hello': Device or resource busy
解决以上问题:加了头文件
#include<linux/kernel.h>
#include<linux/moduleparam.h>
#include<linux/version.h>
- hello驱动问题
- ubuntu下hello驱动模块问题补充
- hello驱动
- ubuntu下hello驱动模块的编写及问题
- 我的第一个Linux驱动hello world问题记录
- 驱动版Hello World
- 驱动版Hello world
- 驱动版Hello World
- 驱动版Hello World
- Linux 驱动----hello
- 一,hello 驱动!
- Hello,world驱动编程
- linux的hello驱动
- hello world驱动
- 驱动之hello world
- hello 驱动模块
- hello world驱动
- 驱动编程之hello
- delphi 中怎么知道某一个月有多少天
- Ansi、Unicode、UTF8字符串之间的转换和写入文本文件
- SVN应用
- Delphi 窗体居中显示
- Fedora 下 crontab 操作
- hello驱动问题
- Question 6: Which of the following are container adapters in the STL (Standard Template Library) in C++?
- js 文件读取
- 屏蔽TEXT标签的响应事件
- 循环和continue,break的那点事
- extern及extern “C”含义和用法原理
- 用MFC ActiveX Control Wizard生成的OCX控件
- jQuery_01
- 使用impdp导入时忽略存储参数