public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
@ 2008-07-02 14:03 Andre Schwarz
  2008-07-02 14:22 ` Ben Warren
  0 siblings, 1 reply; 10+ messages in thread
From: Andre Schwarz @ 2008-07-02 14:03 UTC (permalink / raw)
  To: u-boot

Ben,

after pulling u-boot today ethernet stopped working on my MPC8343 based
board (mvBL-M7).
I'm using a Vitesse VSC8601 RGMII phy on TSEC0-1.

I know there's some rewriting/clean-up going on ...

What do I have to do to get it working again ?
Any new defines introduced lately ?

Obviously the MII interface stopped working, i.e. all reads give 0xFF.
Switching back to older U-boot (3-4 weeks ago) works fine.

Any help is welcome.

regards,
Andre

MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 14:03 [U-Boot-Users] TSEC/PHY @ MPC834x stopped working Andre Schwarz
@ 2008-07-02 14:22 ` Ben Warren
  2008-07-02 14:36   ` Andre Schwarz
  0 siblings, 1 reply; 10+ messages in thread
From: Ben Warren @ 2008-07-02 14:22 UTC (permalink / raw)
  To: u-boot

Hi Andre,

On Wed, Jul 2, 2008 at 7:03 AM, Andre Schwarz
<andre.schwarz@matrix-vision.de> wrote:
> Ben,
>
> after pulling u-boot today ethernet stopped working on my MPC8343 based
> board (mvBL-M7).
> I'm using a Vitesse VSC8601 RGMII phy on TSEC0-1.
>
> I know there's some rewriting/clean-up going on ...
>
Yeah, but none of that's in the main source tree.

> What do I have to do to get it working again ?
> Any new defines introduced lately ?
>
> Obviously the MII interface stopped working, i.e. all reads give 0xFF.
> Switching back to older U-boot (3-4 weeks ago) works fine.

Looking here:
http://git.denx.de/?p=u-boot.git;a=history;f=drivers/net/tsec.c;h=6e0f2c6fd081baa19d80a985717d470a1f78bc2d;hb=HEAD

nothing new has been added except support for a new PHY, and that was
about 5 weeks ago.
>
> Any help is welcome.
>
Sorry, I don't have access to my MPC8349 board right now or I'd try to
help more usefully.  Maybe you can post some more information.

> regards,
> Andre
>
> MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
> Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
>
regards,
Ben

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 14:22 ` Ben Warren
@ 2008-07-02 14:36   ` Andre Schwarz
  2008-07-02 15:31     ` Kim Phillips
  0 siblings, 1 reply; 10+ messages in thread
From: Andre Schwarz @ 2008-07-02 14:36 UTC (permalink / raw)
  To: u-boot

Ben,

thanks for your quick reply.
Looks like you're right - nothing changed regarding network yet.

Maybe it's a cpu specific problem.
Kim ? Can you help here ?


regards,
Andre

Ben Warren schrieb:
> Hi Andre,
>
> On Wed, Jul 2, 2008 at 7:03 AM, Andre Schwarz
> <andre.schwarz@matrix-vision.de> wrote:
>   
>> Ben,
>>
>> after pulling u-boot today ethernet stopped working on my MPC8343 based
>> board (mvBL-M7).
>> I'm using a Vitesse VSC8601 RGMII phy on TSEC0-1.
>>
>> I know there's some rewriting/clean-up going on ...
>>
>>     
> Yeah, but none of that's in the main source tree.
>
>   
>> What do I have to do to get it working again ?
>> Any new defines introduced lately ?
>>
>> Obviously the MII interface stopped working, i.e. all reads give 0xFF.
>> Switching back to older U-boot (3-4 weeks ago) works fine.
>>     
>
> Looking here:
> http://git.denx.de/?p=u-boot.git;a=history;f=drivers/net/tsec.c;h=6e0f2c6fd081baa19d80a985717d470a1f78bc2d;hb=HEAD
>
> nothing new has been added except support for a new PHY, and that was
> about 5 weeks ago.
>   
>> Any help is welcome.
>>
>>     
> Sorry, I don't have access to my MPC8349 board right now or I'd try to
> help more usefully.  Maybe you can post some more information.
>
>   
>> regards,
>> Andre
>>
>> MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
>> Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
>>
>>     
> regards,
> Ben
>   


MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 14:36   ` Andre Schwarz
@ 2008-07-02 15:31     ` Kim Phillips
  2008-07-02 15:41       ` Jerry Van Baren
  2008-07-02 16:01       ` Andre Schwarz
  0 siblings, 2 replies; 10+ messages in thread
From: Kim Phillips @ 2008-07-02 15:31 UTC (permalink / raw)
  To: u-boot

On Wed, 02 Jul 2008 16:36:11 +0200
Andre Schwarz <andre.schwarz@matrix-vision.de> wrote:

> Ben,
> 
> thanks for your quick reply.
> Looks like you're right - nothing changed regarding network yet.
> 
> Maybe it's a cpu specific problem.
> Kim ? Can you help here ?
> 

I know of nothing (barring this being the ETHADDR not specified
problem) that could have caused this. Can you try using git-bisect?

Kim

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 15:31     ` Kim Phillips
@ 2008-07-02 15:41       ` Jerry Van Baren
  2008-07-02 16:05         ` Andre Schwarz
  2008-07-02 16:01       ` Andre Schwarz
  1 sibling, 1 reply; 10+ messages in thread
From: Jerry Van Baren @ 2008-07-02 15:41 UTC (permalink / raw)
  To: u-boot

Kim Phillips wrote:
> On Wed, 02 Jul 2008 16:36:11 +0200
> Andre Schwarz <andre.schwarz@matrix-vision.de> wrote:
> 
>> Ben,
>>
>> thanks for your quick reply.
>> Looks like you're right - nothing changed regarding network yet.
>>
>> Maybe it's a cpu specific problem.
>> Kim ? Can you help here ?
>>
> 
> I know of nothing (barring this being the ETHADDR not specified
> problem) that could have caused this. Can you try using git-bisect?
> 
> Kim

Some people were caught by the somewhat recent requirement for an 
/aliases node and properties pointing to the "real" ethernet node (which 
is a Good Thing[tm] because it makes the code board agnostic, pushes the 
board configuration into the .dts where it belongs).

I don't associate Andre's assertion:
> Obviously the MII interface stopped working, i.e. all reads give 0xFF.
with the symptoms caused by a missing /aliases node.  Maybe, maybe not, 
could be my lack of experience.

Best regards,
gvb

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 15:31     ` Kim Phillips
  2008-07-02 15:41       ` Jerry Van Baren
@ 2008-07-02 16:01       ` Andre Schwarz
  2008-07-02 16:32         ` Kim Phillips
  1 sibling, 1 reply; 10+ messages in thread
From: Andre Schwarz @ 2008-07-02 16:01 UTC (permalink / raw)
  To: u-boot

Kim Phillips schrieb:
> On Wed, 02 Jul 2008 16:36:11 +0200
> Andre Schwarz <andre.schwarz@matrix-vision.de> wrote:
>
>   
>> Ben,
>>
>> thanks for your quick reply.
>> Looks like you're right - nothing changed regarding network yet.
>>
>> Maybe it's a cpu specific problem.
>> Kim ? Can you help here ?
>>
>>     
>
> I know of nothing (barring this being the ETHADDR not specified
> problem) that could have caused this. Can you try using git-bisect?
>
> Kim
>   
Kim,

this is a fully configured board, i.e. serial# and ethaddr/eth1addr set
up correctly.

I'll give the bisect a try a soon as there'll be some time.

regards,
Andre

MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 15:41       ` Jerry Van Baren
@ 2008-07-02 16:05         ` Andre Schwarz
  2008-07-02 16:14           ` Jerry Van Baren
  0 siblings, 1 reply; 10+ messages in thread
From: Andre Schwarz @ 2008-07-02 16:05 UTC (permalink / raw)
  To: u-boot

Jerry,

I don't understand this.

The code is far from using the device tree - the dtb is fetched by tftp
right after bootp.

 It's the initial bootp/dhcp that doesn't work....

regards,
Andre


Jerry Van Baren schrieb:
> Kim Phillips wrote:
>> On Wed, 02 Jul 2008 16:36:11 +0200
>> Andre Schwarz <andre.schwarz@matrix-vision.de> wrote:
>>
>>> Ben,
>>>
>>> thanks for your quick reply.
>>> Looks like you're right - nothing changed regarding network yet.
>>>
>>> Maybe it's a cpu specific problem.
>>> Kim ? Can you help here ?
>>>
>>
>> I know of nothing (barring this being the ETHADDR not specified
>> problem) that could have caused this. Can you try using git-bisect?
>>
>> Kim
>
> Some people were caught by the somewhat recent requirement for an
> /aliases node and properties pointing to the "real" ethernet node
> (which is a Good Thing[tm] because it makes the code board agnostic,
> pushes the board configuration into the .dts where it belongs).
>
> I don't associate Andre's assertion:
>> Obviously the MII interface stopped working, i.e. all reads give 0xFF.
> with the symptoms caused by a missing /aliases node.  Maybe, maybe
> not, could be my lack of experience.
>
> Best regards,
> gvb
>


MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 16:05         ` Andre Schwarz
@ 2008-07-02 16:14           ` Jerry Van Baren
  0 siblings, 0 replies; 10+ messages in thread
From: Jerry Van Baren @ 2008-07-02 16:14 UTC (permalink / raw)
  To: u-boot

Andre Schwarz wrote:
> Jerry,
> 
> I don't understand this.
> 
> The code is far from using the device tree - the dtb is fetched by tftp
> right after bootp.
> 
>  It's the initial bootp/dhcp that doesn't work....
> 
> regards,
> Andre

Ah, right, my bad.

Sorry for the noise,
gvb

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 16:01       ` Andre Schwarz
@ 2008-07-02 16:32         ` Kim Phillips
  2008-07-02 16:45           ` Andre Schwarz
  0 siblings, 1 reply; 10+ messages in thread
From: Kim Phillips @ 2008-07-02 16:32 UTC (permalink / raw)
  To: u-boot

On Wed, 02 Jul 2008 18:01:01 +0200
Andre Schwarz <andre.schwarz@matrix-vision.de> wrote:

> this is a fully configured board, i.e. serial# and ethaddr/eth1addr set
> up correctly.
> 
> I'll give the bisect a try a soon as there'll be some time.
> 
just to clarify, are you using the mainline u-boot.git tree, or
u-boot-mpc83xx.git?  you should be using the latter until I ask WD to
pull.  Actually, if you can confirm it corrects your problem, I have no
reason to delay it further (I was waiting for WD to get back from
vacation).

Kim

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] TSEC/PHY @ MPC834x stopped working
  2008-07-02 16:32         ` Kim Phillips
@ 2008-07-02 16:45           ` Andre Schwarz
  0 siblings, 0 replies; 10+ messages in thread
From: Andre Schwarz @ 2008-07-02 16:45 UTC (permalink / raw)
  To: u-boot

Kim Phillips schrieb:
> On Wed, 02 Jul 2008 18:01:01 +0200
> Andre Schwarz <andre.schwarz@matrix-vision.de> wrote:
>
>   
>> this is a fully configured board, i.e. serial# and ethaddr/eth1addr set
>> up correctly.
>>
>> I'll give the bisect a try a soon as there'll be some time.
>>
>>     
> just to clarify, are you using the mainline u-boot.git tree, or
> u-boot-mpc83xx.git?  you should be using the latter until I ask WD to
> pull.  Actually, if you can confirm it corrects your problem, I have no
> reason to delay it further (I was waiting for WD to get back from
> vacation).
>
> Kim
>   
Kim,

I'm running from mainline.
Do you want me to give u-boot-mpc83xx.git a try ?

After all I think the problem is lurking on my hardware/network somewhere.

I need some more time ...


regards,
Andre

MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-07-02 16:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 14:03 [U-Boot-Users] TSEC/PHY @ MPC834x stopped working Andre Schwarz
2008-07-02 14:22 ` Ben Warren
2008-07-02 14:36   ` Andre Schwarz
2008-07-02 15:31     ` Kim Phillips
2008-07-02 15:41       ` Jerry Van Baren
2008-07-02 16:05         ` Andre Schwarz
2008-07-02 16:14           ` Jerry Van Baren
2008-07-02 16:01       ` Andre Schwarz
2008-07-02 16:32         ` Kim Phillips
2008-07-02 16:45           ` Andre Schwarz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox