Blaze MAC80211 Connectivity Ubuntu

Summary
L24.12

OS Kernel: Linux® 2.6.35 WLAN Firmware Version: Rev 7.1.4.50.63

Status

 * Current Version

L24.12

OS Kernel: Linux® 2.6.35 WLAN Firmware Version: Rev 7.1.4.50.63


 * Previous Versions

Hardware information
Hardware: OMAP4 Blaze(ES 2.1) (with 1283 PG 2.21 Connectivity device)

Downloads:
Follow instructions in Ubuntu FS to create Ubuntu File System
 * Current images:
 * Previous Releases:

Compat-wireless approach
L24 kernel can be found in Ubuntu kernel Branch: ti-ubuntu-L24.12
 * Download r3.tar.bz and HOWTO files from R3-Final release package
 * Follow the instructions provided in HOWTO file
 * Download L24 kernel instead of Android kernel

Note: git clone creates "kernel-ubuntu" directory, so use "kernel-ubuntu" where ever "omap" mentioned in HOWTO file (As compat-wireless approach is meant for Andriod and git clone of Andriod kernel creates "omap" directory)
 * Apply kernel patches as mentioned in the HOWTO file


 * Ubuntu kernel config debian.ti-omap4/config/config.common.ubuntu is located here: config file

Disable following flags in the kernel configuration menu CONFIG_TIWLAN_MMC_CONTROLLER=5 CONFIG_TIWLAN_SDIO=y Enable following flags in the kernel configuration menu CONFIG_CRC7=m CONFIG_CRYPTO_AES=m CONFIG_CRYPTO_ARC4=m CONFIG_DYNAMIC_DEBUG=y CONFIG_LIB80211_DEBUG=y CONFIG_LIB80211=m CONFIG_MAC80211_DEBUGFS=y CONFIG_MAC80211_HAS_RC=y CONFIG_MAC80211_LEDS=y CONFIG_MAC80211=m CONFIG_MAC80211_RC_DEFAULT="minstrel" CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y CONFIG_MAC80211_RC_MINSTREL=y CONFIG_NL80211_TESTMODE=y CONFIG_RFKILL_INPUT=y CONFIG_RFKILL_PM=y CONFIG_WIRELESS_EXT_SYSFS=y CONFIG_WIRELESS=y CONFIG_WL1271=m CONFIG_WL1271_SDIO=m CONFIG_WL12XX=m CONFIG_WL12XX_PLATFORM_DATA=y CONFIG_WLAN=y
 * Changes in Linux configuration for building kernel


 * Build L24 kernel and modules, copy uImage to SD card boot partition and install the modules

sudo rm /media/mmc2/lib/modules/kernel-version/kernel/drivers/net/wireless/wl12xx/wl1271.ko sudo rm /media/mmc2/lib/modules/kernel-version/kernel/drivers/net/wireless/wl12xx/wl1271_sdio.ko sudo rm /media/mmc2/lib/modules/kernel-version/kernel/net/mac80211/mac80211.ko sudo rm /media/mmc2/lib/modules/kernel-version/kernel/net/wireless/cfg80211.ko
 * Remove the default i.e wl1271.ko, wl1271_sdio.ko, mac80211.ko and cfg80211.ko modules.

Note: kernel-version will be something like 2.6.35.7+ and mmc2 is the SD card second partition.

Note: Include  in compat/compat-2.6.37.c file to avoid compilation error.
 * Build wl12xx driver in compat-wireless-2.6 directory as mentioned in HOWTO file

sudo cp compat/compat.ko /media/mmc2/lib/modules/kernel-version/kernel/drivers/net/wireless/wl12xx/ sudo cp net/mac80211/mac80211.ko /media/mmc2/lib/modules/kernel-version/kernel/net/mac80211/ sudo cp net/wireless/cfg80211.ko /media/mmc2/lib/modules/kernel-version/kernel/net/wireless/ sudo cp drivers/net/wireless/wl12xx/wl12xx_sdio.ko /media/mmc2/lib/modules/kernel-version/kernel /drivers/net/wireless/wl12xx/1271_sdio.ko sudo cp drivers/net/wireless/wl12xx/wl12xx.ko /media/mmc2/lib/modules/kernel-version/kernel/drivers /net/wireless/wl12xx/wl1271.ko
 * Copy the modules to SD card.

Note: wl12xx.ko and wl12xx_sdio.ko are renamed to wl1271.ko and wl1271_sdio.ko

kernel/drivers/net/wireless/wl12xx/wl1271.ko: kernel/net/mac80211/mac80211.ko kernel/net/wireless /cfg80211.ko kernel/drivers/net/wireless/wl12xx/compat.ko kernel/drivers/net/wireless/wl12xx/wl1271_sdio.ko: kernel/drivers/net/wireless/wl12xx/wl1271.ko   kernel/net/mac80211/mac80211.ko kernel/net/wireless/cfg80211.ko kernel/drivers/net/wireless/wl12xx /compat.ko
 * Edit wl1271.ko and wl1271_sdio.ko entries in modules.dep file (/media/mmc2/lib/modules/kernel-version/modules.dep) to add compat.ko module into modules dependencies. wl1271.ko and wl1271_sdio.ko modules depend on compat.ko

lsmod Module         Size    Used by   ecb             1659    0 wl12xx_sdio    4375    0 wl12xx         157477  1 wl12xx_sdio mac80211       236135  1 wl12xx cfg80211       129704  2 wl12xx,mac80211 omap_hsi       43666   0 compat         11855   2 mac80211,cfg80211
 * Now kernel boot-up installs the required modules.

Current known issues:

 * Performance results:
 * Errata:
 * Miscellaneous:
 * Support:
 * Links

Back to Connectivity Home Page