public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: C Balakumar <c.balakumar@gdatech.co.in>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Debugging 85xx eTSEC's
Date: Sat, 27 Oct 2007 00:53:30 -0700	[thread overview]
Message-ID: <000a01c8186e$78b92d50$0201a8c0@Bala> (raw)
In-Reply-To: f87675ee0710261427nc86628at4c89e95053eb5cee@mail.gmail.com

Hi Robert,

Check the MDIO and MDC lines on your custom board.

It seems like you are not able to read the PHY ID.
And also check the phy address configuration in the u-boot board config 
file.

-Balakumar Chinnusamy

----- Original Message ----- 
From: "robert lazarski" <robertlazarski@gmail.com>
To: <u-boot-users@lists.sourceforge.net>
Sent: Friday, October 26, 2007 2:27 PM
Subject: [U-Boot-Users] Debugging 85xx eTSEC's


> Hi all,
>
> Using u-boot from the latest git, I'm trying to debug our phy's on our
> custom 8548 board. Our eTSEC0 / eTSEC1 are mavell 88E1121 and eTSEC2 /
> eTSEC3 are 88E1111 - I'm trying to debug eTSEC2 since the 88E1111
> seems to be supported by u-boot. I get this output from the serial
> port in debug mode:
>
> eTSEC1 is in sgmii mode.
> eTSEC2 is in sgmii mode.
> eTSEC3 is in sgmii mode.
> eTSEC4 is in sgmii mode.
>
> Net:   eTSEC0: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC1: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC2: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC3: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC0, eTSEC1, eTSEC2, eTSEC3
>
> Where 'is in sgmii mode' comes from standard 85xx stuff: I can't ping
> when setting ethact to be eTSEC2, and I get this when running 'mii
> info'  :
>
> => mii info
> PHY_PHYIDR2 @ 0x0 = 0xffff
> PHY_PHYIDR2 @ 0x1 = 0xffff
> PHY_PHYIDR2 @ 0x2 = 0xffff
> PHY_PHYIDR2 @ 0x3 = 0xffff
> Can't read PHY at address 4
> ...
>
> My defines are:
>
> #if defined(CONFIG_TSEC_ENET)
>
> #ifndef CONFIG_NET_MULTI
> #define CONFIG_NET_MULTI        1
> #endif
>
> #define CONFIG_MII              1       /* MII PHY management */
> #define CONFIG_TSEC1    1
> #define CONFIG_TSEC1_NAME       "eTSEC0"
> #define CONFIG_TSEC2    1
> #define CONFIG_TSEC2_NAME       "eTSEC1"
> #define CONFIG_TSEC3    1
> #define CONFIG_TSEC3_NAME       "eTSEC2"
> #define CONFIG_TSEC4    1
> #define CONFIG_TSEC4_NAME       "eTSEC3"
> #undef CONFIG_MPC85XX_FEC
>
> #define TSEC1_PHY_ADDR          0
> #define TSEC2_PHY_ADDR          1
> #define TSEC3_PHY_ADDR          2
> #define TSEC4_PHY_ADDR          3
>
> #define TSEC1_PHYIDX            0
> #define TSEC2_PHYIDX            0
> #define TSEC3_PHYIDX            0
> #define TSEC4_PHYIDX            0
> #define TSEC1_FLAGS             TSEC_GIGABIT
> #define TSEC2_FLAGS             TSEC_GIGABIT
> #define TSEC3_FLAGS             TSEC_GIGABIT
> #define TSEC4_FLAGS             TSEC_GIGABIT
>
> /* Options are: eTSEC[0-3] */
> #define CONFIG_ETHPRIME         "eTSEC0"
> #define CONFIG_PHY_GIGE         1       /* Include GbE speed/duplex 
> detection */
> #endif  /* CONFIG_TSEC_ENET */
>
> Any ideas?
> Robert
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
> 

  parent reply	other threads:[~2007-10-27  7:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26 21:27 [U-Boot-Users] Debugging 85xx eTSEC's robert lazarski
2007-10-26 21:48 ` Ben Warren
2007-10-26 23:15 ` Clemens Koller
2007-10-27  7:53 ` C Balakumar [this message]
2007-10-31 13:20   ` robert lazarski
2007-10-31 15:58     ` Clemens Koller
2007-11-05 17:21       ` robert lazarski
2007-11-05 19:59         ` Clemens Koller
2007-11-05 22:57           ` robert lazarski
2007-11-07 19:46             ` robert lazarski
2007-11-07 22:27               ` Clemens Koller

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='000a01c8186e$78b92d50$0201a8c0@Bala' \
    --to=c.balakumar@gdatech.co.in \
    --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