Blaze MAC80211 Connectivity Ubuntu

From OMAPpedia

Revision as of 11:57, 8 June 2011 by Pandu (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

[edit] Blaze MAC80211 Connectivity on 128x using Ubuntu FS

[edit] Summary

L24.12

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

[edit] Status

L24.12

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

[edit] Hardware information

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

[edit] Software:

[edit] Downloads:

Follow instructions in Ubuntu FS to create Ubuntu File System

[edit] Release Notes

[edit] Build Procedure

[edit] Compat-wireless approach

 L24 kernel can be found in Ubuntu kernel
 Branch: ti-ubuntu-L24.12

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)

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
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

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

Note: Include <linux/vmalloc.h> in compat/compat-2.6.37.c file to avoid compilation error.

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

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
  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

[edit] Current known issues:

Back to Connectivity Home Page

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox