Hi,
The stock SDK on the SD card that came with my AM335x Starter Kit EVM has wlan0 enabled. I would like to have wireless going by recompiling the kernel (ti-sdk-am335x-evm_05.07.00.00/board-support/linux-3.2.0-psp04.06.00.10) which I have successfully recompiled in the past to enable the SPI device driver.
I am getting these errors when booting from NFS:
Starting udev
[ 10.860900] Disabling lock debugging due to kernel taint
[ 12.415130] wl12xx: disagrees about version of symbol ieee80211_connection_loss
[ 12.422851] wl12xx: Unknown symbol ieee80211_connection_loss (err -22)
[ 12.429687] wl12xx: disagrees about version of symbol ieee80211_sched_scan_stopped
[ 12.437622] wl12xx: Unknown symbol ieee80211_sched_scan_stopped (err -22)
[ 12.444763] wl12xx: disagrees about version of symbol ieee80211_chswitch_done
...
and
root@am335x-evm:~# ip link set wlan0 up
Cannot find device "wlan0"
My .config is attached () but here are the significant WLAN changes:
CONFIG_CFG80211=y
CONFIG_NL80211_TESTMODE=y
CONFIG_CFG80211_DEVELOPER_WARNINGS=y
# CONFIG_CFG80211_REG_DEBUG is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_LIB80211=y
# CONFIG_LIB80211_DEBUG is not set
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
# CONFIG_MAC80211_MESH is not set
# CONFIG_MAC80211_LEDS is not set
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
CONFIG_WLAN=y
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_WL1251 is not set
# CONFIG_WL12XX_MENU is not set
CONFIG_WL12XX_PLATFORM_DATA=y
# CONFIG_MFD_WL1273_CORE is not set
I have run the following commands:
sudo make ARCH=arm CROSS_COMPILE=/opt/ti/ti-sdk-am335x-evm_05.07.00.00/linux-devkit/bin/arm-arago-linux-gnueabi- uImage
sudo make ARCH=arm CROSS_COMPILE=/opt/ti/ti-sdk-am335x-evm/linux-devkit/bin/arm-arago-linux-gnueabi- INSTALL_MOD_PATH=/opt/ti/ti-sdk-am335x-evm/targetNFS
sudo make ARCH=arm CROSS_COMPILE=/opt/ti/ti-sdk-am335x-evm/linux-devkit/bin/arm-arago-linux-gnueabi- INSTALL_MOD_PATH=/opt/ti/ti-sdk-am335x-evm/targetNFS modules_install
Attached is my arch/arm/mach-omap2/board-am335xevm.c:
I have the suspicion that the WLAN driver somehow needs to be recompiled into a module. For example, if I search for drivers/*.ko from linux-3.2.0-psp04.06.00.10, I only see
drivers/hid/hid-logitech-dj.ko
drivers/scsi/scsi_wait_scan.ko
drivers/usb/gadget/g_file_storage.ko
drivers/usb/gadget/g_mass_storage.ko
drivers/usb/gadget/g_ether.ko
so no sign of any WLAN driver but I don't see how to make that driver if that is the problem.
Here are some other clues from the SK-EVM target itself that wireless is missing.
root@am335x-evm:~# ls /lib/modules/3.2.0/kernel/drivers/
hid/ scsi/ usb/
On the other hand, there is a ti-connectivity directory:
root@am335x-evm:~# ls /lib/firmware/ti-connectivity/
Android.mk wl127x-fw-4-sr.bin
LICENCE wl128x-fw-4-mr.bin
wl1271-fw-multirole-plt.bin wl128x-fw-4-plt.bin
wl1271-fw-multirole-roc.bin wl128x-fw-4-sr.bin
wl127x-fw-4-mr.bin wl128x-fw-multirole-plt.bin
wl127x-fw-4-plt.bin wl128x-fw-multirole-roc.bin
Thanks.