All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Uboot (AT91 tree) macb in MII mode
@ 2008-04-14  8:10 Sander Vermin
  2008-04-14  9:08 ` Stelian Pop
  0 siblings, 1 reply; 6+ messages in thread
From: Sander Vermin @ 2008-04-14  8:10 UTC (permalink / raw)
  To: u-boot

Hi All,

I have been struggling the last week to get the macb Ethernet driver in 
MII mode.

[in short]
I have communication over the MDIO interface, my activity led blinks but 
no ehternet.

[the long story]
I have a custom board build out of the schematics of the AT91SAM9260EK 
board. On my boar I did not use the DM9161 but the KS8721chip. On the 
ATMEL board the PHY works in RMII mode, on my board I used MII mode like 
this board from OLIMEX [1].

Olimex was kind enough to make Uboot nandflash build working with there 
board, And deliver sources I cant compile, due to an error: Hardware 
float vs software float. But I want a dataflash version because I am 
using a BGA chip with nandflash bug.

In my current setup I use the latest git of the AT91 tree with the 
following defines:
#define CONFIG_MACB            1
#define    CONFIG_MII                1
#undef CONFIG_RMII
#define CONFIG_NET_MULTI        1
#define CONFIG_NET_RETRY_COUNT        5000
#define CONFIG_RESET_PHY_R        1

With this config I have the MDIO interface working, when I try to ping 
or TFTP I only get time outs / host not alive errors.

Is there someone out there how has the MII mode working?

Best regards,

Sander


[1] http://www.olimex.com/dev/sam9-L9260.html (schematics on the bottom 
of the page)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-14 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14  8:10 [U-Boot-Users] Uboot (AT91 tree) macb in MII mode Sander Vermin
2008-04-14  9:08 ` Stelian Pop
2008-04-14  9:19   ` Sander Vermin
2008-04-14  9:41     ` Stelian Pop
2008-04-14  9:52       ` Sander Vermin
2008-04-14 11:28         ` Stelian Pop

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.