mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: How to debug Ethernet connectivity
Date: Wed, 11 Dec 2013 11:25:34 +0100	[thread overview]
Message-ID: <20131211102534.GB24559@pengutronix.de> (raw)
In-Reply-To: <20131210193029.a3c2a0f833beeb35dee5ccfc@gmail.com>

On Tue, Dec 10, 2013 at 07:30:29PM +0400, Antony Pavlov wrote:
> On Tue, 10 Dec 2013 14:31:23 +0100
> Atilla Filiz <atilla.filiz@gmail.com> wrote:
> 
> > Ok, then my problem is slightly more clear, that /dev/phy0 does not exist.
> > I do define a struct fec_platform_data with
> > xcv_type=PHY_INTERFACE_MODE_MII and register it via imx27_add_fec().
> > 
> > Now I need to find out why it fails to register the device.
> 
> There is an issue with current barebox.
> 
> The /dev/phy0 device not present just after boot. You need somehow to use network
> to make it appeared.
> 
> Use this [ugly!] method:
>   Run barebox on your board. Just after boot /dev/phy0 is absent.
>   So run 'dhcp' command. In a few seconds press "ctrl-c" to interrupt it.
>   Check /dev/phy0 presence.

This is really annoying and something which I'd like to have fixed for longer.
I'm currently working my way through the phy layer to fix that.

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:[~2013-12-11 10:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06 10:21 Atilla Filiz
2013-12-06 10:34 ` Sascha Hauer
2013-12-06 10:52 ` Antony Pavlov
2013-12-06 12:17   ` Atilla Filiz
2013-12-06 12:18     ` Atilla Filiz
2013-12-06 12:21       ` Alexander Aring
2013-12-06 12:39       ` Sascha Hauer
2013-12-06 12:43         ` Alexander Aring
2013-12-10 13:31           ` Atilla Filiz
2013-12-10 15:24             ` Antony Pavlov
2013-12-10 17:46               ` Alexander Aring
2013-12-11  9:39                 ` Atilla Filiz
2013-12-11 10:28                   ` Sascha Hauer
2013-12-10 15:30             ` Antony Pavlov
2013-12-11 10:25               ` 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=20131211102534.GB24559@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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