Enable Wi-Fi on Apalis iMX8QM

Hi @Merlin ,

We seem to have found the origin of your problem. If you type:

connmanctl technologies

On our Multimedia-Reference-Image you can see 3 interfaces: Bluetooth, wifi and Ethernet.

On your Chelt image we only get ethernet:

# connmanctl technologies
/net/connman/technology/ethernet
  Name = Wired
  Type = ethernet
  Powered = True
  Connected = False
  Tethering = False

Therefore, it seems that your module is not finding the wifi technology and then, connmanctl will not be able to set its property.

In addition, I couldn’t find the mwifiex_pcie driver when doing

ls /sys/bus/pci/drivers

Looking at our bb files for our reference images, we saw somethings missing that could have led to this problem. Can you please test the following changes on your chelt.bb?

On backports-wifi, please add:

    linux-firmware-nxp89xx   \
    linux-firmware-rtl8188 \

These are two wi-fi related firmware.

In the same part, please remove:

backports \

On Image_Install_append, you mention twice connman and connman-client. You should be able to remove the first appearance and still compile your image.

After these changes, our new result on your image now is:

# connmanctl technologies
/net/connman/technology/bluetooth
  Name = Bluetooth
  Type = bluetooth
  Powered = False
  Connected = False
  Tethering = False
/net/connman/technology/wifi
  Name = WiFi
  Type = wifi
  Powered = False
  Connected = False
  Tethering = False
/net/connman/technology/ethernet
  Name = Wired
  Type = ethernet
  Powered = True
  Connected = False
  Tethering = False

And:

# connmanctl enable wifi
Enabled wifi

Please tell me if this helps.

Best regards,
Guilherme