[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Broadcom 5461



Hi Ron,

Ron Wright wrote:

> There is a reference design with your desired configuration available
> from the Memec Reference Design Center at:
> 
> http://legacy.memec.com/solutions/reference/xilinx/downloads/MB1000_Web_
> Server_Design_EDK63.zip

Thanks for the info. It took a while, but I've finally nailed this one.

The MII interface standard allows up to 16 PHYs to be connected to a 
single MAC.  In the Xilinx EMAC driver that I lifted from the V2Pro/PPC 
Linux port, there was some code to autodetect the PHY address, basically 
just looping through the entire PHY address space and querying, see if 
there was a valid response returned.

It turns out that this code had a subtle bug, which caused it to always 
think there was a PHY on address zero.  It didn't matter with the 
version 1 module, as it *was* wired to address zero.  However, in the 
Version 2 Comms module, the PHY has been wired to address 0x4, and this 
triggered the bug.

Fix has been applied to CVS.

> We haven't had time to try ucLinux with this configuration to date.

Should be working now :)  Only other Kernel change required is to choose 
the 4MB flash size (instead of 8) in the MTD maps/drivers configuration 
menu.


Cheers,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/