From: Frank Agius Date: Tue, 27 Sep 2005 00:15:11 +0000 (UTC) Subject: [U-Boot-Users] Re: Initialization of Ethernet Interface References: <1127722152.962199fcS3092131@student.rmit.edu.au> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Swapnil Ashok Narkhede student.rmit.edu.au> writes: > > Hi, > > I am trying to port U-Boot for Mainstone 2 board, U-boot does not > support Mainstone patches yet. But with the code that i received > I can get the board to boot. > But i cannot get the Ethernet Interface working. Are you getting any error messages on the console for the ethernet interface? Was the ethernet interface supposed to be working in the code you received? > Could anyone please explain me how the initialization/setting up of Ethernet interface happens in U-boot > source code. The Mainstone 2 board should be using the driver code in "drivers/lan91c96.c". One of the first functions called is "smc_enable". You could try to turn on debugging in this file (#define SMC_DEBUG 3) and see if the debug messages help. Another item to check is the state of the two LED's near the LAN connector. One is link, the other is activity. Does the link LED come on when you connect a cable to the network? Does the activitly LED blink when connected to the network? regards, Frank Agius