Description:
I am working with Yocto on a Raspberry Pi 3 Model B V1.2, using the scarthgap branch. I am encountering issues with getting the Broadcom Wi-Fi and Bluetooth hardware to work properly. Despite setting up the necessary drivers and firmware, neither Wi-Fi nor Bluetooth is being detected or initialized. Below are the details of my configuration, the troubleshooting steps I’ve taken, and the results observed.
Configuration and Environment
Verified that the required firmware files (brcmfmac43430-sdio.bin and brcmfmac43455-sdio.bin) are present in /lib/firmware/brcm/. The brcmfmac and brcmutil drivers are visible on the system. But are not loaded automatically. Below is my dmesg output: and my lsmod output
dmesg.txtlsmod.txt
When loaded manually with modprobe brcmfmac and modprobe brcmutil, they do not automatically detect or initialize a Wi-Fi interface. Running ip link show reveals that wlan0 is not created.
here is my dmesg after attempting to manually load the drivers:
There is no further output indicating Wi-Fi initialization or issues. This is true even after enabling the SDIO bus support for FullMAC drivers in the kernel configuration.
Bluetooth Behavior:
Bluetooth is also non-functional. Running hciconfig -a shows no BD address (all zeros).
The Bluetooth-related firmware packages are installed, but no hci0 device is created or recognized, and Bluetooth tools (hciconfig) do not detect the hardware.
I also attempted to add dtoverlay=sdio in /boot/config.txt to force SDIO initialization, but this did not help. The SDIO device remains undetected on both Wi-Fi and Bluetooth.
Questions and Support NeededCould you provide guidance on the following points?
Driver Initialization: Are there known dependencies or configurations needed to ensure that brcmfmac and brcmutil automatically initialize wlan0 and detect Bluetooth ?
Bluetooth Setup: Are additional configurations required to properly initialize Bluetooth hardware and prevent the BD address from being set to all zeros?
Any help or insights would be greatly appreciated, as this is my first time working with Yocto on the Raspberry Pi, and I am encountering challenges in detecting and initializing both Wi-Fi and Bluetooth.
Description: I am working with Yocto on a Raspberry Pi 3 Model B V1.2, using the scarthgap branch. I am encountering issues with getting the Broadcom Wi-Fi and Bluetooth hardware to work properly. Despite setting up the necessary drivers and firmware, neither Wi-Fi nor Bluetooth is being detected or initialized. Below are the details of my configuration, the troubleshooting steps I’ve taken, and the results observed. Configuration and Environment
here is my local.conf
Other Firmware/Driver Packages: In MACHINE_EXTRA_RRECOMMENDS, includes the following packages in raspberrypi3.conf:
Observations and Steps Taken Driver Loading:
Verified that the required firmware files (brcmfmac43430-sdio.bin and brcmfmac43455-sdio.bin) are present in /lib/firmware/brcm/. The brcmfmac and brcmutil drivers are visible on the system. But are not loaded automatically. Below is my dmesg output: and my lsmod output dmesg.txt lsmod.txt
When loaded manually with modprobe brcmfmac and modprobe brcmutil, they do not automatically detect or initialize a Wi-Fi interface. Running ip link show reveals that wlan0 is not created. here is my dmesg after attempting to manually load the drivers:
There is no further output indicating Wi-Fi initialization or issues. This is true even after enabling the SDIO bus support for FullMAC drivers in the kernel configuration.
Bluetooth Behavior:
Bluetooth is also non-functional. Running hciconfig -a shows no BD address (all zeros). The Bluetooth-related firmware packages are installed, but no hci0 device is created or recognized, and Bluetooth tools (hciconfig) do not detect the hardware.
I also attempted to add dtoverlay=sdio in /boot/config.txt to force SDIO initialization, but this did not help. The SDIO device remains undetected on both Wi-Fi and Bluetooth.
Questions and Support Needed Could you provide guidance on the following points?
Driver Initialization: Are there known dependencies or configurations needed to ensure that brcmfmac and brcmutil automatically initialize wlan0 and detect Bluetooth ? Bluetooth Setup: Are additional configurations required to properly initialize Bluetooth hardware and prevent the BD address from being set to all zeros?
Any help or insights would be greatly appreciated, as this is my first time working with Yocto on the Raspberry Pi, and I am encountering challenges in detecting and initializing both Wi-Fi and Bluetooth.
Thanks in advance JosephMS,