打印
[WIFI模块]

Quick Guide for AR1021X porting

[复制链接]
4145|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
1 What’s included in package
- Ath6kl_usb driver in<package>/drivers/ath6kl
Support AR9374.
- Cfg80211 in <package>/drivers/cfg80211
Provide API to control ath6kl_usb.
- Compat in <package>/drivers/comapt
Solve compatible issues on differentversions of kernels.
- Other utilities.
1. Wpa_supplicant (version 0.8)
2. Wpa_cli
3. Iw-3.0
4. libnl-1
5. tx99
6. athtst
2 How to build on x86
2.1 Untar package
# untar zxvfATH6KL-LSDK-WLAN-AIO-3.2.1.x.tgz
2.2 Change to build directory
# cd build
2.3 Modify Makefile.x86
Modifybuild/scripts/x86-combo/Makefile.x86-combo as bellow
2.4 Apply driver patches
# make drivers_patch BOARD_TYPE=x86-combo
2.5 Convert firmware from .bin to .h
# make drivers_firmware_transferBOARD_TYPE=x86-combo
2.6 Build driver and utilities
# make BOARD_TYPE=x86-combo
2.7 iw Package
Youcan get the iw package in ATH6KL LSDK, which path is <LSDK>\apps\iw-3.0.
The iw is another application which usenetlink socket interface. This application mainly uses to
debug, dump driver/hardware information orsetup special driver function, like WoW.
3 How to port to other platform
3.1 Clone a set for other platform
# cp build/scripts/x86build/scripts/<other platform>
# mv build/scripts/x86/config.x86build/scripts/x86/<other platform>/config.<other platform>
# mv build/scripts/x86/Makefile.x86build/scripts/x86/<other platform>/Makefile.<other platform>
3.2 Modify toolchain and kernel path in config file
Edit build/scripts/<otherplatform>/config.<other platform>, and assign toolchain and kernelpath in
environmental variables bellow.
- KERNELPATH
- KERNELARCH
- TOOLPREFIX
3.3 Follow the same steps as “2. How to build on x86”to build the driver and
utilities on other platform
3.4 Please also refer to “ath6kl_support_guide.doc”for troubleshooting and
details.


使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:WiFi模块/网络交换方案配套 QQ:42142951 MP:13510620050

124

主题

863

帖子

9

粉丝