From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Mylene Josserand <Mylene.Josserand@navocap.com>
Cc: barebox mailist <barebox@lists.infradead.org>
Subject: Re: [help] PHY driver : Unable to find a PHY (unknown ID?)
Date: Fri, 4 Jan 2013 11:18:42 +0100 [thread overview]
Message-ID: <20130104111842.69c57ae1@skate> (raw)
In-Reply-To: <CA78C307B8F06747967D122FC656B15377433D@SERVEUR0.nvp.local>
Dear Mylene Josserand,
Good to see some developers from Toulouse using Barebox! I'm close, in
Colomiers.
On Fri, 4 Jan 2013 10:09:05 +0100, Mylene Josserand wrote:
> I am using the master branch (maybe I need to checkout a tag ?). The
> ethernet of my board is a SMSC LAN8700 and the microchip is iMX27.
>
> I have configured the new source of barebox to use the Phylib and MII
> drivers. When my barebox starts, I have an error about the PHY driver :
Which board are you targeting?
> The SMSC LAN8700 is here but I can not make it work !
>
> I have added some prints on the phy.c and the problem is in the fonction
> "mdiobus_scan" :
>
> if (!edev->phydev) {
> if (addr >= 0) {
> dev = mdiobus_scan(bus, addr);
> if (!dev) { << Failed here
> ret = -EIO;
> goto fail;
> }
>
> Did I miss something ?
Do you have a correct PHY address in the fec_platform_data structure in
your board file?
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-01-04 10:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-04 9:09 Mylene Josserand
2013-01-04 10:18 ` Thomas Petazzoni [this message]
2013-01-04 11:03 ` Mylene Josserand
2013-01-04 11:23 ` Thomas Petazzoni
2013-01-04 12:46 ` Mylene Josserand
2013-01-04 13:28 ` Eric Bénard
2013-01-07 13:56 ` Mylene Josserand
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=20130104111842.69c57ae1@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=Mylene.Josserand@navocap.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