Hi All,
Please help me to enable WIFI driver AR6103 SDIO interface with Android for IMX53 ARD board.
Please suggest.
Regards,
Swamy
It belongs compile error, please make sure you didn't back up 298's code in your project because there is also a ar6000.ko's compile task there. Use a clean environment please. this compile error is easy to solve.Please don't repeat the same error again and again here.
how to solve this compile error can google it,
refer to
http://forum.cyanogenmod.com/topic/35279-need-help-build-error/
http://groups.google.com/group/android-building/browse_thread/thread/f52c8d58af7420ad
I am getting this error when I include RC.563...Please let me know where I need to make changes?
Regards,
Swamy
build/core/main.mk:303: implicitly installing apns-conf_sdk.xml
build/core/base_rules.mk:479: warning: overriding commands for target `out/target/product/imx53_ard/system/wifi/ath6k/AR6003/hw2.1.1/bdata.SD31.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/imx53_ard/system/wifi/ath6k/AR6003/hw2.1.1/bdata.SD31.bin'
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host/Android.mk:107: warning: overriding commands for target `/home/android/myandroid/system/wlan/atheros/AR6kSDK.build_3.1_RC.563/dummy'
system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host/Android.mk:107: warning: ignoring old commands for target `/home/android/myandroid/system/wlan/atheros/AR6kSDK.build_3.1_RC.563/dummy'
system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host/Android.mk:113: warning: overriding commands for target `system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host/os/linux/ar6000.ko'
system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host/Android.mk:113: warning: ignoring old commands for target `system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host/os/linux/ar6000.ko'
build/core/base_rules.mk:162: *** system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host: MODULE.TARGET.ETC.ar6000.ko already defined by system/wlan/atheros/AR6kSDK.build_3.1_RC.563/host. Stop.
Also i tried
bash-3.2# insmod ar6000.ko
I am getting this message....
bash-3.2# AR6000: Unsupported configuration opcode: 3
AR6000: SDIO bus operation failed! MMC stack returned : -84
Unable to read RX_LOOKAHEAD_VALID register
Unable to read Target Version from the device
Regards,
Swamy
Hi Jianzheng Zhou,
I included /system/wifi/ath6k/ AR6003/ hw2.1.1 and built. Now I am getting this error, when I tried to connect the WIFI.
I did not include myandroid\system\wlan\atheros\AR6kSDK.build_3.1_RC.563 as it was giving compilation error.
Please suggest.
Regards,
Swamy
AR6000: Unsupported configuration opcode: 3
AR6000: Unsupported configuration opcode: 3
HIF Interrupt processing is SYNC ONLY
AR6000: Unsupported configuration opcode: 7
AR6000: Unsupported configuration opcode: 5
In aggr_init..going out of aggr_init..status OK
Unknown firmware revision: 805307778
ar6000_avail: ar6000_sysfs_bmi_get_config failed
after 1mins I got this message,
init: untracked pid 2501 exited
aggr_module_destroy(): aggr = dffe0000
out aggr_module_destroy
Sorry, I have one more question,
In my ARD board I am using following atheros kit
In the path myandroid\system\wlan\atheros\AR6kSDK.3.0_RC.298
But when I referred SMD, it was having myandroid\system\wlan\atheros\AR6kSDK.build_3.1_RC.563
which is a different version. Shall I copy this too to my system\wlan\atheros? and look for the path myandroid\system\wlan\atheros\AR6kSDK.build_3.1_RC.563 under Boardconfig.mk?
For your information when I checked in SMD board, the SDIO Atheros 6103 works fine..
Regards,
Swamy
1)In our newer software release there is this file. This file can be omitted. Not using it in fact.
2)No need to change code. you just need to add a hw2.1.1 folder alike hw2.0 in /system/wifi/ath6k/ AR6003 folder. The driver will auto search /system/wifi/ath6k/ AR6003/ hw2.1.1 folder if it detect it is a AR6103 wifi module.
Thanks for the reply.
1)
I could find all the mentioned files, but I was not able to find endpointping.bin, may i know where can i get it?
2)
Then, in the code please tell me which file does actually looks for this path hw2.1.1, so that i modify from hw2.0 to hw2.1.1.
Regards,
Swamy
Yes, you can use our newer software version--10.3.2. Or you can manually copy hw2.1.1 firmware from SMD. ensure all the following firmware are included in hw2.1.1 folder:
athtcmd_ram.bin athwlan_mobile.bin athwlan_tablet.bin data.patch.hw3_0.bin endpointping.bin
athwlan.bin athwlan_router.bin bdata.SD31.bin device.bin otp.bin
It is not available in the path you have mentioned. I could only see hw2.0 there. Please tell me which file does actually looks for this path?
Also, i have this hw2.1.1 firmware in SMD, can i copy that to here?
Please suggest.
Regards,
Swamy
Hello Jianzheng Zhou,
Please suggest..
Some more log information...
# AR6000: Unsupported configuration opcode: 3
AR6000: SDIO bus operation failed! MMC stack returned : -84
Unable to read RX_LOOKAHEAD_VALID register
Unable to read Target Version from the device
init: untracked pid 2609 exited
bash-3.2# AR6000: SDIO bus operation failed! MMC stack returned : -84
Unable to decrement the command credit count register
Unable to write to the device
Under logcat....
I/ActivityManager( 2160): Displayed com.android.settings/.WirelessSettings: +416ms
E/WifiHW ( 2160): Unable to open connection to supplicant on "/data/system/wpa_supplicant/eth1": No such file or directory
I//system/bin/wpa_supplicant( 2790): ioctl[SIOCGIFFLAGS]: No such device
I//system/bin/wpa_supplicant( 2790): Could not get interface 'wlan0' flags
I//system/bin/wpa_supplicant( 2790): ioctl[SIOCSIWPMKSA]: No such device
I//system/bin/wpa_supplicant( 2790): ioctl[SIOCSIWMODE]: No such device
I//system/bin/wpa_supplicant( 2790): Could not configure driver to use managed mode
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/WifiHW ( 2160): Unable to open connection to supplicant on "/data/system/wpa_supplicant/eth1": No such file or directory
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
D/dalvikvm( 2244): GC_EXPLICIT freed 6K, 49% free 2956K/5767K, external 4819K/6018K, paused 34ms
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
I/ActivityManager( 2160): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings } from pid 2400
I/SurfaceFlinger( 2160): mHw->getFormat() 4
D/dalvikvm( 2400): GC_CONCURRENT freed 205K, 50% free 2961K/5831K, external 1167K/1619K, paused 3ms+4ms
I/ActivityManager( 2160): Displayed com.android.settings/.wifi.WifiSettings: +318ms
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/WifiHW ( 2160): Unable to open connection to supplicant on "/data/system/wpa_supplicant/eth1": No such file or directory
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
E/WifiHW ( 2160): Unable to open connection to supplicant on "/data/system/wpa_supplicant/eth1": No such file or directory
V/WifiStateTracker( 2160): Supplicant died unexpectedly
D/WifiStateTracker( 2160): Reset connections and stopping DHCP
E/wpa_supplicant( 2792): ioctl[SIOCGIWRANGE]
D/ConnectivityService( 2160): NetworkStateTracker.EVENT_STATE_CHANGED
D/ConnectivityService( 2160): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/WifiStateTracker( 2160): Disabling interface
D/NetworkStateTracker( 2160): setDetailed state, old =IDLE and new state=DISCONNECTED
D/Tethering( 2160): MasterInitialState.processMessage what=3
D/WifiStateTracker( 2160): Reset connections and stopping DHCP
D/WifiStateTracker( 2160): Disabling interface
D/dalvikvm( 2709): GC_EXPLICIT freed 110K, 54% free 2669K/5703K, external 716K/1038K, paused 32ms