Hi Soumya,
Let's continue on this topic. I just raised a new bug about this:
https://bugs.launchpad.net/linaro-android/+bug/1267475
On our 13.12 release image, it doesn't work on TI Panda 4430, whatever Ethernet cable attached or not, "Failed to connect to network" message shows.
Would you help to double check it?
@Vishal, do you know the root cause behind those "UNKNOWN COMMAND" message? I ask because the WiFi automation test script is using wpa_cli to conduct the test.
Thank you.
Best Regards Botao Sun
On 11 December 2013 19:13, Soumya Basak soumya.basak@linaro.org wrote:
Hi Botao, Thanks a lot for the info.
we will validate the issue once the wifi on Panda is up and running.
Thank You Best Regards Soumya Basak.
On 10 December 2013 16:37, Botao Sun botao.sun@linaro.org wrote:
Hi Soumya,
On this topic, here is update from command line:
By using svc and wpa_cli, we can enable & disable WiFi from command line and it works well along with Ethernet enabled. However, WiFi can't keep its IP address after connected to an access point if Ethernet is ON. The IP address on "wlan0" will be dropped between several seconds and 1 minute after it's assigned, on my TI Panda 4430 board.
This shows a stability issue in this mode. For the log from my serial console, please refer to attachment, especially this line:
root@pandaboard:/ # [ 230.582550] cfg80211: Calling CRDA to update world regulatory domain
Because after it shows, the IP address on wlan0 is lost. This is observed on build 479, Android 4.3.1. Since on our latest Android 4.4, WiFi is currently unavailable:
https://bugs.launchpad.net/linaro-android/+bug/1255639
Then we can check this issue again once above bug got fixed.
FYI.
Thanks.
Best Regards Botao Sun
On 22 November 2013 20:12, Botao Sun botao.sun@linaro.org wrote:
- Linaro Android Mailing List
On Fri, Nov 22, 2013 at 7:44 PM, Botao Sun botao.sun@linaro.org wrote:
Hi Vishal,
Do you think we need a bug in Launchpad to track this issue?
Thanks.
Best Regards Botao Sun
On Fri, Nov 22, 2013 at 5:38 PM, Soumya Basak soumya.basak@linaro.orgwrote:
Hi Botao, I have checked twice the image with panda 4460 board:
http://snapshots.linaro.org/android/~linaro-android-member-ti/panda-linaro/4...
http://snapshots.linaro.org/android/~linaro-android-member-ti/panda-linaro/4...
http://snapshots.linaro.org/android/~linaro-android-member-ti/panda-linaro/4...
- basically, when eth0 cable is plugged in hw, and wifi is not turned
on from UI, # busybox ifconfig -a not shown the wlan0 only eth0 up and accessing network. 2. when you turn on wifi it will ask you password, after assign password, wifi shown connected (but inactive), # busybox ifconfig -a shown the wlan0 candidate but no inet address, and mask. 3. when unplugged the eth0, wlan0 is get inet address and musk, and connected.
on the other hand wifi is working well, there is no issue with Youtube playback, or enable from UI, after assign Password.
so, both are not up at the same time.
this stuff is observed from since Android version: 4.3
@Botao, what is your opinion ?
Thank You. Best Regards Soumya Basak.
On 21 November 2013 20:40, Botao Sun botao.sun@linaro.org wrote:
OK, with more tests, the problem is, if no Ethernet cable attached, WiFi works, otherwise, it shows the error I mentioned in previous 2 emails.
root@pandaboard:/ # busybox ifconfig -a eth0 Link encap:Ethernet HWaddr 0E:60:CF:E5:49:01 UP BROADCAST RUNNING MULTICAST MTU:1488 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:2510 (2.4 KiB)
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1452 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
sit0 Link encap:UNSPEC HWaddr 00-00-00-00-0F-00-01-00-00-00-00-00-00-00-00-00 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 0E:20:CF:E5:49:01 inet addr:10.0.0.25 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:96 errors:0 dropped:0 overruns:0 frame:0 TX packets:105 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:97780 (95.4 KiB) TX bytes:14813 (14.4 KiB)
root@pandaboard:/ #
Is it a "work-as-design" stuff or a bug? If we keep it likes this, then in order to test WiFi, I have to disable Ethernet first, then restore it after the test is done.
Thanks.
Best Regards Botao Sun
On Fri, Nov 22, 2013 at 2:02 AM, Botao Sun botao.sun@linaro.orgwrote:
> Hi Soumya, > > The WiFi doesn't work on 13.10 release image either: > > > https://android-build.linaro.org/builds/~linaro-android-member-ti/panda-lina... > > On my TI Panda 4460 board, same behaviour observed, and following > output shows: > > [ 148.630249] wl1271: loaded > [ 149.538604] wl1271: firmware booted (Rev 6.3.0.0.77) > [ 149.556671] ADDRCONF(NETDEV_UP): wlan0: link is not ready > [ 250.320129] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready > [ 250.383636] wl1271: Association completed. > [ 251.542541] cfg80211: Calling CRDA to update world regulatory > domain > [ 261.064025] wl1271: Scan completed due to error. > [ 261.069000] wl1271: Reading FW panic log > [ 261.074127] wl1271: Hardware recovery in progress. FW ver: Rev > 6.3.0.0.77 pc: 0x0 > [ 261.074127] wl1271: down > [ 261.086059] ieee80211 phy0: Hardware restart was requested > [ 261.714691] wl1271: firmware booted (Rev 6.3.0.0.77) > > Would you double check it on your side? Based on the output of > "ifconfig", there is no IP assigned to wlan0 interface: > > root@pandaboard:/ # busybox ifconfig -a > eth0 Link encap:Ethernet HWaddr 0E:60:CF:E5:49:01 > inet addr:10.0.0.24 Bcast:10.0.0.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1488 Metric:1 > RX packets:34 errors:0 dropped:2 overruns:0 frame:0 > TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:3870 (3.7 KiB) TX bytes:1901 (1.8 KiB) > > ip6tnl0 Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > NOARP MTU:1452 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > sit0 Link encap:UNSPEC HWaddr > 00-00-00-00-0F-00-01-00-00-00-00-00-00-00-00-00 > NOARP MTU:1480 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > wlan0 Link encap:Ethernet HWaddr 0E:20:CF:E5:49:01 > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:3 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:607 (607.0 B) TX bytes:655 (655.0 B) > > root@pandaboard:/ # > > Thanks. > > > Best Regards > Botao Sun > > > On Fri, Nov 22, 2013 at 12:40 AM, Botao Sun botao.sun@linaro.orgwrote: > >> Hi Soumya, >> >> Please take a look at WiFi status on TI Panda 4460, with Linaro >> Android build 479: >> >> >> http://snapshots.linaro.org/android/~linaro-android-member-ti/panda-linaro/4... >> >> http://snapshots.linaro.org/android/~linaro-android-member-ti/panda-linaro/4... >> >> http://snapshots.linaro.org/android/~linaro-android-member-ti/panda-linaro/4... >> >> You can use "wget" to download them in your local terminal if the >> web page can't be shown up. >> >> I ask because I just found WiFi doesn't work via GUI on my side, >> following log shows in serial console: >> >> [ 25.692474] wl1271: loaded >> [ 26.373870] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, >> full-duplex, lpa 0x45E1 >> [ 27.608551] wl1271: firmware booted (Rev 6.3.0.0.77) >> [ 27.629058] ADDRCONF(NETDEV_UP): wlan0: link is not ready >> [ 29.750000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready >> [ 29.803771] wl1271: Association completed. >> [ 29.951232] init: sys_prop: permission denied uid:1003 >> name:service.bootanim.exit >> [ 30.969970] cfg80211: Calling CRDA to update world regulatory >> domain >> >> The access point can be shown successfully in the list, and I can >> click and enter password as well, but then above output shows, with >> "Disabled" under the access point name on my screen. >> >> Based on our test result spreadsheet, it should at least work on >> 13.10 release image. I'm going to try it soon. >> >> Thanks. >> >> >> Best Regards >> Botao Sun >> > >