Wifi does not work


#1

Hi.

https://releases.linaro.org/96boards/dragonboard410c/linaro/debian/18.01/

I am using the kernel and rootfs above.

Below are the logs.

dmesg |grep wcn*

[ 1.838483] qcom-wcnss-pil a204000.wcnss: Failed to get supply ‘vddmx’: -517
[ 1.840540] remoteproc remoteproc0: releasing a204000.wcnss
[ 2.270241] qcom-wcnss-pil a204000.wcnss: Failed to get supply ‘vddmx’: -517
[ 2.273070] remoteproc remoteproc0: releasing a204000.wcnss
[ 2.624691] qcom-wcnss-pil a204000.wcnss: a204000.wcnss supply vddcx not found, us
ing dummy regulator
[ 2.634948] remoteproc remoteproc0: a204000.wcnss is available
[ 2.676261] remoteproc remoteproc0: Direct firmware load for wcnss.mdt failed with
error -2
[ 2.676306] remoteproc remoteproc0: powering up a204000.wcnss
[ 2.683538] remoteproc remoteproc0: Direct firmware load for wcnss.mdt failed with
error -2
[ 10.333691] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000: DT proper
ty missing, MBHC btn detection disabled
[ 10.554095] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000: PMIC REV:
1 CODEC Version: 1

root@linaro-alip:/# ls /lib/modules/4.14.0-qcomlt-arm64/kernel/drivers/net/wireless/ath/wcn36xx/
wcn36xx.ko

file : .config
CONFIG_WCN36XX=m
CONFIG_WCN36XX_DEBUGFS=y
CONFIG_QCOM_WCNSS_PIL=y
CONFIG_QCOM_WCNSS_CTRL=y

root@linaro-alip:/lib/firmware# ls
a300_pfp.fw modem.b02 modem.b23 qcom venus.b04 wcnss.b02 wcnss.b11
a300_pm4.fw modem.b07 modem.b24 venus.b00 venus.mbn wcnss.b04 wcnss.mdt
mba.mbn modem.b17 modem.b25 venus.b01 venus.mdt wcnss.b06 wlan
modem.b00 modem.b19 modem.b27 venus.b02 wcnss.b00 wcnss.b09
modem.b01 modem.b20 modem.mdt venus.b03 wcnss.b01 wcnss.b10
root@linaro-alip:/lib/firmware# cd wlan
root@linaro-alip:/lib/firmware/wlan# ls
prima
root@linaro-alip:/lib/firmware/wlan# cd prima/
root@linaro-alip:/lib/firmware/wlan/prima# ls
WCNSS_qcom_wlan_nv.bin
root@linaro-alip:/lib/firmware/wlan/prima#

root@linaro-alip:/# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether aa:b1:04:c2:70:bd txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

root@linaro-alip:/# iwconfig
eth0 no wireless extensions.

lo no wireless extensions.

Is there anything I need to do for normal operation?


#2

I’ve never met this issue, remoteproc seems unable to locate the wcnss firmware, I assume because rootfs is not mounted (yet). Could you please check at which time in your dmes rootfs is mounted (dmesg | grep VFS).
That would mean the remoteproc and qcom-wcnss-pil drivers are builtin, which is AFAIK normally not the case with 18.01.


#3

Generally its best to share the whole kernel log. Ideally don’t copy these into the forum, just share a link to a pastebin or github gist…