[U-Boot] DNS Resolution for serverip-environment-variable?

Hi,
is it possible to set the hostname instead of the ipaddress for the serverip-environment-variable. So that I can load the os-image from an tftp-server with dynamic ipaddress.
Thank you
Gesendet von freenetMail- Mehr als nur eine E-Mail-Adresse http://email.freenet.de/dienste/emailoffice/produktuebersicht/basic/mail/ind...

Dear adam.cartwright@bossmail.de,
In message E1LWXyn-0001jO-Sk@www11.emo.freenet-rz.de you wrote:
is it possible to set the hostname instead of the ipaddress for the serverip-environment-variable. So that I can load the os-image from an tftp-server with dynamic ipaddress.
Yes, of course this is possible. You will have to implement a DNS resolver in U-Boot to support such a feature.
But note that this will probably drop you just one level lower: You will then have to store the IP address of the name server(s) ...
Best regards,
Wolfgang Denk
participants (2)
-
adam.cartwrightļ¼ bossmail.de
-
Wolfgang Denk