public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0
@ 2008-06-25  8:03 Frank Prepelica
  2008-06-25 16:34 ` Ben Warren
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Prepelica @ 2008-06-25  8:03 UTC (permalink / raw)
  To: u-boot

Hi all,

 

is there a way to set the tsec speed in u-boot (v1.2.0) manually to
100Mbit? Because u-boot always uses 1Gbit although the 

link speed is fixed set(in windows) to 100Mbit.

 

Thanks

 

Best regards

Frank

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080625/a9bb7fbf/attachment.htm 

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

* [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0
  2008-06-25  8:03 [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0 Frank Prepelica
@ 2008-06-25 16:34 ` Ben Warren
  0 siblings, 0 replies; 6+ messages in thread
From: Ben Warren @ 2008-06-25 16:34 UTC (permalink / raw)
  To: u-boot

Hi Frank,

Frank Prepelica wrote:
>
> Hi all,
>
>  
>
> is there a way to set the tsec speed in u-boot (v1.2.0) manually to 
> 100Mbit? Because u-boot always uses 1Gbit although the
>
> link speed is fixed set(in windows) to 100Mbit.
>
>  
>
How does Windows fit into this?  Are you booting Windows on the board?  
Are you connecting to a Windows machine via a crossover, via a switch, 
or something else?  What PHY is connected to the TSEC?  What processor 
are you using?

regards,
Ben

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

* [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0
@ 2008-06-27  9:37 Frank Prepelica
  2008-06-27 13:37 ` Ben Warren
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Frank Prepelica @ 2008-06-27  9:37 UTC (permalink / raw)
  To: u-boot

Hi Ben,

The ethernet adapter (PCMCIA ethernet card) which is directly connect to the board can be forced in windows to use 100Mbit full duplex, but u-boot still use 1Gbit. It's a Marvell phy, the exact phy description I have not in mind.
The processor is a mpc8313.

We are using a customized board which based on the MPC8313ERDB board.

Nevertheless, is there a special env variable to set in U-Boot to use another speed, in this case 100Mbit? (e.g. I can choose by setting "using ethact TSEC1 which tsec should be used) Is there something equivalent for using tsec speed?

Regards,
Frank


-----Urspr?ngliche Nachricht-----
Von: Ben Warren [mailto:biggerbadderben at gmail.com] 
Gesendet: Mittwoch, 25. Juni 2008 18:34
An: Frank Prepelica
Cc: u-boot-users at lists.sourceforge.net
Betreff: Re: [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0

Hi Frank,

Frank Prepelica wrote:
>
> Hi all,
>
>  
>
> is there a way to set the tsec speed in u-boot (v1.2.0) manually to 
> 100Mbit? Because u-boot always uses 1Gbit although the
>
> link speed is fixed set(in windows) to 100Mbit.
>
>  
>
How does Windows fit into this?  Are you booting Windows on the board?  
Are you connecting to a Windows machine via a crossover, via a switch, 
or something else?  What PHY is connected to the TSEC?  What processor 
are you using?

regards,
Ben

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

* [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0
  2008-06-27  9:37 Frank Prepelica
@ 2008-06-27 13:37 ` Ben Warren
  2008-06-27 13:41 ` Ben Warren
  2008-06-30 17:39 ` Andy Fleming
  2 siblings, 0 replies; 6+ messages in thread
From: Ben Warren @ 2008-06-27 13:37 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 27, 2008 at 2:37 AM, Frank Prepelica
<Frank.Prepelica@ubidyne.com> wrote:
> Hi Ben,
>
> The ethernet adapter (PCMCIA ethernet card) which is directly connect to the board can be forced in windows to use 100Mbit full duplex, but u-boot still use 1Gbit. It's a Marvell phy, the exact phy description I have not in mind.
> The processor is a mpc8313.
>
> We are using a customized board which based on the MPC8313ERDB board.
>
> Nevertheless, is there a special env variable to set in U-Boot to use another speed, in this case 100Mbit? (e.g. I can choose by setting "using ethact TSEC1 which tsec should be used) Is there something equivalent for using tsec speed?

I don't see any way to set it explicitly, but the default mode is
autonegotiate, so the TSEC will run at the highest rate supported by
its peer.  I plug these things into 10/100 switches all the time and
they work fine.  What problem are you seeing.

regards,
Ben

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

* [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0
  2008-06-27  9:37 Frank Prepelica
  2008-06-27 13:37 ` Ben Warren
@ 2008-06-27 13:41 ` Ben Warren
  2008-06-30 17:39 ` Andy Fleming
  2 siblings, 0 replies; 6+ messages in thread
From: Ben Warren @ 2008-06-27 13:41 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 27, 2008 at 2:37 AM, Frank Prepelica
<Frank.Prepelica@ubidyne.com> wrote:
> Hi Ben,
>
> The ethernet adapter (PCMCIA ethernet card) which is directly connect to the board can be forced in windows to use 100Mbit full duplex, but u-boot still use 1Gbit. It's a Marvell phy, the exact phy description I have not in mind.
> The processor is a mpc8313.
>
> We are using a customized board which based on the MPC8313ERDB board.
>
> Nevertheless, is there a special env variable to set in U-Boot to use another speed, in this case 100Mbit? (e.g. I can choose by setting "using ethact TSEC1 which tsec should be used) Is there something equivalent for using tsec speed?

I don't see any way to set it explicitly, but the default mode is
autonegotiate, so the TSEC will run at the highest rate supported by
its peer.  I plug these things into 10/100 switches all the time and
they work fine.  What problem are you seeing.

regards,
Ben

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

* [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0
  2008-06-27  9:37 Frank Prepelica
  2008-06-27 13:37 ` Ben Warren
  2008-06-27 13:41 ` Ben Warren
@ 2008-06-30 17:39 ` Andy Fleming
  2 siblings, 0 replies; 6+ messages in thread
From: Andy Fleming @ 2008-06-30 17:39 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 27, 2008 at 4:37 AM, Frank Prepelica
<Frank.Prepelica@ubidyne.com> wrote:
> Hi Ben,
>
> The ethernet adapter (PCMCIA ethernet card) which is directly connect to the board can be forced in windows to use 100Mbit full duplex, but u-boot still use 1Gbit. It's a Marvell phy, the exact phy description I have not in mind.
> The processor is a mpc8313.
>
> We are using a customized board which based on the MPC8313ERDB board.
>
> Nevertheless, is there a special env variable to set in U-Boot to use another speed, in this case 100Mbit? (e.g. I can choose by setting "using ethact TSEC1 which tsec should be used) Is there something equivalent for using tsec speed?

There isn't any support for forcing link speed in tsec.c.  If you
wanted to add it, I could see where it would be useful.  Is there any
particular reason you don't want to autonegotiate?  One option you
might be able to use is to modify TSEC1_FLAGS in your config file to
*not* specify TSEC_GIGABIT.

Andy

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

end of thread, other threads:[~2008-06-30 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25  8:03 [U-Boot-Users] Set manually tsec speed in u-boot 1.2.0 Frank Prepelica
2008-06-25 16:34 ` Ben Warren
  -- strict thread matches above, loose matches on Subject: below --
2008-06-27  9:37 Frank Prepelica
2008-06-27 13:37 ` Ben Warren
2008-06-27 13:41 ` Ben Warren
2008-06-30 17:39 ` Andy Fleming

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