
Stelian Pop schreef:
Le lundi 07 avril 2008 à 15:16 +0200, Sander Vermin a écrit :
Hello,
I'm trying to build a U-Boot from your git tree with the AT91 patches. My board is a custom board with a KS8721 instead of the DM9161 network PHY chip. This is the same chip as Olimex used on their development board.
Olimex build a U-Boot for their board, they did some code hacking on u-boot. As far as I know they did the following to get the ethernet up and running. [1] This is in the board/at91sam9260ek/dm9161a.c file
Are the changes limited to recognizing the MICREL_* phy id
On the latest git version with the AT91 patches the ethernet driver is called macb??!!
Yes.
Do you know how I can get this working? (as hack and in the future more clean)
Did you test it as is ? From what I see in the code, the macb driver doesn't care much about the PHY type...
Stelian.
I did test it, u-boot says no PHY present. I had to change from RMII mode to MII mode due to my hardware design.
Regards,
Sander