emac driver broken in 2.6.12.2 ?

2005-09-19 Thread Peter Fercher
hi,
 
i have problems with the IBM EMAC with 2.6.12.2 (the driver worked with
2.4.25)
running on ppc405EP octobus board. Cross compiled on x86 using the eldk-3.1
toolchain
 
any hints ?
 
emac: IBM EMAC Ethernet driver, version 2.0

Maintained by Benjamin Herrenschmidt benh at kernel.crashing.org

eth0: IBM emac, MAC 00:00:00:00:00:00

eth0: Found Generic MII PHY (0x00)

eth1: IBM emac, MAC 00:00:00:00:00:00

eth1: Found Generic MII PHY (0x01)

 
cheers, peter

-
Supercomputing Systems AGphone:  +41 (0)43 456 16 31
Peter Fercherfax:+41 (0)43 456 16 10
Technoparkstrasse 1  email:  peter.fercher at scs.ch
CH-8005 Zuerich  url:http://www.scs.ch http://www.scs.ch/

-
  

 
-- next part --
An HTML attachment was scrubbed...
URL: 
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050919/f0790729/attachment.htm
 


emac driver broken in 2.6.12.2 ?

2005-09-19 Thread Stefan Roese
Hi Peter,

On Monday 19 September 2005 15:37, Peter Fercher wrote:
 i have problems with the IBM EMAC with 2.6.12.2 (the driver worked with
 2.4.25)
 running on ppc405EP octobus board. Cross compiled on x86 using the eldk-3.1
 toolchain

 any hints ?

 emac: IBM EMAC Ethernet driver, version 2.0

 Maintained by Benjamin Herrenschmidt benh at kernel.crashing.org

 eth0: IBM emac, MAC 00:00:00:00:00:00

 eth0: Found Generic MII PHY (0x00)

 eth1: IBM emac, MAC 00:00:00:00:00:00

 eth1: Found Generic MII PHY (0x01)

Looks like your board platform file is not copying the MAC addresses into the 
ocp struct. Take a look at bubinga_setup_arch() in platforms/4xx/bubinga.c. 
Here ibm_ocp_set_emac() is used to copy the addresses.

Best regards,
Stefan



emac driver broken in 2.6.12.2 ?

2005-09-19 Thread Peter Fercher
hi,

when you read the output I have pasted there you can see the following (also
in my origninal mail)
eth0: IBM emac, MAC 00:00:00:00:00:00

eth0: Found Generic MII PHY (0x00)

eth1: IBM emac, MAC 00:00:00:00:00:00

eth1: Found Generic MII PHY (0x01)


I think that this MAC addresses are crap (sorry if not formulated clearly
enough for you ;)
am I wrong ?

cheers, peter

 -Original Message-
 From: Josh Boyer [mailto:jwboyer at jdub.homelinux.org] 
 Sent: Montag, 19. September 2005 15:42
 To: Peter Fercher
 Cc: benh at kernel.crashing.org; linux-ppc-embedded
 Subject: Re: emac driver broken in 2.6.12.2 ?
 
 
 On Mon, 2005-09-19 at 15:37 +0200, Peter Fercher wrote:
  hi,
   
  i have problems with the IBM EMAC with 2.6.12.2 (the driver worked 
  with 2.4.25) running on ppc405EP octobus board. Cross 
 compiled on x86 
  using the eldk-3.1 toolchain
   
  any hints ?
 
 I think you'd need to be more explicit about what problems 
 means. Hard to give hints with what you have here.
 
 josh
 
 
 

hi,
 
i have problems with the IBM EMAC with 2.6.12.2 (the driver worked with
2.4.25)
running on ppc405EP octobus board. Cross compiled on x86 using the eldk-3.1
toolchain
 
any hints ?
 
emac: IBM EMAC Ethernet driver, version 2.0

Maintained by Benjamin Herrenschmidt benh at kernel.crashing.org

eth0: IBM emac, MAC 00:00:00:00:00:00

eth0: Found Generic MII PHY (0x00)

eth1: IBM emac, MAC 00:00:00:00:00:00

eth1: Found Generic MII PHY (0x01)

 
cheers, peter
-
Supercomputing Systems AGphone:  +41 (0)43 456 16 31
Peter Fercherfax:+41 (0)43 456 16 10
Technoparkstrasse 1  email:  peter.fercher at scs.ch
CH-8005 Zuerich  url:http://www.scs.ch 
-
  




AW: emac driver broken in 2.6.12.2 ?

2005-09-19 Thread David Grab
Message emac: IBM EMAC Ethernet driver, version 2.0
 Maintained by Benjamin Herrenschmidt benh at kernel.crashing.org
 eth0: IBM ema c, MAC 00:00:00:00:00:00
 eth0: Found Generic MII PHY (0x00)
 eth1: IBM emac, MAC 00:00:00:00:00:00
 eth1: Found Generic MII PHY (0x01)

Are you sure that you?ve configured your ethernet driver? There is no MAC
address defined. And the PHY address is really located at 0x0 or 0x1? If not
you have also to configure the offset from which address the PHY routine
start in your board specific files like for OCOTEA reference board in
linux-2.6.12/arch/ppc/platforms/4xx/ocotea.c

Best regards,

David
-- next part --
An HTML attachment was scrubbed...
URL: 
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050919/6ddb542d/attachment.htm
 


emac driver broken in 2.6.12.2 ?

2005-09-19 Thread Josh Boyer
On Mon, 2005-09-19 at 15:37 +0200, Peter Fercher wrote:
 hi,
  
 i have problems with the IBM EMAC with 2.6.12.2 (the driver worked
 with 2.4.25)
 running on ppc405EP octobus board. Cross compiled on x86 using the
 eldk-3.1 toolchain
  
 any hints ?

I think you'd need to be more explicit about what problems means.
Hard to give hints with what you have here.

josh





emac driver broken in 2.6.12.2 ?

2005-09-19 Thread Josh Boyer
On Mon, 2005-09-19 at 15:51 +0200, Peter Fercher wrote:
 hi,
 
 when you read the output I have pasted there you can see the following (also
 in my origninal mail)
snip
 
 
 I think that this MAC addresses are crap (sorry if not formulated clearly
 enough for you ;)
 am I wrong ?

No, you're not wrong.  My brain just didn't parse that as a problem with
the emac code itself.

Anyway, I think David and Stefan have pointed you in the right
direction.

josh




emac driver broken in 2.6.12.2 ?

2005-09-19 Thread Matt Porter
On Mon, Sep 19, 2005 at 09:23:36AM -0500, Josh Boyer wrote:
 On Mon, 2005-09-19 at 15:51 +0200, Peter Fercher wrote:
  I think that this MAC addresses are crap (sorry if not formulated clearly
  enough for you ;)
  am I wrong ?
 
 No, you're not wrong.  My brain just didn't parse that as a problem with
 the emac code itself.
 
 Anyway, I think David and Stefan have pointed you in the right
 direction.

Yep, he's got to configure the driver properly for his platform.

-Matt