2020-11-09 02:22 PM
I have a pair of DK1 boards I just received that I wanted to get working with wifi direct, but neither even can show a wlan0 interface. In the past I have used a DK2 with buildroot and got the wlan0, and a coworker used stock yocto build on the DK2 and said wlan0 was there too. Is there some problem with the DK1?
#first check:
root@stm32mp1:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:80:E1:42:70:CC
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:57 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:264 errors:0 dropped:0 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16800 (16.4 KiB) TX bytes:16800 (16.4 KiB)
usb0 Link encap:Ethernet HWaddr 66:38:9F:BB:BF:73
inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
#try load module:
root@stm32mp1:~# modprobe brcmfmac
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
root@stm32mp1:~# lsmod
Module Size Used by
brcmfmac 192512 0
brcmutil 16384 1 brcmfmac
cfg80211 503808 1 brcmfmac
galcore 331776 2
stm32_cec 16384 0
cec 40960 1 stm32_cec
sch_fq_codel 20480 3
goodix 20480 0
ipv6 417792 30
# still nothing:
root@stm32mp1:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:80:E1:42:70:CC
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:57 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:264 errors:0 dropped:0 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16800 (16.4 KiB) TX bytes:16800 (16.4 KiB)
usb0 Link encap:Ethernet HWaddr 66:38:9F:BB:BF:73
inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
#For the heck of it:
root@stm32mp1:~# wpa_supplicant -B -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface
This is the shipped SD version with 4.19 kernel. I also tried my own Dunfell build with kernel 5.4, same problem with no wlan0.
Solved! Go to Solution.
2020-11-09 02:52 PM
Looking through some other comments I noticed it mentioned there is no wifi chipset on the DK1. This might explain it!
2020-11-09 02:52 PM
Looking through some other comments I noticed it mentioned there is no wifi chipset on the DK1. This might explain it!