emac driver broken in 2.6.12.2 ?

6 messages, 4 authors, 2005-09-19 · open the first message on its own page

emac driver broken in 2.6.12.2 ?

From: Peter Fercher <hidden>
Date: 2005-09-19 13:37:28

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 [off-list ref]

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 AG    phone:  +41 (0)43 456 16 31
Peter Fercher                fax:    +41 (0)43 456 16 10
Technoparkstrasse 1          email:  peter.fercher@scs.ch
CH-8005 Zuerich              url:    http://www.scs.ch <http://www.scs.ch/>

---------------------------------------------------------
  

 

Re: emac driver broken in 2.6.12.2 ?

From: Stefan Roese <sr@denx.de>
Date: 2005-09-19 13:51:47

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 [off-list ref]

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

RE: emac driver broken in 2.6.12.2 ?

From: Peter Fercher <hidden>
Date: 2005-09-19 13:52:16

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@jdub.homelinux.org]=20
Sent: Montag, 19. September 2005 15:42
To: Peter Fercher
Cc: benh@kernel.crashing.org; linux-ppc-embedded
Subject: Re: emac driver broken in 2.6.12.2 ?
=20
=20
On Mon, 2005-09-19 at 15:37 +0200, Peter Fercher wrote:
quoted
hi,
=20
i have problems with the IBM EMAC with 2.6.12.2 (the driver worked=20
with 2.4.25) running on ppc405EP octobus board. Cross=20
compiled on x86=20
quoted
using the eldk-3.1 toolchain
=20
any hints ?
=20
I think you'd need to be more explicit about what "problems"=20
means. Hard to give hints with what you have here.
=20
josh
=20
=20
=20
hi,
=20
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
=20
any hints ?
=20
emac: IBM EMAC Ethernet driver, version 2.0

Maintained by Benjamin Herrenschmidt [off-list ref]

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)

=20
cheers, peter
---------------------------------------------------------
Supercomputing Systems AG    phone:  +41 (0)43 456 16 31
Peter Fercher                fax:    +41 (0)43 456 16 10
Technoparkstrasse 1          email:  peter.fercher@scs.ch
CH-8005 Zuerich              url:    http://www.scs.ch=20
---------------------------------------------------------
 =20

AW: emac driver broken in 2.6.12.2 ?

From: David Grab <hidden>
Date: 2005-09-19 14:04:12

Message>> emac: IBM EMAC Ethernet driver, version 2.0
quoted
Maintained by Benjamin Herrenschmidt [off-list ref]
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

Re: emac driver broken in 2.6.12.2 ?

From: Josh Boyer <hidden>
Date: 2005-09-19 14:15:44

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

RE: emac driver broken in 2.6.12.2 ?

From: Josh Boyer <hidden>
Date: 2005-09-19 14:23:45

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help