I am using mangOH Yellow with WP7702. I am not able to simply enable built-in WiFi WLAN.
I am using LEAF in my environment.
The built in Legato version on this distribution: 19.11.3-1-g8c030edad_xxxx
Whenever I do this; i get error:
# wifi client start
ERROR: le_wifiClient_Start returns ERROR.
I believe the WiFi on Yellow is a Cypress WiFi chip. What I have tried so far.
I have tried to follow this guideline:
This file has been truncated.
## Linux kernel driver Cypress Linux WiFi Driver Release (FMAC)
* Datasheet: http://www.cypress.com/documentation/datasheets/cyw43364-single-chip-ieee-80211-bgn-macbasebandradio
* Cypress tar-ball based on: https://community.cypress.com/docs/DOC-15932
* The version of the chip used on the mangOH Yellow is from USI which incorporates
both Bluetooth & Wifi in a SIP package. The Cypress/USI chip is only available
on mangOH Yellow.
* Porting details
* We have kept this as a sub-system driver and not integrated with the Legato Kernel
Module Build Architecture such that newer quarterly releases from the
Cypress Developers can be upgraded to. Thus, it is using preBuilt modules.
* Presently, Legato does not allow external Builds from the mdef file, thus, we have
modified the top-level Makefile to build the driver before building the target.
* We have had to make a few changes to the backport code to deal with incorrect
semantic patching for the different kernels on the WP85 & WP76.
* We have selected wlan1 for the Cypress chip. We cannot use the lowest numbered interface
as the system reference code has assumed the TI Wifi on the IOT card is wlan0
It says, we have to apply patch as mentioned in
But this is for RED and Not for YELLOW!
I tried to follow only the "
Patch Legato" part.
It says, we should get patch from “
GitHub - mangOH/Legato_patches: Bug fixes for Legato that have identified and fixed but have not made it into the current Legato version.”.
But this git does not have any patch for version
19.11.3-1. The latets available is "19.1.0"
When I tried to patch using “19.1.0” version, few of the patched failed
Also, in this section and the next (" Rebuild your mangOH"), the paths are little mixed up, not generically mentioned.
I am still confused if the WiFI would be available as wlan0 or wlan1 for the builtin WiFI on Yellow.
So, finally it is all mixed up.
Hence, I request you / anyone to please point me to a proper guide /documentation to enable the built-in WiFi on Yellow. (with WP77XX)
(And I am surprised why it is not enabled by default!)
Thanks in Advance.
Additionally, I could not find "
Where are the “brcmutil” and “cywifi.sh” located in the code base?
Can anyone please point me out?
Did you ever flash a generic wp77xx release onto your yellow board? I have seen this issue and we got it to go away after flashing a mangoh-yellow official release to the board.
@jameswollaeger Thanks for your response.
I am relatively new to the mangOH-Legato ecosystem.
I bought the board from market, and I assume that it is pre-flashed with yellow binaries/file system etc.
I have built the latest mangoh+Legato by following Yellow guide book. It generated an “.update” file which flashed. I never flashed any other generic images.
Could you please point me to the official Yellow binary? the path/site link? is it the linux CWE file or the SPK files?
The problem is their guideline is itself not conforming to their release baseline. The files are missing and the patch they mentioned is not available in the git for this version. I could not even find the cywifi.sh file in the latest code base and the previous github links give 404 not found. (like this one )
Could you let me know wchih yellow baseline + legato version you are using (where built-in CyWifi is working).
Thanks in Advance.
One last thing. I will say that wifi will always fail with -6 code after a software update or crash induced reset. If you type ‘reboot’ into the command line, the wifi should work after that.
@jameswollaeger , many thanks a lot for your response. After flashing the SPK file, that came with mangoh release, it seems to be working!!