If you don't need an NFS root file system, you can disable kernel IP
autoconfiguration altogether. Do 'make menuconfig' in your kernel source
tree, and go to Networking/Networking options, and remove support for
"IP: kernel level autoconfiguration"
Even with kernel level IP configuration disabled, you can still have a
user process set up networking at a later time, even including DHCP, but
then you have the option of doing it in the background, without
causing unnecessary delays in the boot process.
Regards,
Arlet
Nachum Kanovsky wrote:
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: davinci-linux-open-source@linux.davincidsp.com
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
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source