8
/
1
5
MY-WF003U
USB Wi-Fi Module
decompress it:
$ cp \
/media/cdrom/MY-WF003\ USB\ WIFI\ Module\Linux\Driver/\
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz ./
$ tar xvzf rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz
$ cd rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911
⑶
Compile driver
$ export CROSS_COMPILE=/usr/local/arm/arm-2010q1/bin/arm-none-linux-gnueabi-
$ make ARCH=arm KSRC=/media/data/myir/myd-sam9x5/Linux/linux-2.6.39
CROSS_COMPILE indicates the corresponding folder and prefix of the cross-compile tool. KSRC
means the Linux kernel source code location of the target board. These two variables are assigned
according to actual conditions. Here we use Linux2.6.39 kernel as an example. After compiling, the
created 8192cu.ko file is driver file.
⑷
Load the driver
# insmod 8192cu.ko
4.3.2 Atmel SAMA5 series
Atmel SAMA5 series development board, such as MYD-SAMA5D3X, MYD-SAMA5D3X-C, use
Linux 3.6.9. Please refer to
Note modify cross-compiler configuration
parameters and modify KSRC path corresponding to root of kernel
4.3.3 TI AM335x series
TI AM335x series development board, such as MYD-AM335X,MYD-AM335X-J and so on, use
Linux 3.2.0. Please refer to
Note modify cross-compiler configuration
parameters and modify KSRC path corresponding to root of kernel
4.3.4 TI AM437x series
TI AM437x series development board, such as Rico Board, use Linux 3.12.10. Here take use
rtl8192cu as example Please follow below steps to compile the 8192 driver. Please refer to
corresponding user manual to configure cross-compiler environment.
⑴
Execute following command in the root directory of the kernel to open kernel configuration menu:
$ make ARCH=arm menuconfig
⑵
Configure rtl8192cu driver according to the following menu :