[U-Boot-Users] [Fwd: Re: CONFIG_MII, 83xx, no MII device?]

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Dec 5 17:12:10 CET 2007


OOPS, forgot the list.

-------- Forwarded Message --------
From: Joakim Tjernlund <joakim.tjernlund at transmode.se>
Reply-To: joakim.tjernlund at transmode.se
To: Kim Phillips <kim.phillips at freescale.com>
Subject: Re: [U-Boot-Users] CONFIG_MII, 83xx, no MII device?
Date: Wed, 05 Dec 2007 16:59:36 +0100

On Wed, 2007-12-05 at 09:12 -0600, Kim Phillips wrote:
> On Wed, 5 Dec 2007 00:50:48 +0100
> "Joakim Tjernlund" <joakim.tjernlund at transmode.se> wrote:
> 
> > > -----Original Message-----
> > > From: u-boot-users-bounces at lists.sourceforge.net 
> > > [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf 
> > > Of Kim Phillips
> > > Sent: den 4 december 2007 23:04
> > > To: rmcguire at videopresence.com
> > > Cc: u-boot-users at lists.sourceforge.net
> > > Subject: Re: [U-Boot-Users] CONFIG_MII, 83xx, no MII device?
> > > 
> > > On Fri, 30 Nov 2007 03:22:37 -0800
> > > "Russell McGuire" <rmcguire at videopresence.com> wrote:
> > > 
> > > > How can I enable full MII commands? Currently it just says 
> > > there are NO MII
> > > > devices available, i.e. a blank list will appear.
> > 
> > Hi Kim
> > 
> > Perhaps you can have a look at "MPC83xx Ethernet bug"
> > while you are at it?
> > 
> <sigh>
> 
> Hi Jocke,
> 
> not completely tested yet; perhaps you can help? :
> 
> Subject: [PATCH] net: reduce boot latency on QE UEC based boards
> 
> actually polling for PHY autonegotiation to finish enables us to remove the
> paranoid (and horrid) 5 second boot prompt latency present on QE based boards.
> 
> autonegotiation wait code shamelessly stolen from tsec driver.

That was quick, thanks.

Tested and ...
Net:   read wrong value : mii_id 3,mii_reg 2, base e0102320
read wrong value : mii_id 3,mii_reg 3, base e0102320
UEC: PHY is Generic MII (ffffffff)
read wrong value : mii_id 4,mii_reg 2, base e0103320
read wrong value : mii_id 4,mii_reg 3, base e0103320
UEC: PHY is Generic MII (ffffffff)
FSL UEC0 [PRIME], FSL UEC1

SlotPos:1, SubRack:1, SysType:2 SysRev:0
CUSFP board type detected by switch sw, M300, subr: 1!
Switch is already configured, vlan, master
=> tftp
read wrong value : mii_id 4,mii_reg 1, base e0103320
read wrong value : mii_id 4,mii_reg 5, base e0103320
FSL UEC1: Full Duplex
FSL UEC1: Speed 100BT
FSL UEC1: Link is up
Using FSL UEC1 device
TFTP from server 192.168.1.15; our IP address is 192.168.1.16
Filename 'uImage'.
Load address: 0x200000
Loading: *
Abort

I got UCC3 as FLS UEC0 nad UCC4 as FSL UEC1 and as you can see
it starts with UEC0 and them uses UEC1 to do the transfer and that
wont work. If I remove UEC1 from my config it works. Its really fast
now though :)

Can we get rid of "read wrong value : .." message as well. I run PHY
less and so I get these messages all the time.

I also got a board with 3 ethernets UCC2, UCC3 and UCC4 but current
u-boot won't let me have 3. Some way to define which UEC to
use as default i/f if ethact is missing would also be great.

 Jocke, who will test anything you throw at me :)





More information about the U-Boot mailing list