Page 1 of 1

DHCP + SAMA5D2 + WILC1000

Posted: Sat Nov 10, 2018 11:23 am
by bkardosa
Hello,
I'm currently experimenting with ATSAMA5D27-Som1-Ek1 and a WILC1000-SD module. My SW environment is based on meta-atmel core-image-minimal (https://github.com/linux4sam/meta-atmel) and I have added some other packages (iw, wifi, ...). I also added the latest WILC SDIO driver and firmware (https://github.com/linux4wilc). So far everything seems to work but the DHCP client. The wlan0 interface comes up, wpa_supplicant can connect to networks. If I set IP address manually ping works in both directions (I can ping the board from another machine), wget with big files also works.
The only thing I'm missing is DHCP. "udhcpc wlan0" continuously sends discover requests but never returns. I don't know which one of the driver, the firmware or the Yocto environment is wrong. Did anybody have a similar issue with either WILC1000 SD or the meta-atmel distribution?
Thanks and best regards!

Re: DHCP + SAMA5D2 + WILC1000

Posted: Mon Nov 12, 2018 12:04 pm
by bkardosa
Hi All,
I added dhcp-client package to the image and "dhclient wlan0" just works. So this seems to be a busybox/udhcp and/or WiFi network configuration issue.
Unfortunately the image containing dhcp-client boots very slow because it spends more than a minute with waiting for eth0 to become ready. But that's a different story.