My platform is i.MX535 running Linux which is generated by LTIB from Freescale.
The platform boots with DHCP setting in U-boot.
If there is a DHCP server, then everything is fine.
My question is:
If there is no DHCP server, how to automatically revert to static IP?
Is there any setting or configuration available in u-boot, or Linux to achieve that, or I have to write a program to detect that and do the IP setting on my own?
best regards,
Tim
Probably best to put ip=none as kernel parameter, and then in startup script run dhcp client and if it fails set up ip address statically.