Bluetooth and WiFi Not Available on Yocto Built for i.MX95 Board

Hi Toradex Community,

I’m currently working on an i.MX95-19x19 Verdin board with Yocto and am having trouble getting Bluetooth and WiFi interfaces to work. Despite several attempts to include the necessary modules and configurations in my Yocto build, I cannot see any interfaces for WiFi or Bluetooth on the board.

Steps I Used to Build the Yocto Image

I followed the steps below to set up and build the Yocto environment for the i.MX95 board:

repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml
repo sync

DISTRO=fsl-imx-xwayland MACHINE=imx95-19x19-verdin source imx-setup-release.sh -b build-xwayland

bitbake -k imx-image-full -c populate_sdk

The image builds successfully, and the board boots into the Yocto environment, but there is no sign of Bluetooth or WiFi interfaces being available.

To enable WiFi and Bluetooth, I added the following configurations to my local.conf:

CORE_IMAGE_EXTRA_INSTALL += " \
    linux-firmware-ath11k \
    wpa-supplicant \
    iw \
    hostapd \
    wireless-tools \
    dhcpcd \
"

MACHINE_FEATURES:append = " wifi bluetooth"
DISTRO_FEATURES:append = " wifi ipv4 ipv6"

KERNEL_MODULES += " \
    kernel-module-ath11k-pci \
    kernel-module-ath11k \
    kernel-module-ath \
    kernel-module-mac80211 \
    kernel-module-cfg80211 \
"

The interfaces are still not available on the board after flashing these configurations.

Any guidance or suggestions to troubleshoot and resolve this issue would be greatly appreciated.

Thank you!

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

I’m sorry to hear about the difficulties you’re experiencing with enabling Bluetooth and WiFi on your i.MX95-19x19 Verdin board using Yocto. Let’s go through some steps that might help resolve this issue:

  1. Kernel Support Verification: Ensure that your kernel configuration includes support for the specific WiFi and Bluetooth hardware on your board. This means checking that necessary kernel modules, such as ath11k for WiFi and possibly btusb or hci_uart for Bluetooth, are included in your build.

  2. Firmware and Drivers: Confirm that the correct firmware files are present in the /lib/firmware directory. Missing firmware can prevent the hardware from initializing properly.

  3. Device Tree Configuration: Verify that the device tree accurately describes the WiFi and Bluetooth hardware. Incorrect or missing entries can lead to the system not recognizing the hardware.

  4. Interface Listing: Use commands like ifconfig -a or ip link to list all network interfaces and hciconfig for Bluetooth interfaces. This will help determine if the system recognizes the interfaces.

  5. Connection Management:

    • For WiFi, ensure that connman or wpa_supplicant is installed and configured correctly to manage connections.
    • For Bluetooth, use bluetoothctl to manage devices, ensuring the Bluetooth service is active and the device is discoverable.
  6. Logs and Diagnostics: Check system logs using dmesg or /var/log/messages for any errors or warnings related to WiFi and Bluetooth. These logs can provide valuable insights into what might be going wrong.

By following these steps, you should be able to identify and resolve the issues preventing Bluetooth and WiFi from functioning on your board. I hope this helps!

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

NXP i.MX 95 System on Module - Verdin iMX95.