当前位置: 代码迷 >> Wireless >> 怎么移植compat-wireless的usb无线网卡驱动到FL2440 arm开发板上
  详细解决方案

怎么移植compat-wireless的usb无线网卡驱动到FL2440 arm开发板上

热度:4207   发布时间:2013-02-26 00:00:00.0
如何移植compat-wireless的usb无线网卡驱动到FL2440 arm开发板上?
我用的是 迅捷FW150UD usb无线网卡,迅捷FW150UD的控制芯片好像是AR9271,开发板用的是FL2440,开发板上的linux内核版本是2.6.28.7,文件系统qtopia-2.2.0,交叉编译环境用的是cross-3.4.1,compat-wireless用的是compat-wireless-2011-01-07。

执行./scripts/driver-select脚本选择ath9k_htc
再执行make KLIB=/home/arm/linux-2.6.28.7 KLIB_BUILD=/home/arm/linux-2.6.28.7
编译完成后
compat-wireless中modules.order内容:
kernel//home/zhangyan/arm/compat-wireless-2011-01-07/compat/compat.ko
kernel//home/zhangyan/arm/compat-wireless-2011-01-07/compat/compat_firmware_class.ko
kernel//home/zhangyan/arm/compat-wireless-2011-01-07/compat/kfifo.ko
kernel//home/zhangyan/arm/compat-wireless-2011-01-07/net/rfkill/rfkill_backport.ko
kernel//home/zhangyan/arm/compat-wireless-2011-01-07/net/wireless/cfg80211.ko
kernel//home/zhangyan/arm/compat-wireless-2011-01-07/net/mac80211/mac80211.ko
kernel//home/zhangyan/arm/compat-wireless-2011-01-07/drivers/net/wireless/ath/ath.ko

加载模块时提示:
# insmod compat.ko  
Compat-wireless backport release: compat-wireless-2011-01-06  
Backport based on linux-next.git next-20110107  
# insmod compat_firmware_class.ko  
# insmod kfifo.ko  
kfifo: module license 'unspecified' taints kernel.  
# insmod rfkill_backport.ko  
# insmod cfg80211.ko  
cfg80211: Calling CRDA to update world regulatory domain  
# insmod mac80211.ko  
# insmod ath.ko

无线网卡插上后只提示
# usb 1-1.1: new full speed USB device using s3c2410-ohci and address 3  
usb 1-1.1: configuration #1 chosen from 1 choice
但无线网卡的指示灯不亮。

linux内核modules.order内容:
kernel/kernel/configs.ko
kernel/fs/nls/nls_cp737.ko
kernel/fs/nls/nls_cp775.ko
kernel/fs/nls/nls_cp852.ko
kernel/fs/nls/nls_cp855.ko
kernel/fs/nls/nls_cp857.ko
kernel/fs/nls/nls_cp860.ko
kernel/fs/nls/nls_cp861.ko
kernel/fs/nls/nls_cp862.ko
kernel/fs/nls/nls_cp863.ko
kernel/fs/nls/nls_cp864.ko
kernel/fs/nls/nls_cp865.ko
kernel/fs/nls/nls_cp866.ko
kernel/fs/nls/nls_cp869.ko
kernel/fs/nls/nls_cp874.ko
kernel/fs/nls/nls_cp932.ko
kernel/fs/nls/nls_euc-jp.ko
kernel/fs/nls/nls_cp936.ko
kernel/fs/nls/nls_cp949.ko
kernel/fs/nls/nls_cp950.ko
kernel/fs/nls/nls_cp1250.ko
kernel/fs/nls/nls_cp1251.ko
kernel/fs/nls/nls_iso8859-2.ko
kernel/fs/nls/nls_iso8859-3.ko
kernel/fs/nls/nls_iso8859-4.ko
kernel/fs/nls/nls_iso8859-5.ko
kernel/fs/nls/nls_iso8859-6.ko
kernel/fs/nls/nls_iso8859-7.ko
kernel/fs/nls/nls_cp1255.ko
kernel/fs/nls/nls_iso8859-9.ko
kernel/fs/nls/nls_iso8859-13.ko
kernel/fs/nls/nls_iso8859-14.ko
kernel/fs/nls/nls_iso8859-15.ko
kernel/fs/nls/nls_koi8-r.ko
kernel/fs/nls/nls_koi8-u.ko
kernel/fs/nls/nls_koi8-ru.ko
kernel/fs/nls/nls_utf8.ko
kernel/fs/ntfs/ntfs.ko
kernel/fs/udf/udf.ko
kernel/crypto/crypto_algapi.ko
kernel/crypto/aead.ko
kernel/crypto/crypto_blkcipher.ko
kernel/crypto/chainiv.ko
kernel/crypto/eseqiv.ko
kernel/crypto/crypto_hash.ko
kernel/crypto/cryptomgr.ko
kernel/crypto/hmac.ko
kernel/crypto/md5.ko
kernel/crypto/sha1_generic.ko
kernel/crypto/ecb.ko
kernel/crypto/cbc.ko
kernel/crypto/des_generic.ko
kernel/crypto/aes_generic.ko
kernel/crypto/arc4.ko
kernel/crypto/deflate.ko
kernel/crypto/michael_mic.ko
kernel/crypto/authenc.ko
kernel/crypto/rng.ko
kernel/crypto/krng.ko
kernel/drivers/video/backlight/lcd.ko
  相关解决方案