Difference between revisions of "Wifi Atheros developement"

From Idrive
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
[[Media:compat_wireless.zip | Compat Wireless 05/10/12]]
 
[[Media:compat_wireless.zip | Compat Wireless 05/10/12]]
  
 +
[[Media:Htc_9271-firmware.zip‎ | Htc_9271 Firmware]]
 
   
 
   
 
  1. unzip file compat_wireless.zip
 
  1. unzip file compat_wireless.zip
Line 43: Line 44:
 
     if the order of insmod .ko's is not exactly like above the idrive camera will fail to initialize this drivers at startup
 
     if the order of insmod .ko's is not exactly like above the idrive camera will fail to initialize this drivers at startup
  
  7. copy htc_9271.fw file to idrive Filesystem folder lib/firmware (create "lib/firmware" folder if not exist)
+
  7. copy htc_9271.fw file to idrive Filesystem folder lib/firmware (create "lib/firmware" folder if not exists)
  8. copy compat_firmware.sh file from "compat-wireless-2012-05-10/udev" folder to idrive Filesystem folder "etc/udev"
+
  8. copy compat_firmware.sh file from "compat-wireless-2012-05-10/udev" folder to idrive Filesystem folder "lib/udev" (create "lib/udev" folder if not exists)
 
  9. copy 50-compat_firmware.rules file from "compat-wireless-2012-05-10/udev" folder to idrive Filesystem folder "etc/udev/rules.d"
 
  9. copy 50-compat_firmware.rules file from "compat-wireless-2012-05-10/udev" folder to idrive Filesystem folder "etc/udev/rules.d"
 
  10. pack the Filesystem using mkyaffsimage tool
 
  10. pack the Filesystem using mkyaffsimage tool

Latest revision as of 14:54, 11 September 2013

Drivers compile steps

Compat Wireless 05/10/12

Htc_9271 Firmware

1. unzip file compat_wireless.zip
2. from linux terminal window cd to compat-wireless-2012-05-10 folder
3. type "./scripts/driver-select ath" in terminal and hit Enter
4. type  "make KLIB=/path/to/utu-Linux2.6.24-folder KLIB_BUILD=/path/to/utu-Linux2.6.24-folder" replace path/to/utu-Linux2.6.24 with real path
5. when compile is finished you will see something similar with this in linux terminal:
 
 MODPOST 10 modules
 LD [M]  /compat-wireless-2012-05-10/compat/compat.ko
 LD [M]  /compat-wireless-2012-05-10/compat/compat_firmware_class.ko
 LD [M]  /compat-wireless-2012-05-10/drivers/net/wireless/ath/ath.ko
 LD [M]  /compat-wireless-2012-05-10/drivers/net/wireless/ath/ath9k/ath9k.ko
 LD [M]  /compat-wireless-2012-05-10/drivers/net/wireless/ath/ath9k/ath9k_common.ko
 LD [M]  /compat-wireless-2012-05-10/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
 LD [M]  /compat-wireless-2012-05-10/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
 LD [M]  /compat-wireless-2012-05-10/net/mac80211/mac80211.ko
 LD [M]  /compat-wireless-2012-05-10/net/rfkill/rfkill_backport.ko
 LD [M]  /compat-wireless-2012-05-10/net/wireless/cfg80211.ko
 make[1]: Leaving directory `/opt/utu-Linux-2.6.24'
 cornel@ubuntu:~/Downloads/compat-wireless-2012-05-10$ 
 follow the path's from linux terminal and copy all 10 .ko modules in idrive Filesystem folder  lib/modules 
6. edit the rcS file from Filesystem folder etc/init.d/rcS  add at the end of file in this exact order :
   insmod compat.ko
   insmod compat_firmware_class.ko
   insmod rfkill_backport.ko
   insmod cfg80211.ko
   insmod ath.ko
   insmod ath9k_hw.ko
   insmod ath9k_common.ko
   insmod mac80211.ko
   insmod ath9k_htc.ko
   insmod ath9k.ko
   echo "Start DriveEye"
   /DriveEye/DriveEye
  
   if the order of insmod .ko's is not exactly like above the idrive camera will fail to initialize this drivers at startup
7. copy htc_9271.fw file to idrive Filesystem folder lib/firmware (create "lib/firmware" folder if not exists)
8. copy compat_firmware.sh file from "compat-wireless-2012-05-10/udev" folder to idrive Filesystem folder "lib/udev" (create "lib/udev" folder if not exists)
9. copy 50-compat_firmware.rules file from "compat-wireless-2012-05-10/udev" folder to idrive Filesystem folder "etc/udev/rules.d"
10. pack the Filesystem using mkyaffsimage tool