Error loading mwlwifi wi-fi driver Expressobin

Hi everyone,

I am trying unsuccessfully to make wi-fi work on a Espressobin card.

My wifi card is Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless

But after installing the corresponding drivers using opkg install kmod-mwlwifi this error messages was all I got:

[   18.455655] mwlwifi 0000:00:00.0: Direct firmware load for mwlwifi/88W8897.bin failed with error -2
[   18.478545] firmware mwlwifi!88W8897.bin: firmware_loading_store: map pages failed
[   18.486732] ieee80211 phy0: cannot find firmware image <mwlwifi/88W8897.bin>

Can anyone here help to shed some light into this?

Thanks

You are missing the firmware
Install kmod-mwlwifi-firmware-88w8897

I think that should pull in the relevant firmware. Not sure why opkg is not getting the requisite firmware. Until issue is resolved, you should be able to manually grab the relevant BLOB here and place in

/lib/firmware/mwlwifi/

directory on the device.

install mwlwifi-firmware-88w8897

perhaps.

Thank you guys for replying to it.

I downloaded the BLOB to /lib/firmware. The same error message appeared.

Thu Jun 28 22:27:17 2018 kern.debug kernel: [   18.894856] ieee80211 phy0: priv->pcmd_buf = ffffff800974e000  priv->pphys_cmd_buf = 000000007c308000
Thu Jun 28 22:27:17 2018 kern.warn kernel: [   18.895348] mwlwifi 0000:00:00.0: Direct firmware load for mwlwifi/88W8897.bin failed with error -2
Thu Jun 28 22:27:17 2018 kern.warn kernel: [   18.904648] mwlwifi 0000:00:00.0: Falling back to user helper
Thu Jun 28 22:27:17 2018 kern.err kernel: [   18.918470] firmware mwlwifi!88W8897.bin: firmware_loading_store: map pages failed
Thu Jun 28 22:27:17 2018 kern.err kernel: [   18.926131] ieee80211 phy0: cannot find firmware image <mwlwifi/88W8897.bin>
Thu Jun 28 22:27:17 2018 kern.err kernel: [   18.933668] ieee80211 phy0: firmware init fail
Thu Jun 28 22:27:17 2018 kern.err kernel: [   18.938382] ieee80211 phy0: fail to initialize firmware
Thu Jun 28 22:27:17 2018 kern.warn kernel: [   18.944007] mwlwifi: probe of 0000:00:00.0 failed with error -5

Tried to run inside the directory install mwlwifi-firmware-88w8897

But got this:

root@OpenWrt:/lib/firmware/mwlwifi# install mwlwifi-firmware-88w8897
install: missing destination file operand after ‘mwlwifi-firmware-88w8897’
Try 'install --help' for more information.

I couldn't make it work.

By the way I am running the very latest DD OpenWrt.

DD, really? The latest espressobin sutff should be in master, or in the 18.06.x stable image, OOTB I would think.

Thanks for replying.

I've downloaded and installed the latest 18.06 RC image I could find:

https://downloads.openwrt.org/releases/18.06.0-rc1/targets/mvebu/cortexa53/

The same thing happened when I tried to install it using opkg and downloading the newest bin image from the website you indicated into the directory.

root@OpenWrt:~# dmesg | grep 88W8897
[   18.938433] mwlwifi 0000:00:00.0: Direct firmware load for mwlwifi/88W8897.bin failed with error -2
[   18.961745] firmware mwlwifi!88W8897.bin: firmware_loading_store: map pages failed
[   18.969946] ieee80211 phy0: cannot find firmware image <mwlwifi/88W8897.bin>


the firmware is in place.

root@OpenWrt:~# ls /lib/firmware/mwlwifi/
88W8997.bin

Any ideas of what could be happening?

Please, let me know.

Thanks

What board did you use to stuff the mPCIe of the espressobin?

My Espressobin is the model with 2Gb RAM.

The wi-fi board is the one they sell on their site: https://www.globalscaletechnologies.com/p-73-80211acbt42-minipcie-wifi-card-1795.aspx

I have just re-installed on a brand new SDHC 16Gb Card the latest snapshot version.

BusyBox v1.28.4 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r7357-4456dd4
 -----------------------------------------------------
root@OpenWrt:~# lspci
00:00.0 Ethernet controller: Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless

The issue remains

I have just installed the latest 18.06 RC2.

I am still unable to properly initialize my wifi card.

Any ideas?

Please, let me know.

I'm stuck on this.

You driver find the 88W8897.bin(ieee80211 phy0: cannot find firmware image <mwlwifi/88W8897.bin>), but only 88W8997.bin in your router