世俱杯 2025

登录 免费注册 世俱杯 2025 | 行业黑名单 | 帮助
维库电子市场网
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统
驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe

usb无线网卡驱动移植问题

作者:leo314034 栏目:ARM技术
usb无线网卡驱动移植问题
我是新手,现在用AT91RM9200的开发板做个项目,需要移植usb无线网卡的驱动,我下了 linux-wlan-ng.0.2.2.tar.gz.然后做了下面一点工作
1.kedit config.in
  enable the crosscompile
2.make config

-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [n]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [y]: y

Linux source directory :/HHARM9200/linux-2.4.19-rmk7

The kernel source tree is version 2.4.19-rmk7.
WARNING: the current running kernel is actually version 2.4.20.
The current kernel build date is Wed Oct 6 09:16:23 2004.

Alternate target INSTALL root directory on host [/opt/flea/INSTALL/wlan_ng]:
  MODULE INSTALL directory :/HHARM9200/linux-2.4.19-rmk7

It looks like you have a SYSTEM V init file setup.

Prefix for build host compiler? (rarely needed) []:

Build for debugging (see doc/config.debug) (y/n) [n]:

Configuration successful.  Now type 'make' and pray.
3. make
  success
我然后mount了主机到班子上,试图insmod prism2_usb.o,好像出错,
请问高手,驱动移植该怎么做啊,我试图修改了drivers/usb/makefile
文件,加入了obj-$(CONFIG_USB_WLAN) +=linux-wlan-ng
在drivers/usb/下建了linux-wlan-ng文件夹,
在/drivers/usb/config.in中也添加了USB_WLAN tristate USB wlan DEVICE' CONFIG_USB_WLAN,可是不知道其他的依赖关系了,还有不知道linux-wlan-ng中哪部分要移过来,晕阿,请教做过的大虾,给点指导吧

2楼: >>参与讨论
whereis
.
换个思路,先桌面系统,再嵌入式系统。

另外,你买的是华恒的产品,问他们更实际。

不过感觉在2.4的内核上倒腾这些玩意,挺麻烦的。





* - 本贴最后修改时间:2006-6-9 20:01:22 修改者:whereis

3楼: >>参与讨论
leo314034
re:
他们应该不会说的,因为这部分好像是要付钱买的配件,我们没买,唉,没人带好麻烦啊,

参与讨论
昵称:
讨论内容:
 
 
相关帖子
关于S3C44B0X的中断向量问题!
请大家推荐ARM入门书籍
手抄器方案合作
44b0通过max3232与主机串口通讯时cts、rts脚接于不接有何不同?
7229432;西安ARM技术群,欢迎加入!


Copyright © 1998-2006 tgdrjb.cn 浙ICP证030469号