专栏中心

EEPW首页 > 专栏 > Quick Guide for AR1021X porting

Quick Guide for AR1021X porting

发布人:natertech 时间:2021-04-12 来源:工程师 发布文章

Quick Guide for AR1021X porting

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

Quick Guide.png

 

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 <LSDK>\apps\iw-3.0.

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/<other platform>

# mv build/scripts/x86/config.x86 build/scripts/x86/<other platform>/config.<other platform>

# mv build/scripts/x86/Makefile.x86 build/scripts/x86/<other platform>/Makefile.<other platform>

 

3.2 Modify toolchain and kernel path in config file

Edit build/scripts/<other platform>/config.<other platform>, and assign toolchain and kernel path 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.


专栏文章内容及配图由作者撰写发布,仅供工程师学习之用,如有侵权或者其他违规问题,请联系本站处理。 联系我们

关键词:

相关推荐

机器人市场为什么建议选电感式传感器?

英飞凌OptiMOS 6 80V MOSFET树立领先AI服务器平台DC-DC功率转换效率新标准

模拟电子技术 第三十讲

视频 2010-01-20

英文简历模板(含55套精美的封面设计)

可编程控制器EDA教程 01

视频 2010-01-21

基于晶丰明源MCU和AFE的便携式储能48V BMS应用方案

可编程控制器EDA教程 03

视频 2010-01-21

可编程控制器EDA教程 02

视频 2010-01-21

一款编辑工具EditPlus2.11

引脚硅振荡器MAX7375

一款新的字模提取软件

Microchip推出MEC175xB系列器件,为嵌入式控制器引入硬件抗量子攻击能力

NVIDIA全球布局受美国出口管制影响

智能计算 2025-05-16

英飞凌ICE3PCS01G搭配IGBT高效率2.5KW空调电源方案

英飞凌启动公司25周年传播项目

国际视野 2025-05-16

从48V到800V:数据中心高压直流电源的严峻挑战

一款远程监控软件

可编程控制器EDA教程 04

视频 2010-01-21

基于Airoha AB1585AM的头戴式蓝牙耳机方案

基于ST STSPIN32G4的500W驻车空调用变频压缩机驱动方案

更多 培训课堂
更多 焦点
更多 视频

技术专区