EDK10.1 and emaclite

jozsef imrek mazsi at imrek.org
Wed Sep 10 04:40:12 EST 2008

dear george,

On Tue, 9 Sep 2008, John Linn wrote:

> There is no way to configure the PHY using the EMAC lite as that's part
> of what makes it "lite".
> So the PHY on the board has to be configured correctly by strapping it
> on the board.

as john pointed out you can not access the PHY using only the EMAC
lite core. connect the MDIO and MDC lines of the PHY to a GPIO core.

then and use the bit banging driver of u-boot (start with #define CONFIG_MII
and #define CONFIG_BITBANGMII) or linux (search for CONFIG_MDIO_BITBANG,
i've not used it before).

fyi, on our minimodule boards the PHY is located at address #4, u-boot's
"mii info" command says:

 	PHY 0x04: OUI = 0x0818, Model = 0x0C, Rev = 0x01, 100baseT, FDX

for the inital setup you might want to connect the RJ45 of your
minimodule directly to your host pc, probably that's the easiest way
for you to see exactly what packets are travelling on the wire.

make sure that the negotiated speed is not 1000baseT, as the EMAC
lite can not handle that.


strawberry fields forever!                       mazsi at imrek.org

More information about the Linuxppc-embedded mailing list