We made a .ko file for you. Please copy to /lib/modules/$(uname –r)/kernel/drivers
root@smarct335x:~# depmod -a
root@smarct335x:~# modprobe 8192cu
[ 47.485413] Disabling lock debugging due to kernel taint
[ 47.548124] rtl8192cu driver version=v4.0.2_9000.20130911
[ 47.553872] build time: Apr 24 2014 15:21:03
[ 47.558565] usbcore: registered new interface driver rtl8192cu
root@smarct335x:~#
To build:
1. Download the RTL8192CU source file from realtek website.
2. Extract the tarball
3. cd rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/
4. You need to modify the Makefile
Add CONFIG_PLATFORM_SMARCT335X =y
--- and
ifeq ($(CONFIG_PLATFORM_SMARCT335X), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
SUB_ARCH := arm
CROSS_COMPILE := /opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-
KSRC ?= /home/eric/smarct335x-working/linux-smarc-t335x-v3.2/
KVER := 3.2.0
endif
5. $ export CC=/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-
6. $ make ARCH=arm CROSS_COMPILE=${CC}
Attached files: 8192cu.ko
Tags: USB WiFi