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) ?

Here is the devinfo output :

barebox:/ devinfo
devices:
|----imx_serial0
|----cs0
|----ramfs0
|----devfs0
|----mem0 (defaultenv)
|----mem1 (mem)
|----cfi_flash0 (nor0, self0, env0)
|----cfi_flash1 (nor1)
|----mem2 (ram0)
|----smc91c1110
|----miidev0 (phy0)
|----eth0
|----imxfb0

drivers:
imx_serial
     ramfs
     devfs
   smc911x
 smc91c111
    miidev
 cfi_flash
       mem
barebox:/ devinfo miidev0
base  : 0x00000000
size  : 0x00000000
driver: miidev

no info available for miidev0
no parameters available
barebox:/ devinfo smc91c1110
base  : 0xd2c80000
size  : 0x00000000
driver: smc91c111

no info available for smc91c1110
no parameters available
barebox:/  devinfo phy0
no such device: phy0
barebox:/ devinfo eth0
base  : 0x00000000
size  : 0x00000000
driver: none

Parameters:
          ipaddr = 10.32.50.10
         ethaddr = 00:1A:09:20:00:17
         gateway = 10.32.51.148
         netmask = 255.255.252.0
        serverip = 10.32.51.148
barebox:/