From mboxrd@z Thu Jan 1 00:00:00 1970 From: jacopo mondi Date: Thu, 17 Feb 2011 10:35:06 +0100 Subject: [U-Boot] building enc28j60 for omap3: undefined references In-Reply-To: <4D5C09EB.4090408@emk-elektronik.de> References: <20110216172917.4a5e83cc@BlackBox> <4D5C09EB.4090408@emk-elektronik.de> Message-ID: <20110217103506.33713c58@BlackBox> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 16 Feb 2011 18:31:23 +0100 Reinhard Meyer wrote: > > Not sure, the driver builds fine with ARM boards. > Maybe you need to have CONFIG_NET_MULTI set? > > Best Regards, > Reinhard Yes, I have CONFIG_NET_MULTI (mainly I've taken those entries from top900 and lpc2292 configs). That's how I enabled enc /*ethernet*/ #define CONFIG_NET_MULTI #define CONFIG_NET_RETRY_COUNT 20 /*network*/ #define CONFIG_ENC28J60 #define ENC_SPI_BUS 4 #define ENC_CS_NUM 0 #define ENC_SPI_CLOCK 25000000 /*ip configuration*/ #define CONFIG_SERVERIP 192.168.5.5 #define CONFIG_IPADDR 192.168.5.1 libnet.o seems to be an architecture independent abstraction anyway, but the problem is related to that... Thank you j