Gigibit ethernet ports on Ocotea + 2.6.10
Eugene Surovegin
ebs at ebshome.net
Fri Feb 25 15:20:52 EST 2005
On Thu, Feb 24, 2005 at 06:42:40PM -0800, Howard, Marc wrote:
> console=ttyS0,115200 root=/dev/nfs rw
> nfsroot=192.168.168.108:/projects/targets/ppc_4xx
> ip=192.168.168.111:192.168.168.108:192.168.168.108:255.255.255.0:ppc440:
> :off
You haven't searched archives very hard :).
Format of ip=... can be found in net/ipv4/ipconfig.c:
/*
* Decode any IP configuration options in the "ip=" or "nfsaddrs=" kernel
* command line parameter. It consists of option fields separated by colons in
* the following order:
*
* <client-ip>:<server-ip>:<gw-ip>:<netmask>:<host name>:<device>:<PROTO>
*
* Any of the fields can be empty which means to use a default value:
* <client-ip> - address given by BOOTP or RARP
* <server-ip> - address of host returning BOOTP or RARP packet
* <gw-ip> - none, or the address returned by BOOTP
* <netmask> - automatically determined from <client-ip>, or the
* one returned by BOOTP
* <host name> - <client-ip> in ASCII notation, or the name returned
* by BOOTP
* <device> - use all available devices
* <PROTO>:
* off|none - don't do autoconfig at all (DEFAULT)
* on|any - use any configured protocol
* dhcp|bootp|rarp - use only the specified protocol
* both - use both BOOTP and RARP (not DHCP)
*/
BTW, looks like your ip=.. line is incorrect, you missed <device>
parameter.
--
Eugene
More information about the Linuxppc-embedded
mailing list