2008-01-07 10:32:06     smsc9118 ethernet driver still doesn't work right in the trunk

Document created by Aaronwu Employee on Aug 4, 2013
Version 1Show Document
  • View in full screen mode

2008-01-07 10:32:06     smsc9118 ethernet driver still doesn't work right in the trunk

Bill Fassler (UNITED STATES)

Message: 49317    Mike H. et al

 

I have used an updated trunk version of smsc9118 (pulled down last week) and u-boot still does not work right for me.  As you can see from the following standard out, it negotiates to 100Mb and then can't seem to work with it.  When I plug it into an old 10Mb hub it negotiates 10Mb and works fine.  Your update/patch didn't fix my problem.  Any ideas on what may be causing this?

 

************************************

  Results when plugged into standard 10/100 hub

*************************************

VOCAL> dhcp

start Auto negotiation... (take ~2sec)

Auto negotiation complete, 100BaseTX, half duplex

BOOTP broadcast 1

BOOTP broadcast 2

BOOTP broadcast 3

BOOTP broadcast 4

BOOTP broadcast 5

 

Retry count exceeded; starting again

BOOTP broadcast 1

BOOTP broadcast 2

BOOTP broadcast 3

BOOTP broadcast 4

BOOTP broadcast 5

 

Retry count exceeded; starting again

 

Abort

**************************************

  Results when plugged into old 10Mb hub

**************************************

 

VOCAL> dhcp

start Auto negotiation... (take ~2sec)

Auto negotiation complete, 10BaseT, half duplex

BOOTP broadcast 1

DHCP client bound to address 10.1.2.51

QuoteReplyEditDelete

 

 

2008-01-07 10:45:06     Re: smsc9118 ethernet driver still doesn't work right in the trunk

Mike Frysinger (UNITED STATES)

Message: 49320    i dont know what update/patch you're referring to as the ethernet driver in u-boot trunk has not been changed since it was added

 

you're probably thinking of the driver in the kernel

QuoteReplyEditDelete

 

 

2008-01-07 12:07:42     Re: smsc9118 ethernet driver still doesn't work right in the trunk

Michael Hennerich (GERMANY)

Message: 49323   

 

Bill,

 

 

 

 

 

We use this driver with the SMSC9218 - I connected it to various HUBs switches - I never noticed something like you report.

 

 

 

 

 

For me this sounds like a Hardware configuration issue, on your board.

 

 

 

How do you set the MODE pins of your SMSC part?

 

 

 

They should be set to Auto Negotiate ... please consult the datasheet.

 

 

 

 

 

-Michael

 

 

 

QuoteReplyEditDelete

 

 

2008-01-14 13:44:20     Re: smsc9118 ethernet driver still doesn't work right in the trunk

Bill Fassler (UNITED STATES)

Message: 49561    Mike - Now that you have schematics to look at, could you double check our work with regards to your last comment here on this thread.

 

Based on your above comment we put a 10K resistor on pin 74 (speed select) and grounded pin 76 (FIFO select).  Was this correct?

 

Bill

QuoteReplyEditDelete

 

 

2008-01-15 07:51:37     Re: smsc9118 ethernet driver still doesn't work right in the trunk

Michael Hennerich (GERMANY)

Message: 49595    Bill,

 

according to the SMSC9117 datasheet  SPEED_SEL features an internal PULL UP. Having one externally doesn't matter. SPEED_SEL = 1 (100MBPS Half Dumplex  AUTO Neg. Enabled). FIFO_SEL must be either driven, or needs an PULL DOWN.

 

So this should fit.

 

I now guess it's an electrical signal integrity issue on the Ethernet PHY side. Magnetics etc.

Can you check if adding the resistor network improves things?

 

-Michael

Attachments

    Outcomes