Compiling firmware for Atheros based wifi. [Tutorial] - Raspberry Pi Forums


debian wheezy , jessie repos including old version firmware. i'm compiled new firmware. running realy better.i'm compiled firmware on rpi2 & raspbian

firmware compilation tutorial qualcomm atheros ar7010 , ar9271 usb
802.11n nics
( sample products: tplink tl-wn722n, netgear wna1100 )

sudo apt-get install lshw
sudo lshw -c network

#this command result showing firmware version. before compiling firmware mine 1.3.0

#install required packages:
sudo apt-get install build-essential cmake git m4 texinfo && exit

#clone repo:
git clone https://github.com/qca/open-ath9k-htc-firmware.git
cd open-ath9k-htc-firmware

#"checkout latest tagged release" disabled. "master branch" working.

#build toolchain:
make -j4 toolchain
#(-j4 option rpi2)
#(this long process. 1-2 hour pi2.)
#(this proccess download support files net.if wifi disconnected when doing process download. pls reconnect net connection or fix it. run make -j4 toolchain again.

#build firmware:
make -j4 firmware
#(-j4 option rpi2)

#install firmware:
sudo cp target_firmware/*.fw /lib/firmware/ && exit

#reboot system

#testing new firmware version
sudo lshw -c network

#tutorial source: https://wiki.debian.org/ath9k_htc/open_firmware

i'm used set wifi region code. running better.
driver default selecting "cn" (china) code

#regulatory domain list countries
http://www.arubanetworks.com/techdocs/i ... 51_1017918
#command (for england):

iw reg set gb

#command showing wifi region info (mine showing first cn, after changed i'm selected.)

sudo dmesg |grep 80211


raspberrypi



Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support