<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Sascha,<br>
<br>
<pre>><i>
</i>><i>
</i>><i> For the moment, I don't have any activity on my Ethernet ports (no
</i>><i> leds on or blinking), although I added the fec device. When I execute
</i>><i> the dhcp command, I get :
</i>><i>
</i>><i> barebox:/ dhcp
</i>><i> warning: No MAC address set. Using random address 8E:A2:E8:DD:E2:73
</i>><i> phy0: Link is up - 100/Full
</i>><i> transmission timeout
</i>><i> T transmission timeout
</i>><i> T transmission timeout
</i>><i>
</i>><i> But, whether I connect the cable or not, it always shows "phy0:Link is up - 100/Full".
</i>
Have a look at the output of md -s /dev/phy0. You should see valid phy
registers, not 0xffffffff.
</pre>
<br>
I have exactly the same problem on an i.MX21 board (proprietary
design). I have used the imx21ads to start from.<br>
<br>
md -s /dev/phy0 returns 0xffffffff. Any ideas how to correct this
(the smc91c111 base address is 0xd2c80000) ?<br>
<br>
Here is the devinfo output :<br>
<br>
barebox:/ devinfo<br>
devices:<br>
|----imx_serial0<br>
|----cs0<br>
|----ramfs0<br>
|----devfs0<br>
|----mem0 (defaultenv)<br>
|----mem1 (mem)<br>
|----cfi_flash0 (nor0, self0, env0)<br>
|----cfi_flash1 (nor1)<br>
|----mem2 (ram0)<br>
|----smc91c1110<br>
|----miidev0 (phy0)<br>
|----eth0<br>
|----imxfb0<br>
<br>
drivers:<br>
imx_serial<br>
ramfs<br>
devfs<br>
smc911x<br>
smc91c111<br>
miidev<br>
cfi_flash<br>
mem<br>
barebox:/ devinfo miidev0<br>
base : 0x00000000<br>
size : 0x00000000<br>
driver: miidev<br>
<br>
no info available for miidev0<br>
no parameters available<br>
barebox:/ devinfo smc91c1110<br>
base : 0xd2c80000<br>
size : 0x00000000<br>
driver: smc91c111<br>
<br>
no info available for smc91c1110<br>
no parameters available<br>
barebox:/ devinfo phy0<br>
no such device: phy0<br>
barebox:/ devinfo eth0<br>
base : 0x00000000<br>
size : 0x00000000<br>
driver: none<br>
<br>
Parameters:<br>
ipaddr = 10.32.50.10<br>
ethaddr = 00:1A:09:20:00:17<br>
gateway = 10.32.51.148<br>
netmask = 255.255.252.0<br>
serverip = 10.32.51.148<br>
barebox:/<br>
<br>
<br>
</body>
</html>