mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Pierre Schirrer <pschirrer@besancon.parkeon.com>
Cc: barebox@lists.infradead.org
Subject: Re: Re: barebox startup
Date: Mon, 10 Oct 2011 11:33:09 +0200	[thread overview]
Message-ID: <20111010093309.GQ31404@pengutronix.de> (raw)
In-Reply-To: <4E8C5F56.50104@besancon.parkeon.com>

On Wed, Oct 05, 2011 at 03:44:54PM +0200, Pierre Schirrer wrote:
> Hello Sascha,
> 
> >/
> />/
> />/  For the moment, I don't have any activity on my Ethernet ports (no
> />/  leds on or blinking), although I added the fec device. When I execute
> />/  the dhcp command, I get :
> />/
> />/  barebox:/ dhcp
> />/  warning: No MAC address set. Using random address 8E:A2:E8:DD:E2:73
> />/  phy0: Link is up - 100/Full
> />/  transmission timeout
> />/  T transmission timeout
> />/  T transmission timeout
> />/
> />/  But, whether I connect the cable or not, it always shows "phy0:Link is up - 100/Full".
> /
> Have a look at the output of md -s /dev/phy0. You should see valid phy
> registers, not 0xffffffff.
> 
> 
> I have exactly the same problem on an i.MX21 board (proprietary
> design). I have used the imx21ads to start from.
> 
> md -s /dev/phy0 returns 0xffffffff. Any ideas how to correct this
> (the smc91c111 base address is 0xd2c80000) ?

Have you used the correct phy address? In the smc91111 driver the phy
address is currently hardcoded to 0:

	priv->miidev.address = 0;

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2011-10-10  9:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10  9:04 Vanalme Filip
2011-02-10 12:10 ` Sascha Hauer
2011-10-05 13:44   ` Pierre Schirrer
2011-10-10  9:33     ` Sascha Hauer [this message]

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=20111010093309.GQ31404@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=pschirrer@besancon.parkeon.com \
    /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