Atheros QCA988x

Table of Contents

Qualcom Atheros QCA988x family of chips support IEEE 802.11ac.

Overview

现在有如下的支持:

  1. ath10k ath10k is the mac80211 wireless driver for Qualcom Atheros QCA988x family of chips. Linux 3.11 released, the first kernel release with ath10k
  2. LSDK Qualcom Atheros 自己提供的SDK。
  3. QSDK The QCA Software Development Kit (QSDK) project allows users to build an OpenWrt based platform containing additional enhancements for Qualcomm Atheros chipsets that have not yet made it into the public OpenWrt repository.

Building the AP135 Image with LSDK

如下面链接失败,这里有mirrored source: https://www.codeaurora.org/mirrored_source/external/wfr/

  1. As a prerequisite to building and using AP135 images, extract these tar balls into a directory for the build to take place:
    tar xvfz LSDK-10.1.354.tgz
    

    Contains the basic Open Source Linux support required for the basic and extended builds; includes cross compilers, boot loaders, file system images, Ethernet driver, and script files

    tar xvfz LSDK-PATCH-10.1.354.tgz
    

    Contains the Qualcomm Atheros patches for linux-2.6.31, U-Boot, and LSDK。

  2. Download linux-2.6.31 open source and place in ~/10.1/patches: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2
  3. Download the LZMA patch and place in ~/10.1/patches: http://projects.qi-hardware.com/index.php/p/openwrt-xburst/source/file/715bc925855760ced69162f6242fc0704b42e939/target/linux/generic/patches-2.6.32/008-jffs2_make_lzma_available.patch
  4. Download the IMQ patch and place in ~/10.1/patches: https://raw.githubusercontent.com/imq/linuximq/master/kernel/v2.6/linux-2.6.31.6-imq.diff
  5. Download the squashfs patches listed below and place in ~/10.1/patches:
  6. Download u-boot-1.1.4 open source and place in ~/10.1/patches: ftp://ftp.denx.de/pub/u-boot/OLD/u-boot-2006-04-06-1725.tar.bz2
  7. Download lzma Decompression patch for u-boot and place in ~/10.1/patches: https://dev.openwrt.org/export/11248/trunk/target/linux/avr32/image/u-boot/patches/001-add_lzma_decompression_support.patch
  8. Download the libbootstrap code and place in ~/10.1/patches:
  9. Download these LSDK-build open source tar balls and place in ~/10.1/patches:
  10. Download the busy box brctl command patch and place in ~/10.1/patches:
  11. Install additional packages, they are required for Atheros reference design:
    sudo apt-get install libacl1-dev                        #yum install libacl-devel
    sudo apt-get install zlib1g-dev                                 #yum install zlib-devel
    sudo apt-get install build-essential                    #yum groupinstall 'Development Tools' 'Development Libraries'
    sudo apt-get install bison
    sudo apt-get install flex
    sudo apt-get install gettext
    sudo apt-get install tcl                                                # yum install tcl
    sudo apt-get install sharutils
    sudo apt-get install libncurses-dev                             # yum install ncurses-devel
    sudo apt-get install exuberant-ctags                    # yum install ctags
    
  12. Run patch.pl in ~/10.1/patches.
  13. Extract the remaining tar balls included in the package in the same manner as previous releases:
    • tar xzvf LSDK-WLAN-10.1.354.tgz
    • tar xzvf LSDK-SPECTRAL-10.1.354.tgz
  14. Acceptable permissions values may need to be set using the command: chmod -R 755 <ROOT_BUILD_DIRECTORY>
  15. Build the targets: cd build make BOARD_TYPE=ap135 11AC_OFFLOAD=1

Author: Shi Shougang

Created: 2015-03-05 Thu 23:21

Emacs 24.3.1 (Org mode 8.2.10)

Validate