Panda MAC80211 Connectivity
From OMAPpedia
(→Summary) |
(→Software:) |
||
| Line 26: | Line 26: | ||
===Hardware information=== | ===Hardware information=== | ||
| - | ===Software:=== | + | ===Software:=== |
| + | ====Clone and build the ubuntu kernel:==== | ||
| + | git clone git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git | ||
| + | cd kernel-ubuntu | ||
| + | git checkout -b ti-ubuntu-3.4-1483 origin/ti-ubuntu-3.4-1483 | ||
| + | git reset --hard ti-ubuntu-3.4-1483.5 | ||
| + | cp debian.ti-omap4/config/config.common.ubuntu .config | ||
| + | make ARCH=arm uImage | ||
| + | export KERNEL_DIR=`pwd` (Needed to build wl12xx driver) | ||
| + | |||
| + | ====Ti-Utils git tree:==== | ||
| + | git clone git://github.com/TI-OpenLink/ti-utils.git | ||
| + | cd ti-utils | ||
| + | git checkout -b ics origin/ics | ||
| + | git reset --hard ol_R5.00.18 | ||
| + | |||
| + | '''Firmware files required for WL12xx on Panda:''' | ||
| + | cd ti-utils/hw/firmware | ||
| + | '''Copy the following files:''' | ||
| + | wl127x-fw-4-sr.bin -----> Firmware for Single Role | ||
| + | wl127x-fw-4-plt.bin -----> Firmware for Calibration | ||
| + | wl127x-fw-4-mr.bin -----> Firmware for Multi Role | ||
| + | |||
| + | '''NVS file for Calibration:''' | ||
| + | |||
| + | cd ti-utils/ | ||
| + | |||
| + | '''hw/ini_files/127x/TQS_S_2.6.ini''' is needed to Calibrate the wl12xx on Panda. | ||
| + | ====WL12XX driver:==== | ||
| + | =====Git trees required===== | ||
| + | '''wl12xx git tree:''' | ||
| + | git clone git://github.com/TI-OpenLink/wl12xx.git | ||
| + | cd wl12xx | ||
| + | git checkout -b r5_3.2 origin/r5_3.2 | ||
| + | git reset --hard ol_R5.00.18 | ||
| + | export GIT_TREE=`pwd` (Needed to build wl12xx driver) | ||
| + | |||
| + | '''compat git tree:''' | ||
| + | git clone git://github.com/mcgrof/compat.git | ||
| + | cd compat | ||
| + | git checkout -b linux-3.4.y origin/linux-3.4.y | ||
| + | export GIT_COMPAT_TREE=`pwd` (Needed to build wl12xx driver) | ||
| + | |||
| + | '''NOTE:''' current commit is: | ||
| + | |||
| + | commit 3878ff1e6545c9643c773cc0f18473b7f5fd2d1a | ||
| + | Author: Luis R. Rodriguez <mcgrof@frijolero.org> | ||
| + | Date: Fri Apr 6 12:00:14 2012 -0700 | ||
| + | compat: avoid duplicate __ref definition | ||
| + | Cc: stable@orbit-lab.org | ||
| + | Reported-by: Johannes Berg <johannes@sipsolutions.net> | ||
| + | Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org> | ||
| + | |||
| + | '''compat-wireless git tree:''' | ||
| + | git clone git://github.com/TI-OpenLink/compat-wireless.git | ||
| + | cd compat-wireless | ||
| + | git checkout ol_R5.00.18 | ||
| + | |||
| + | =====To generate the wl12xx driver:===== | ||
| + | cd compat-wireless | ||
| + | export ARCH=arm | ||
| + | sh ./scripts/admin-refresh.sh | ||
| + | '''expected output:''' | ||
| + | Getting TI drivers version... | ||
| + | TI drivers version: ol_R5.00.18 | ||
| + | compat-wireless code metrics | ||
| + | 827418 - Total upstream lines of code being pulled | ||
| + | 2271 - backport code changes | ||
| + | 1938 - backport code additions | ||
| + | 333 - backport code deletions | ||
| + | 9550 - backport from compat module | ||
| + | 11821 - total backport code | ||
| + | 1.4287 - % of code consists of backport work | ||
| + | Base tree: wl12xx.git | ||
| + | Base tree version: ol_R5.00.18 | ||
| + | compat-wireless release: r5.00.18-build_214 | ||
| + | |||
| + | ./scripts/driver-select wl12xx | ||
| + | |||
| + | =====Build the wl12xx driver:===== | ||
| + | cd compat-wireless | ||
| + | make KLIB=$KERNEL_DIR KLIB_BUILD=$KERNEL_DIR | ||
| + | |||
| + | '''Modules required for WL12xx on Panda are:''' | ||
| + | ./compat/compat.ko | ||
| + | ./net/wireless/cfg80211.ko | ||
| + | ./net/mac80211/mac80211.ko | ||
| + | ./drivers/net/wireless/wl12xx/wl12xx.ko | ||
| + | ./drivers/net/wireless/wl12xx/wl12xx_sdio.ko | ||
| + | |||
====Downloads:==== | ====Downloads:==== | ||
* Current images: | * Current images: | ||
| - | * Previous Releases: | + | * Previous Releases: |
===Release Notes=== | ===Release Notes=== | ||
Latest revision as of 20:24, 30 May 2012
Contents |
[edit] Panda Board MAC80211 Connectivity
[edit] Summary
Please refer to the following mac80211 connectivity page for more detailed information (Since mac80211 connectivity is common for 127x and 128x connectivity chips):
* mac80211 based open source architecture
[edit] In addition to the above the specific information for Panda
Patches required to add WLAN support on the Panda Board (Linux Kernel version <= 2.6.38)
- Patch series required to enable WLAN on Panda are at Panda: Support for WLAN on WL127x
- Make sure you have the dependent patches for WLAN clock and HWMOD changes for MMC.
- For original patches (of adoptation for HSMMC refer to): OMAP: HSMMC: HWMOD adaptation
[edit] Status
- Current Version
- Previous Versions
Back to Connectivity Home Page
[edit] Hardware information
[edit] Software:
[edit] Clone and build the ubuntu kernel:
git clone git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git cd kernel-ubuntu git checkout -b ti-ubuntu-3.4-1483 origin/ti-ubuntu-3.4-1483 git reset --hard ti-ubuntu-3.4-1483.5 cp debian.ti-omap4/config/config.common.ubuntu .config make ARCH=arm uImage export KERNEL_DIR=`pwd` (Needed to build wl12xx driver)
[edit] Ti-Utils git tree:
git clone git://github.com/TI-OpenLink/ti-utils.git cd ti-utils git checkout -b ics origin/ics git reset --hard ol_R5.00.18
Firmware files required for WL12xx on Panda: cd ti-utils/hw/firmware Copy the following files:
wl127x-fw-4-sr.bin -----> Firmware for Single Role wl127x-fw-4-plt.bin -----> Firmware for Calibration wl127x-fw-4-mr.bin -----> Firmware for Multi Role
NVS file for Calibration:
cd ti-utils/
hw/ini_files/127x/TQS_S_2.6.ini is needed to Calibrate the wl12xx on Panda.
[edit] WL12XX driver:
[edit] Git trees required
wl12xx git tree:
git clone git://github.com/TI-OpenLink/wl12xx.git cd wl12xx git checkout -b r5_3.2 origin/r5_3.2 git reset --hard ol_R5.00.18 export GIT_TREE=`pwd` (Needed to build wl12xx driver)
compat git tree:
git clone git://github.com/mcgrof/compat.git cd compat git checkout -b linux-3.4.y origin/linux-3.4.y export GIT_COMPAT_TREE=`pwd` (Needed to build wl12xx driver)
NOTE: current commit is:
commit 3878ff1e6545c9643c773cc0f18473b7f5fd2d1a
Author: Luis R. Rodriguez <mcgrof@frijolero.org>
Date: Fri Apr 6 12:00:14 2012 -0700
compat: avoid duplicate __ref definition
Cc: stable@orbit-lab.org
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
compat-wireless git tree:
git clone git://github.com/TI-OpenLink/compat-wireless.git cd compat-wireless git checkout ol_R5.00.18
[edit] To generate the wl12xx driver:
cd compat-wireless export ARCH=arm sh ./scripts/admin-refresh.sh
expected output:
Getting TI drivers version...
TI drivers version: ol_R5.00.18
compat-wireless code metrics
827418 - Total upstream lines of code being pulled
2271 - backport code changes
1938 - backport code additions
333 - backport code deletions
9550 - backport from compat module
11821 - total backport code
1.4287 - % of code consists of backport work
Base tree: wl12xx.git
Base tree version: ol_R5.00.18
compat-wireless release: r5.00.18-build_214
./scripts/driver-select wl12xx
[edit] Build the wl12xx driver:
cd compat-wireless make KLIB=$KERNEL_DIR KLIB_BUILD=$KERNEL_DIR
Modules required for WL12xx on Panda are: ./compat/compat.ko ./net/wireless/cfg80211.ko ./net/mac80211/mac80211.ko ./drivers/net/wireless/wl12xx/wl12xx.ko ./drivers/net/wireless/wl12xx/wl12xx_sdio.ko
[edit] Downloads:
- Current images:
- Previous Releases:
[edit] Release Notes
[edit] Current known issues:
- Performance results:
- Errata:
- Miscellaneous:
- Support:
- Links