[U-Boot-Users] Using DNS for serverip parameter
Wolfgang Denk
wd at denx.de
Thu Jan 11 00:13:19 CET 2007
In message <loom.20070110T170319-311 at post.gmane.org> you wrote:
>
> I've been looking in the web all day for this, still no answer ...
> I want to set the 'serverip' kernel command-line parameter to be of the form
> 'MyLinux' instead of the usual 192.168.x.x form. How do I go about that? In the
> u-boot environment I set the dnsip variable properly, and currently my bootargs
> looks like:
There is no DNS resolution in U-Boot.
> bootargs=mem=120M console=ttyS0,115200n8 root=/dev/nfs rw 'nameserver=${dnsip}
> nfsroot=${serverip}:${rootpath}' ip=dhcp noinitrd
>
> Is this the right way to go (probably isn't, as it doesn't really work)? Is
> there a special format for 'serverip' which is not an IP address?
No.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
[Doctors and Bartenders], We both get the same two kinds of customers
-- the living and the dying.
-- Dr. Boyce, "The Menagerie" ("The Cage"), stardate unknown
More information about the U-Boot
mailing list