[U-Boot] building enc28j60 for omap3: undefined references

jacopo mondi j.mondi at voltaelectronics.com
Thu Feb 17 10:35:06 CET 2011


On Wed, 16 Feb 2011 18:31:23 +0100
Reinhard Meyer <u-boot at emk-elektronik.de> 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


More information about the U-Boot mailing list