to set static ip use something like this in the bootargs (one of the .254 addresses is the gw - the other is the server which is not used)

ip=192.168.1.165:192.168.1.254:192.168.1.254:255.255.255.0:system_name:et
h0:off

regards,

ken
-----Original Message-----
From: [EMAIL PROTECTED]
To: [email protected]
Sent: Tue, 6 Mar 2007 11:34 AM
Subject: RE: davinci boot

and what is the appropriate way to set a static ip. I am booting using
cramfs, and I need a static address but i've found that the only way to
do that is setting ip=<address> and
nfsroot=<serveraddress>:/<serverpath>. even though root is set to
cramfs. I don't need the nfsroot line b/c nfs isn't used, its just the
only way i've found to get the system not to attempt dhcp. when i remove
the nfsroot line and i just leave the ip line it still tries to boot via
dhcp.

thanx

Nachum Kanovsky
Senior Software/Hardware Engineer
Manager of Infrastructures
Mango DSP Ltd.
E-mail: [EMAIL PROTECTED]
Work: +972 2 588 5039
Cell: +972 547 508 121

Favorite Quote:
Mal: "Well, my days of not taking you seriously are certainly coming to
a middle..."
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Hunter, Jon
Sent: Tuesday, March 06, 2007 4:29 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: RE: davinci boot

I boot the board form flash using the root filesystem in hard disk.
And I
unplug the network cable. In the course of the boot,
  1 . Sending DHCP request, it will try two times and hold up several
minutes. How to skip the procedure.

You can skip the DHCP in the boot sequence, by setting the linux kernel
boot parameter "ip=off" in the u-boot bootargs.

Cheers
Jon

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to