From: Thorsten =?iso-8859-1?q?M=FChlfelder?= Date: Fri, 28 May 2010 11:26:23 +0200 Subject: [U-Boot] =?iso-8859-1?q?No_network_in_Linux_on_Olimex_SAM9=5FL926?= =?iso-8859-1?q?0_=28_Atmel=09AT91SAM9260EK_=29?= In-Reply-To: <4BFF82B3.2010401@eukrea.com> References: <201005281029.30633.muehlfelder@enertex.de> <4BFF82B3.2010401@eukrea.com> Message-ID: <201005281126.23274.muehlfelder@enertex.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Friday 28 May 2010 10:45:39 schrieb Eric B?nard: > Hi, > > Le 28/05/2010 10:29, Thorsten M?hlfelder a ?crit : > > 2. After endless compile sessions (I never compiled u-boot before) I'm > > completely out of any idea what I can try now to get network in Linux > > working. Any suggestions? :-) > > are you sure the PHY is wired the same way as on the eval board ? It can > be either MII or RMII which makes a big difference. > > Eric Thank you very much, you made my day!! :-) I've checked the include/configs/at91sam9260ek.h file for ethernet settings. There was "#define CONFIG_RMII 1" set. I've changed the section to: /* Ethernet */ #define CONFIG_MACB 1 #undef CONFIG_RMII #define CONFIG_NET_MULTI 1 #define CONFIG_NET_RETRY_COUNT 20 #define CONFIG_RESET_PHY_R 1 And now it works! Yesterday I've wasted my whole day on this issue but today evening I'll have a beer on you ;-) Cheers!