Hello,
I'm new to this theme of linux and wireless lan. I'm trying to get a working WLAN connection on our board.
We use a Freescale Vybrid CPU with a attached WL1271 chip from Jorjin. We're on linux kernel version 3.0.35 and use buildroot as root file system.
Without using compat-wireless driver modules I'm loading the compiled modules of the native linux drivers into the modules path of our buildroot. than I'm building with buildroot our root-file-system. When I'm loading the drivers on our board, the driver loads the firmware "6.1.5.50.74". than I'm able to connect to a WLAN or open a WLAN.
With this I had to make a workaround to reset the WL1271 when the firmware stucked and I couldn't get Interrupts. So I reset it and loaded the firmware again and it works.
Since this firmware seems to be very old and also does't work with the calibrator tool I try to use the compat-wireless driver of compat-wireless-3.4-rc3-1. I'm not sure if I have build them correctly.
I selected the wl12xx driver in compat-wireless.../scripts and exported KLIB to my buildroot/output/target (rootfs) and KLIB_BUILD to my kernel sources. After I've done "make" and "make install-modules" I got the modules in my buildroot-target-system in the modules folder. I also switched cfg80211 to build as modules in kernels menuconfig. The compat wireless has build a cfg80211.ko, mac80211.ko, compat.ko, and wl12xx.ko and wl12xx_sdio.ko. I hope this is right so far?
With this newer driver I could load a newer firmware (6.3.5.0.98). Now I can use calibrator tool. But I have also some problems with it. But the most annoying thing is that I cannot connect to a WLAN. I think wpa_supplicant makes problems here. After I load the driver I can assign IP and HW addr to the wlan0 IF. and when I want to run wpa_supplicant the firmware stucks somewere and the driver waits for Interrupts.
I probed the interrupt line to the cpu and noticed, when the phy stucks I get no Interrupts anymore.
If I start calibrator plt calibrate, and start it once again it cannot load FW or get in PLT mode. so I have to rebbot the system again. Than the wl1271 gets the WLAN_EN signal toggled and reboots.
I don't know what I can do to get this WLAN running.
Does somebody had the same problems? Whats with the compat drivers? Did I build them correctly?
With kind regards
Andi