BigW Consortium Gitlab

Commit f7063ff3 by Zahid Chowdhury

load all Cypress wifi modules at boot-time

parent e139ce94
...@@ -46,12 +46,12 @@ ...@@ -46,12 +46,12 @@
to the AP reference found from scan. These are the steps: to the AP reference found from scan. These are the steps:
* To have the Cypress Wifi start via init.d properly (i.e. ifup scripts) you need to add * To have the Cypress Wifi start via init.d properly (i.e. ifup scripts) you need to add
following lines to "/etc/network/interfaces": following lines to "/etc/network/interfaces":
```
iface wlan1 inet manual iface wlan1 inet manual
pre-up /legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh start pre-up /legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh start
post-down /legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh stop post-down /legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh stop
```
* Please apply the Legato Patches as mentioned under: * Please apply the Legato Patches as mentioned under:
https://github.com/mangOH/mangOH/wiki/mangOH-Red-mt7697-WiFi https://github.com/mangOH/mangOH/wiki/mangOH-Red-mt7697-WiFi
* /legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh init * /legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh init
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
if [ -e "/legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh" ] if [ -e "/legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh" ]
then then
/legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh init /legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh init
/legato/systems/current/modules/files/brcmutil/etc/init.d/cywifi.sh start
fi fi
``` ```
between "mount -o bind $LEGATO_MNT /legato" and "test -x $LEGATO_START && $LEGATO_START" between "mount -o bind $LEGATO_MNT /legato" and "test -x $LEGATO_START && $LEGATO_START"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment