public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Alex Dubov <oakad@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem wit MPC8548 TSEC ethernet and Marvell 88E1145 PHY
Date: Thu, 30 Jul 2009 02:43:52 -0700 (PDT)	[thread overview]
Message-ID: <71745.63550.qm@web37606.mail.mud.yahoo.com> (raw)


I'm trying to setup a new u-boot on an old STx AMC8548 board. I discovered the reason for instability I reported earlier, namely DDR's twoT_en option was not set. However, now I have a different problem.

Attempt to access the network always fails with "Got error 4" message. I can see ARP requests being broadcast to the network but nothing else happening.

The link speed is 100Mb.

STxAMC8548=> mii info
PHY 0x10: OUI = 0x5043, Model = 0x0D, Rev = 0x04, 100baseT, FDX
PHY 0x11: OUI = 0x5043, Model = 0x0D, Rev = 0x04,  10baseT, HDX
PHY 0x12: OUI = 0x5043, Model = 0x0D, Rev = 0x04,  10baseT, HDX
PHY 0x1F: OUI = 0x0000, Model = 0x00, Rev = 0x00, 1000baseX, HDX

STxAMC8548=> mii dump 0x10 0-5                                    
0.     (1140)                 -- PHY control register --          
  (8000:0000) 0.15    =     0    reset                            
  (4000:0000) 0.14    =     0    loopback                         
  (2040:0040) 0. 6,13 =   b10    speed selection = 1000 Mbps      
  (1000:1000) 0.12    =     1    A/N enable                       
  (0800:0000) 0.11    =     0    power-down                       
  (0400:0000) 0.10    =     0    isolate                          
  (0200:0000) 0. 9    =     0    restart A/N                      
  (0100:0100) 0. 8    =     1    duplex = full                    
  (0080:0000) 0. 7    =     0    collision test enable            
  (003f:0000) 0. 5- 0 =     0    (reserved)                       

1.     (7969)                 -- PHY status register --
  (8000:0000) 1.15    =     0    100BASE-T4 able       
  (4000:4000) 1.14    =     1    100BASE-X  full duplex able
  (2000:2000) 1.13    =     1    100BASE-X  half duplex able
  (1000:1000) 1.12    =     1    10 Mbps    full duplex able
  (0800:0800) 1.11    =     1    10 Mbps    half duplex able
  (0400:0000) 1.10    =     0    100BASE-T2 full duplex able
  (0200:0000) 1. 9    =     0    100BASE-T2 half duplex able
  (0100:0100) 1. 8    =     1    extended status            
  (0080:0000) 1. 7    =     0    (reserved)                 
  (0040:0040) 1. 6    =     1    MF preamble suppression    
  (0020:0020) 1. 5    =     1    A/N complete               
  (0010:0000) 1. 4    =     0    remote fault               
  (0008:0008) 1. 3    =     1    A/N able                   
  (0004:0000) 1. 2    =     0    link status                
  (0002:0000) 1. 1    =     0    jabber detect              
  (0001:0001) 1. 0    =     1    extended capabilities

2.     (0141)                 -- PHY ID 1 register --
  (ffff:0141) 2.15- 0 =   321    OUI portion         

3.     (0cd4)                 -- PHY ID 2 register --
  (fc00:0c00) 3.15-10 =     3    OUI portion         
  (03f0:00d0) 3. 9- 4 =    13    manufacturer part number
  (000f:0004) 3. 3- 0 =     4    manufacturer rev. number

4.     (01e1)                 -- Autonegotiation advertisement register --
  (8000:0000) 4.15    =     0    next page able                           
  (4000:0000) 4.14    =     0    reserved                                 
  (2000:0000) 4.13    =     0    remote fault                             
  (1000:0000) 4.12    =     0    reserved                                 
  (0800:0000) 4.11    =     0    asymmetric pause                         
  (0400:0000) 4.10    =     0    pause enable
  (0200:0000) 4. 9    =     0    100BASE-T4 able
  (0100:0100) 4. 8    =     1    100BASE-TX full duplex able
  (0080:0080) 4. 7    =     1    100BASE-TX able
  (0040:0040) 4. 6    =     1    10BASE-T   full duplex able
  (0020:0020) 4. 5    =     1    10BASE-T   able
  (001f:0001) 4. 4- 0 =     1    selector = IEEE 802.3

5.     (45e1)                 -- Autonegotiation partner abilities register --
  (8000:0000) 5.15    =     0    next page able
  (4000:4000) 5.14    =     1    acknowledge
  (2000:0000) 5.13    =     0    remote fault
  (1000:0000) 5.12    =     0    (reserved)
  (0800:0000) 5.11    =     0    asymmetric pause able
  (0400:0400) 5.10    =     1    pause able
  (0200:0000) 5. 9    =     0    100BASE-T4 able
  (0100:0100) 5. 8    =     1    100BASE-X full duplex able
  (0080:0080) 5. 7    =     1    100BASE-TX able
  (0040:0040) 5. 6    =     1    10BASE-T full duplex able
  (0020:0020) 5. 5    =     1    10BASE-T able
  (001f:0001) 5. 4- 0 =     1    selector = IEEE 802.3



      

                 reply	other threads:[~2009-07-30  9:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71745.63550.qm@web37606.mail.mud.yahoo.com \
    --to=oakad@yahoo.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox