Quick Guide for AR1021X porting
1 What’s included in package
- Ath6kl_usb driver in
Support AR9374.
- Cfg80211 in
Provide API to control ath6kl_usb.
- Compat in
Solve compatible issues on different versions 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 zxvf ATH6KL-LSDK-WLAN-AIO-3.2.1.x.tgz
2.2 Change to build directory
# cd build
2.3 Modify Makefile.x86
Modify build/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_transfer BOARD_TYPE=x86-combo
2.6 Build driver and utilities
# make BOARD_TYPE=x86-combo
2.7 iw Package
You
can get the iw package in ATH6KL LSDK, which path is
The iw is another application which use netlink socket interface. This application mainly uses to
debug, dump driver/hardware information or setup special driver function, like WoW.
3 How to port to other platform
3.1 Clone a set for other platform
# cp build/scripts/x86
build/scripts/
# mv build/scripts/x86/config.x86
build/scripts/x86/
# mv build/scripts/x86/Makefile.x86
build/scripts/x86/
3.2 Modify toolchain and kernel path in config file
Edit build/scripts/
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.
作者: 纳拓科技, 来源:面包板社区
链接: https://mbb.eet-china.com/blog/uid-me-1577772.html
版权声明:本文为博主原创,未经本人允许,禁止转载!
文章评论(0条评论)
登录后参与讨论