Cannot see wlan0 on Sierra Wireless WP7702 MangOH Yellow device

Hi,

I updated the firmware on my MangOH Yellow, but now I am not able to connect to the wifi. I see that wlan0 interface is not listed in ifconfig -a

root@swi-mdm9x28-wp:~# ifconfig -a
bridge0 Link encap:Ethernet HWaddr 0A:F8:CF:65:1D:77
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0
inet6 addr: fe80::8f8:cfff:fe62:1a74/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:76 (76.0 B)

ecm0 Link encap:Ethernet HWaddr 3E:DE:E0:90:9D:CC
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::3cde:e0ff:fe90:9dcc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:646 errors:0 dropped:0 overruns:0 frame:0
TX packets:365 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58467 (57.0 KiB) TX bytes:53666 (52.4 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76 (76.0 B) TX bytes:76 (76.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:2000 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rmnet_data0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
[NO FLAGS] MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rmnet_data1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
[NO FLAGS] MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rmnet_data2 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
[NO FLAGS] MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rmnet_data3 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
[NO FLAGS] MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:IPv6-in-IPv4
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)

and when I try to run command, and logread on another terminal, here is the information:

root@swi-mdm9x28-wp:~# wifi client start
ERROR: le_wifiClient_Start returns ERROR.

ravneetsingh@RavneetPersonal:~$ ssh root@192.168.2.2
root@swi-mdm9x28-wp:~# logread -f | grep wifi
Jul 12 16:11:45 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[1232]/supervisor T=main | proc.c GetWatchdogAction() 362 | wifi@0 watchdogAction ‘’ in proc section
Jul 12 16:11:45 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1232]/supervisor T=main | app.c app_Start() 3471 | Starting app ‘wifi’
Jul 12 16:11:45 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1232]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/wifi/read-only/lib/libComponent_wifi.so’ to '/legato/systems/current/appsWriteable/wifi/lib/libComponen
Jul 12 16:11:45 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1232]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/wifi/read-only/bin/wifi’ to ‘/legato/systems/current/appsWriteable/wifi/bin/wifi’: Already exists
Jul 12 16:11:45 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1232]/supervisor T=main | proc.c proc_Start() 1403 | Starting process ‘wifi@0’ with pid 4896
Jul 12 16:11:45 swi-mdm9x28-wp user.info Legato: INFO | supervisor[4896]/supervisor T=main | proc.c proc_Start() 1363 | Execing ‘bin/wifi’
Jul 12 16:11:45 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[3346]/framework T=main | unixSocket.c ExtractFileDescriptor() 34 | Received fd (12).
Jul 12 16:11:45 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[3346]/framework T=main | unixSocket.c ExtractFileDescriptor() 34 | Received fd (13).
Jul 12 16:11:45 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | WIFI_START
Jul 12 16:11:45 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | /etc/init.d/cywifi:
Jul 12 16:11:45 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | line 109:
Jul 12 16:11:45 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | can’t create /sys/devices/platform/expander.0/wl_reg_on: nonexistent directory
Jul 12 16:11:45 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] |
Jul 12 16:11:49 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | Cypress chip MMC recognition may have been overwritten
Jul 12 16:11:49 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/compat.ko’: File exists
Jul 12 16:11:49 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/cfg80211.ko’: File exists
Jul 12 16:11:49 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmutil.ko’: File exists
Jul 12 16:11:49 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmfmac.ko’: File exists
Jul 12 16:11:54 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | wlan0 interface was not created by Cypress drivers
Jul 12 16:11:54 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | WiFi reset
Jul 12 16:11:57 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | /etc/init.d/cywifi:
Jul 12 16:11:57 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | line 109:
Jul 12 16:11:57 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | can’t create /sys/devices/platform/expander.0/wl_reg_on: nonexistent directory
Jul 12 16:11:57 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] |
Jul 12 16:12:01 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | Cypress chip MMC recognition may have been overwritten
Jul 12 16:12:01 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/compat.ko’: File exists
Jul 12 16:12:02 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/cfg80211.ko’: File exists
Jul 12 16:12:02 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmutil.ko’: File exists
Jul 12 16:12:02 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmfmac.ko’: File exists
Jul 12 16:12:07 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | wlan0 interface was not created by Cypress drivers
Jul 12 16:12:09 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | /etc/init.d/cywifi:
Jul 12 16:12:09 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | line 109:
Jul 12 16:12:09 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | can’t create /sys/devices/platform/expander.0/wl_reg_on: nonexistent directory
Jul 12 16:12:09 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] |
Jul 12 16:12:14 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | Cypress chip MMC recognition may have been overwritten
Jul 12 16:12:14 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/compat.ko’: File exists
Jul 12 16:12:14 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/cfg80211.ko’: File exists
Jul 12 16:12:14 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmutil.ko’: File exists
Jul 12 16:12:14 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmfmac.ko’: File exists
Jul 12 16:12:19 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | wlan0 interface was not created by Cypress drivers
Jul 12 16:12:22 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | /etc/init.d/cywifi:
Jul 12 16:12:22 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | line 109:
Jul 12 16:12:22 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | can’t create /sys/devices/platform/expander.0/wl_reg_on: nonexistent directory
Jul 12 16:12:22 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] |
Jul 12 16:12:26 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | Cypress chip MMC recognition may have been overwritten
Jul 12 16:12:26 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/compat.ko’: File exists
Jul 12 16:12:26 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/cfg80211.ko’: File exists
Jul 12 16:12:26 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmutil.ko’: File exists
Jul 12 16:12:26 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[3346] | insmod: can’t insert ‘/lib/modules/3.18.140/backports/brcmfmac.ko’: File exists
Jul 12 16:12:31 swi-mdm9x28-wp user.info Legato: INFO | wifiService[3346] | wlan0 interface was not created by Cypress drivers
Jul 12 16:12:31 swi-mdm9x28-wp user.warn Legato: -WRN- | wifiService[3346]/daemon T=main | pa_wifi_client.c pa_wifiClient_Start() 532 | Failed to start WiFi client command “WIFI_START” systemResult (32512)
Jul 12 16:12:31 swi-mdm9x28-wp user.warn Legato: -WRN- | wifiService[3346]/daemon T=main | le_wifiClient.c le_wifiClient_Start() 821 | Unable to start WIFI client; return code: -6
Jul 12 16:12:31 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[3346]/framework T=main | le_wifiClient_server.c CleanupClientData() 163 | Client 0x7f56c450 is closed !!!
Jul 12 16:12:31 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1232]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process ‘wifi@0’ (PID: 4896) has exited with exit code 1.
Jul 12 16:12:31 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[3346]/framework T=main | le_wifiAp_server.c CleanupClientData() 163 | Client 0x7f56c3c0 is closed !!!
Jul 12 16:12:31 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[1232]/supervisor T=main | app.c app_SigChildHandler() 4066 | Process ‘wifi@0’ in app ‘wifi’ faulted: Ignored.
Jul 12 16:12:31 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1232]/supervisor T=main | app.c app_StopComplete() 4753 | app ‘wifi’ has stopped.
Jul 12 16:12:31 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1232]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application ‘wifi’ has stopped.

Will be grateful for any help/suggestions!! Thanks a lot!!

No problem is found by other user

Yes the issue looks like the same. Seems like the issue got resolved by flashing the latest spk file that came with the mangOH release. I have done the same actually, and it stopped working:

I downloaded the file from here:

WP77XX With Octave (SPK)

I used this command after scping the file:
fwupdate download /tmp/mangOH-yellow-wp77xx_0.7.0-octave.spk

Is this not the way to do? Please guide me. Thanks!!

What do you mean by “stopped working”?

It was working earlier when I had the 0.6.0 update file:

yellow_wp77xx_0.6.0-octave.spk

This time the website has 0.7.0 spk

Then you can flash the old one

I had tried to do that only, and it stopped booting (stuck on the step of:

Download started …
Download successful
Installing & Reboot …

and then never booted. That is when after struggling to boot the device after so much time, i posted on the forum, and you helped me out (in another post)

Which one has booting problem

This one (which had the wifi running earlier, but after updating firmware, it stopped working, and reverting back to this again stopped booting):

yellow_wp77xx_0.6.0-octave.spk

Version 0.6 can work with wifi before
And then you flash again version 0.6, it has booting problem, right?

Yes that is what happened. I am a bit scared to try that again (scping the yellow_wp77xx_0.6.0-octave.spk on the mangOH yellow device and then running the fwupdate command). Last time I did that, it stopped booting.

it does not quite make sense that sometimes it works and sometimes it does not work

you might build it by yourself and see if it will reboot:

Yes that is why I am confused. But the other way to look at this is, now that I have latest mangOH firmware:

mangOH-yellow-wp77xx_0.7.0-octave.spk

why is the wifi not working. It is not even showing wlan0 in the interfaces. You pointed me to the two posts, out of which this one has exactly the same problem as I am having:

mentioned in the file he attached along wifiStartIssue.txt (9.0 KB)

But I don’t see a solution, on how did he resolve the problem (except that he said he was using the wrong firmware, but I am using the latest firmware from the mangOH website)

Also, when I run the following commands, it says mangOH Red, but I have a mangOH yellow. So I don’t know how it is downloading the wrong firmware:

root@swi-mdm9x28-wp:~# wifi client start
ERROR: le_wifiClient_Start returns ERROR.
root@swi-mdm9x28-wp:~# ifup wlan0
mangOH red board
modprobe: can’t load module mac80211 (kernel/net/mac80211/mac80211.ko): unknown symbol in module, or unknown parameter
root@swi-mdm9x28-wp:~#

I downloaded from here:

for WP77xx with Octave SPK file. Is that wrong for mangOH yellow? Shall I try other?

no idea why it does not work on version 0.7.

currently you can only try yellow_wp77xx_0.6.0-octave.spk and if it still has reboot problem.

another way is to compile the mangoh yellow layer v0.6:

Tried again with

C:\Users\ravneetsingh\Downloads>scp yellow_wp77xx_0.6.0-octave.spk root@192.168.2.2:/tmp
yellow_wp77xx_0.6.0-octave.spk 100% 58MB 4.3MB/s 00:13

root@swi-mdm9x28-wp:~# fwupdate download /tmp/yellow_wp77xx_0.6.0-octave.spk
Connecting to service …
Download started …
Download successful
Installing & Reboot …

It has stuck on this for like an hour now.

Did you capture any uart debug message?

How about the image without octave?

how to capture UART debug message?
Now I am in the same problem (device not booting) and following the steps you helped with yesterday.
Somehow I saw the image without Octave has very less apps (and not even Python2.7) but the image with Octave has Python2.7 at least. Since I was not able to build even the base Yocto image, I thought I will first try with Octave rather than connecting directly to AWS IOT Core

I also noticed that earlier (before updating firmware), after booting, the three LEDs used to blink in sequence. Now after booting, just one Yellow LED is on and not blinking. I had read somewhere that on booting helloYellow app causes the blinking, but it doesn’t even after starting that app. Any idea if I am doing something wrong?

UART2:


(of course you need to set AT!MAPUART)

Can you please help me set that? Or point me to the correct document on how to do that?

image