[U-Boot-Users] MII - RMII Link status detection
Ben Warren
bwarren at qstreams.com
Wed Jun 13 16:11:25 CEST 2007
Ingo,
On Wed, 2007-06-13 at 15:08 +0200, Ingo Swieter wrote:
> Hello,
>
> i run u-boot on the Embedded Planet EP88xC evaluation board.
> Like the name indicates the board is equipped with a Freescale
> MPC885 processor.
> On the board are two PHYs connected over MII. With u-boot
> i am able to see the link status of the PHYs with a slightly
> modified do_mii function.
>
> My main question is, if anyone knows, if it is also possible to
> check the link status of the PHYs over RMII, because on our target
> the PHYs shall be connected over the reduced interface.
>
The differences between MII and RMII are in the data plane. As you
mention, RMII uses a reduced set of DATA pins. As long as you still
have the MDIO control plane connected (MDIO and MDC pins), you should be
able to get link status.
> My second problem has nothing to deal with u-boot but with Linux:
> We want to use the two network devices as one bonding device for
> high availability.So i configured and compiled the bonding module
> and the ifenslave command. Transfered it to the eval board and
> could successfully load (insmod) the module. The problem is that
> the bonding module do not receive a link down signal from the
> fec driver and so do not recognize a missing/broken cable or
> similar.
>
No experience here. Sorry.
regards,
Ben
More information about the U-Boot
mailing list