If I understand correctly, Variscite's Android release is based on TI's JB devkit. In here, they use a different kernel config and build command line to compile with wl18xx support for the EVM board. There is also a difference in wl12xx platform data in the EVM board initialization file when the flag CONFIG_MACH_AM335XEVM_WILINK8 is present. I changed my kernel source to do something similar to this, but in the resulting image WiFi signal is very low and Bluetooth does not work at all. This is my platform data:
Code: Select all
static struct wl12xx_platform_data var_som_am33_wlan_data = {
.irq = OMAP_GPIO_IRQ(VAR_SOM_WLAN_IRQ_GPIO),
.wlan_enable_gpio = VAR_SOM_WLAN_PMENA_GPIO,
.bt_enable_gpio = VAR_SOM_BT_PMENA_GPIO,
.board_ref_clock = WL12XX_REFCLOCK_26, /* 26Mhz */
#ifdef CONFIG_MACH_AM335XEVM_WILINK8
.board_tcxo_clock = WL12XX_TCXOCLOCK_26,
#endif
};
What is the correct driver and platform data for the wl18xx module on Variscite's board?
With gitorious now offline, the instructions here are no longer valid. However, I downloaded the prepackaged sources from TI and applied Variscite's patches myself.
Using prebuilt images is not an option because my board uses a different touch panel driver, has a battery, a power switch and other custom hardware.