I am struggling to get an SD8686 WiFi device working on xubuntu 18.04 which is sdio via mmc1 on a Viliv S5 MID (1G, Atom 1.3 GHz, GMA500, etc.)
A power-up utility (viliv-ec, not written by me) is able to turn on the device bluetooth adapter successfully, however, when I tell it to turn on the onboard WiFi device, it appears as soon as power-up occurs, xubuntu locks up (and requires a hold-the-power-button reset.)
Firmware sd8686.bin and sd_helper.bin obtained from marvell support pages copied to /lib/firmware in advance.
On the first terminal window:
$ modprobe libertas_sdio (returns immediately with nothing printed) $ sudo viliv-ec -e 2 (prints the following, then lockup)
I/O ports successfully opened EC_DEBUG: POWER_ON=80, address=ICE EC_DEBUG: ack ret. value=55, should match ack_success=55 Success ack returned from embedded controller (EC) for device power on EC_DEBUG: device hex cmd byte=7, address=ICE
On a second terminal window, this is running as the above commands are entered:
$ watch -n 0.01 "dmesg | tail -n $((LINES-6))"
[ 360.989206] mmc1: new SDIO card at address 0001 [ 361.184984] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 361.215326] cfg80211: Loaded X.509 cert 'sforshee: 00b......'
After that, the machine freezes.
Previously, I had tried the viliv-ec command as above, but without modprobe nor copying firmware files into place - the machine locked up as well upon peripheral power-up.