我用的是 迅捷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