I have a few questions:
- How do I tell make to compile to the right kernel sources?
Let discuss based on code from instructions:
---------------------------------------------------------
ifeq ($(CONFIG_PLATFORM_ARM_iMX233), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := /usr/bin/
KVER := KVER := 2.6.35-6-ARCH+
KSRC ?= /usr/src/linux-2.6.35-6-ARCH+
MODDESTDIR := /usr/lib/modules/2.6.35-6-ARCH+/kernel/drivers/net/wireless/rtl818x
endif
---------------------------------------------------------
Get info for your running kernel- run command:
uname -r
write answer on variable KVER
KVER := ___________
(not KVER := KVER :=___________)
On line KSRC write linux sources. In your case /usr/src/linux-2.6.35-8-ARCH+
I will suggest to remove line MODDESTDIR since make will install driver in right place /usr/lib/modules/<your_kernele_version>
So after those corrections do:
make
make install
depmod -a
insmod 8192cu.ko
After this continue with instructions bellow this line
Verify that the driver has been installed: Hope this help.
Fadil Berisha