QSDK是一种在openwrt的基础上,加入了高通atheros芯片相关资料的一种环境。
QSDK与openwrt的区别主要在如下几个方面:
- arch/mips/ath79/* – updated QCA base platform device support – GPLv2
- sound/soc/ath79/* – new ALSA-compliant QCA soundcard driver – ISC
- drivers/net/ethernet/atheros/ag71xx/* – updated QCA Ethernet switch driver – GPLv2
- net/core/* – performance enhancement updates to Linux sk_buff management – GPL v2
- drivers/spi – added modes to QCA spi driver – GPLv2
- drivers/mtd/nand/ – new QCA NAND flash controller driver – ISC
编译步骤如下:(基于ubuntu)
sudo apt-get install gcc g++ binutils ptach bzip2 flex make gettext \
pkg-config unzip zlib1g-dev libc6-dev subversion libncurses5-dev \
gawk sharutils curl libxml-parser-perl ocaml-nox
安装repo和git
见前篇
下载:
repo init -u git://codeaurora.org/quic/qsdk/releases/manifest/qstak -b release -m caf_AU_LINUX_QSDK_RELEASE_BANANA_SW_TARGET_ALL.2.7.029.xml
repo sync
mkdir -p qsdk/dl
tar xjvf qsdk-qca-wifi-2.7.029.tar.bz2 -C qsdk tar xjvf qsdk-qca-wlan-2.7.029.tar.bz2 -C qsdk tar xjvf qsdk-qca-shortcut-fe-2.7.029.tar.bz2 -c qsdk
编译QSDK
cd qsdk make package/symlinks
-
拷贝配置文件,目前该目录下有三个配置文件
ar71xx_open.config ar71xx_premium.config : 生成16m flash使用的bin文件 ar71xx_wireless.config : 生成8m flash使用的bin文件 cp qca/configs/qca955x.ln/ar71xx_<profile>.config .config
-
重新生成配置文件并build
make defconfig
make V=s
-
去目录下去.bin文件download到设备上
目录路径为:qsdk\bin\ar71xx
主要文件为:openwrt-ar71xx-generic-ap147-16M-kernel.bin (或 openwrt-ar71xx-generic-ap147-16M-kernel.bin)
openwrt-ar71xx-generic-ap147-16M-rootfs-squashfs.bin (或 openwrt-ar71xx-generic-ap147-8M-rootfs-squashfs.bin)
网友评论