2022-10-23 09:20 AM
Hi ST Community,
I have been trying to add the WLAN interface to my stm32mp157f-dk2 board with the distro "openstlinux-weston" and the machine "stm32mp1" without success with the following documentation:
https://wiki.st.com/stm32mpu/wiki/WLAN_overview#How_to_use_WLAN
https://wiki.st.com/stm32mpu/wiki/WLAN_device_tree_configuration#cite_note-stm32mp151.dtsi-6
MACHINE_FEATURES += "wifi"
WIFI_LIST += "linux-firmware-bcm43430"
After applying all these settings and rebuilding the image, when I connect to the stm32mp157f-dk2 board and apply the command "ifconfig -a" I don't see any new WLAN interface.
Maybe I'm missing something?
Thanks in advance
2022-10-23 09:57 AM
So do you actually have this Broadcom chip or other wi-fi device?
2022-10-23 09:49 PM
Hello Pavel,
Yes I'm sure about it. In the stm32mp157f-dk2 schematic you can see that there is a LBEE5KL1DX-883 chip.
2022-10-24 03:38 AM
Hello @FBofi.1 ,
Please can you follow the tutorial of this wiki page with networkd: https://wiki.st.com/stm32mpu/wiki/How_to_setup_a_WLAN_connection#Automatic_WiFi_configuration_at_start_up
Best Regards,
Kevin
2022-10-24 06:43 AM
Hello @Kevin HUBER ,
At the moment I have no problem with the configuration of the WLAN interface. The problem is that despite applying the configurations to the kernel, to the device tree and to the configuration of the machine, the WLAN interface is not detected.
Can you confirm that the configuration mentioned in the first comment is correct? maybe I'm missing something?
Thanks,
2022-10-24 01:08 PM
I have also noticed the following errors appearing in the boot log
[ 3.693682] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 3.701290] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.st,stm32mp157f-dk2.bin failed with error -2
[ 3.706342] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[ 3.712590] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.bin failed with error -2
[ 3.719889] hub 1-0:1.0: USB hub found
[ 3.732237] hub 1-0:1.0: 2 ports detected
[ 3.739743] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.764460] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.770013] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.778297] cfg80211: failed to load regulatory.db
Maybe it's related to this issue? Any hint about it?
2022-10-25 01:41 AM
Hi,
can you verify that the firmware is actually deployed? It should be in /lib/firmware/brcm/
2022-10-25 08:46 AM
Hello @Tom�? Ju?ena , @Kevin HUBER
I checked the files in "/lib/firmware/brcm/" directory and I found "brcmfmac43430-sdio.bin" but not "brcmfmac43430-sdio.st,stm32mp157f-dk2.bin" file. Attached an image that shows the files contained in this directory
2022-11-22 08:53 AM
Hello @FBofi.1 ,
Did you made some progress on this topic?
Best Regards,
Kevin