* Gigibit ethernet ports on Ocotea + 2.6.10
@ 2005-02-25 2:42 Howard, Marc
2005-02-25 4:20 ` Eugene Surovegin
0 siblings, 1 reply; 2+ messages in thread
From: Howard, Marc @ 2005-02-25 2:42 UTC (permalink / raw)
To: Linuxppc-embedded
Hi,
Are there any patches to 2.6.10 that are needed to make the gigabit
ethernet ports (eth2 and eth3) work on Ocotea? I can boot on eth2 using
U-Boot and get to the point where linux is (supposedly) making a BOOTP
request (although there is no traffic present on that interface).
According to my archive searching the fixes should already be in there.
Is there a pending patch repository somewhere?
As a side question are there any kernel command line options that would
force eth2 to a fixed IP address? I'm currently using:
console=3DttyS0,115200 root=3D/dev/nfs rw
nfsroot=3D192.168.168.108:/projects/targets/ppc_4xx
ip=3D192.168.168.111:192.168.168.108:192.168.168.108:255.255.255.0:ppc440=
:
:off
...but this of course doesn't associate eth2 with the desired IP address
(192.168.168.111)
Thanks,
Marc W. Howard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Gigibit ethernet ports on Ocotea + 2.6.10
2005-02-25 2:42 Gigibit ethernet ports on Ocotea + 2.6.10 Howard, Marc
@ 2005-02-25 4:20 ` Eugene Surovegin
0 siblings, 0 replies; 2+ messages in thread
From: Eugene Surovegin @ 2005-02-25 4:20 UTC (permalink / raw)
To: Howard, Marc; +Cc: Linuxppc-embedded
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-25 4:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25 2:42 Gigibit ethernet ports on Ocotea + 2.6.10 Howard, Marc
2005-02-25 4:20 ` Eugene Surovegin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox