Verdin imx8m plus WIFI access point interface "uap0" is missing in the latest TorizonCore image

issue:
wifi driver load failed. wifi access point interface “uap0” is missing. Neither listed in the NetworkManager nor the infconfig

hardware:
verdin imx8m plus + Dahlia V1.1c + wifi AzureWave AW-CM276NF

software:
error in Torizon 6.0.0-devel-202210+build.2 (2022-10-11)
error in Torizon 5.7.0-devel-202206+build.24 (2022-06-07)
OK in the old version Torizon 5.6.0-devel-202203+build.22 (2022-03-08)
OK in Linux builds Linux 6.0 build.1 2022-10-06 minimal image

error message :
in “dmesg”:
[ 7.589860] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sdiouart8997_combo_v4.bin failed with error -2
[ 7.589885] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sdiouart8997_combo_v4.bin
[ 7.589890] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device

Hi @jeffreyx ,

Can you confirm the version (e.g. V1.1A, V1.0E, etc.) of the Verdin iMX8M Plus that you’re using?

Best regards,
Lucas Akira

The issue occur on:
Verdin i.MX8M Plus V1.1A + Dahlia V1.1C

In V1.0E it is ok, we can see “uap0” in the latest TorizonCore image

Hi @jeffreyx ,

Thank you for the information. With this and with the dmesg message you sent there are some interesting points to consider:

  • On the Verdin iMX8M Plus Bluetooth and Wi-Fi are provided by the same module
    (AW-CM276NF, which is based on the Marvell 88W8997 chipset);
  • In V1.1A the Bluetooth host controller interface changed from SDIO to UART.

This recent Bluetooth configuration change requires a different firmware to be loaded on the chipset compared to the V1.0 revisions.

Early investigations on my side suggest that in V1.1A TorizonCore 5.6 or below will load the usual firmware (sdsd8997_combo_v4.bin). TorizonCore 5.7 or higher will try to load the different one named sdiouart8997_combo_v4.bin, only to fail as TorizonCore doesn’t have it by default at the moment.

Searching for sdiouart8997_combo_v4.bin in our BSP layers reveals that it is only installed on the reference images via package linux-firmware-nxp89xx, so this explains why you didn’t see this error on the minimal image.

I suggest building TorizonCore 5.7 from source with Yocto, adding package linux-firmware-nxp89xx to the image. One quick way to do it is to add this line at the end of conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "linux-firmware-nxp89xx"

After that, flash it to the Verdin iMX8M Plus V1.1A and see if uap0 appears.

Best regards,
Lucas Akira

Thanks Lucas. I agree currently “build from source with Yocto” is the only solution. However “TorizonCore does not have sdiouart8997_combo_v4.bin” is a little confusing, since the Toradex’s wifi document does not mention anything related:

Do we have a schedule to include the sdiouart8997_combo_v4.bin in a TorizonCore image ?

Regards.
Jeffrey Xuan

Hi @jeffreyx ,

We recently became aware of the firmware not being present on TorizonCore a few weeks ago, and until your issue came up we had no reports of it causing Wi-Fi problems. So it had been treated as an error related to Bluetooth, which isn’t officially supported on TorizonCore at the moment.

Although my previous answer had some early suggestions on the possible cause of the problem, we still need to further investigate it before updating our public TorizonCore releases.

We are planning to include the firmware on a future release of TorizonCore 6, however I don’t have a specific timeline to share at this time.

Best regards,
Lucas Akira