I have a problem where I flash an image on a custom board of mine, Ethernet link is up, an IP is assigned by udhcpc (version 1.29.3 from busybox) and a connection to the internet is established.
Then after a soft reboot, either (randomly) eth0 fails to be brought up or eth0 is detected but an IP cannot be given by the dhcp client no matter how many tries and setting a static IP doesn’t work either. If eth0 cannot be detected, a hard reboot will make it appear again but still no connection to the internet (dynamic or static).
I am using Buildroot-2019.02.04 to build my image, using kernel 4.14.73-ltsi and using a cyclone V socfpga.
Are there some registers that are not being completely cleared/reset and that’s why the reboot is causing issues? Or any other pointers would be highly appreciated. Please let me know also if I can share any useful logs or any other details.