From: Wolfgang Denk Date: Thu, 11 Jan 2007 00:13:19 +0100 Subject: [U-Boot-Users] Using DNS for serverip parameter In-Reply-To: Your message of "Wed, 10 Jan 2007 16:09:34 GMT." Message-ID: <20070110231319.CC82E35264F@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message 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