barebox startup

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 10 05:33:09 EDT 2011


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 |



More information about the barebox mailing list