No wifi at all on dragonboard410c - wifi led does not blink

I followed the instructions in
http://www.96boards.org/db410c-getting-started/Installation/LinuxFastboot.md/
and flashed
linaro-jessie-developer-qcom-snapdragon-arm64-20161006-144.img
to the rootfs partition and
boot-linaro-jessie-qcom-snapdragon-arm64-20161006-144.img
to the boot partition.
I have no wifi, the wifi led does not blink during the boot nor after.
The command “nmcli dev wifi list” shows nothing.

my kernel:

root@linaro-developer:~# uname -a
Linux linaro-developer 4.4.23-linaro-lt-qcom #1 SMP PREEMPT Thu Oct 6 08:25:14 UTC 2016 aarch64 GNU/Linux

modules:

root@linaro-developer:~# lsmod
Module Size Used by
bnep 18397 2
wcn36xx 70557 0

the end of the dmesg after boot is:

[ 11.297787] remoteproc1: powering up soc:vidc_tzpil@0
[ 11.330898] remoteproc1: Booting fw image venus.mdt, size 6812
[ 11.348131] remoteproc2: powering up a204000.wcnss
[ 11.354765] remoteproc2: Booting fw image wcnss.mdt, size 7260
[ 11.522133] qcom-tz-pil soc:vidc_tzpil@0: start successful
[ 11.552154] remoteproc1: remote processor soc:vidc_tzpil@0 is now up
[ 11.929911] remoteproc2: remote processor a204000.wcnss is now up
[ 12.050425] qcom_wcnss_ctrl pronto.wcnss: WCNSS Version 1.5 1.2
[ 12.205559] alloc_contig_range: [bc070, bc078) PFNs busy
[ 12.209489] alloc_contig_range: [bc070, bc080) PFNs busy
[ 13.953449] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.953700] Bluetooth: BNEP filters: protocol multicast
[ 13.958038] Bluetooth: BNEP socket layer initialized
[ 16.489672] random: nonblocking pool is initialized

I added debug prints to wcn36xx_probe function and I found out that the mac address in the following code is null:

addr = of_get_property(pdev->dev.of_node, "local-mac-address", &ret);
if (addr && ret != ETH_ALEN) {
	wcn36xx_err("invalid local-mac-address\n");
	ret = -EINVAL;
	goto out_wq;
} else if (addr) {
	wcn36xx_info("mac address: %pM\n", addr);
	SET_IEEE80211_PERM_ADDR(wcn->hw, addr);
}
   //debug line I added
pr_info("in wcn36xx_probe: dafna mac addr is %p\n",addr);//addr here is null

what does that means ? what should I do ?

hi,

this is a ‘known’ issue. The mac address needs to be set. In our builds it is set by the LK bootloader (in the device tree). So you are probably using an ‘old’ version of the firmware/bootloader. Can you please update your frmware/bootloader and use either the latest release:

http://builds.96boards.org/releases/dragonboard410c/linaro/rescue/16.09/

or even the last build from

http://builds.96boards.org/snapshots/dragonboard410c/linaro/rescue/79/

yes! the lk replacement solved it, thanks!
Maybe it’s a good idea to add this debug I added as a warning to the main code.