I'm having trouble getting RMII to work. In looking at the code, there seem to be two similar files in u-boot-omapl1:
~\cpu\arm926ejs\davinci\ether.c
~\drivers\net\davinci_emac.c
It looks like only the ether.c file is used. I tried compiling (did a distclean first) after renaming davinci_emac.c and there were no build errors. Why the two files?
As for the problem I'm having: intermittently, two PHYs are showing up at addresses 0x02 and 0x01, even though only one is attached to the MDIO bus. Once a single phy is detected, the code seems to go through initialization, but I can't ping any host on the network. The MAC address of the board does show up on the router.