1.MT7601U Wireless Card driver:
Official website: http://www.mediatek.com/zh-CN/downloads/mt7601u-usb/
Or: http://download.csdn.net/detail/pchl33/7424755
2. Unzip
# TAR-JXVF DPO_MT7601U_LINUXSTA_3.0.0.4_20130913.TAR.BZ2
#cd dpo_mt7601u_linuxsta_3.0.0.4_20130913
3. Modify Makefile
Gedit Makefile
Put
Ifeq ($ (PLATFORM), PC)
# Linux 2.6
LINUX_SRC =/lib/modules/$ (Shell uname-r)/build
# Linux 2.4 Change to your local setting
#LINUX_SRC =/usr/src/linux-2.4
Linux_src_module =/lib/modules/$ (Shell uname-r)/kernel/drivers/net/wireless/
Cross_compile =
endif
Switch
Ifeq ($ (PLATFORM), PC)
LINUX_SRC =/root/workspace/kernel/
Cross_compile =/root/arm-2009q1/bin/arm-none-linux-gnueabi-
endif
which
LINUX_SRC is the compiled kernel path
Cross_compile for Cross compiler path
4. Compiling
#make
Generate Mt7601usta.ko files under the Dpo_mt7601u_linuxsta_3.0.0.4_20130913/os/linux directory
5.
Copy Mt7601usta.ko to embedded Linux under/lib/modules/2.6.27.55
Depmod
Modprobe Mt7601usta
Driver loading is complete.
Note:
If it appears error:driver ' rt2870 ' is already registered, aborting ... The error, when compiling, to put the/include/os/rt_linux_cmm.h in the
#define RTMP_DRV_NAME "rt2870" to replace the rt2870 with other ones, to avoid causing conflict.