16.06 - WLAN mac programming

Hi,

http://builds.96boards.org/releases/dragonboard410c/linaro/debian/16.06/
WLAN MAC address is now set in DTB file, not in /lib/firmware/wlan/macaddr0

How to set the mac address in DTB?

ifconfig -a
wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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)

root@linaro-alip:~# nmcli device status
DEVICE TYPE STATE CONNECTION
wlan0 wifi unavailable –
lo loopback unmanaged –
sit0 sit unmanaged –

regards,
vinaysimha

hi vinay,

I suppose you are trying it on your own board, so please be aware that we have done the following change in LK:

https://git.linaro.org/landing-teams/working/qualcomm/lk.git/commit/c0026dd80f0cb26a0b32169e66837ea30796f218

Basically this change is setting the MAC address exactly as it was before, e.g. using the same ‘algorithm’ used to generate the macaddr0 file in the user space.

If you need more information, please let me know.