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

2011-02-18 Thread jacopo mondi
On Thu, 17 Feb 2011 13:37:27 +0100 Stefano Babic sba...@denx.de wrote: It seems to me that the driver goes out from receive function when no data are available. pkn_cnt is read directly from HW, and if the controller is not broken, it will not return any packets and the loop ends up. You are

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

2011-02-17 Thread jacopo mondi
On Wed, 16 Feb 2011 18:31:23 +0100 Reinhard Meyer u-b...@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

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

2011-02-17 Thread Stefano Babic
On 02/16/2011 06:31 PM, Reinhard Meyer wrote: I'm using last u-boot, cloned from master branch yesterday. Is my toolchain broken? Not sure, the driver builds fine with ARM boards. Maybe you need to have CONFIG_NET_MULTI set? And the driver builds fine with beagleboard, too. Do you drop the

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

2011-02-17 Thread jacopo mondi
On Thu, 17 Feb 2011 11:09:04 +0100 Stefano Babic sba...@denx.de wrote: And the driver builds fine with beagleboard, too. Do you drop the #undef CONFIG_CMD_NET in the beagleboard configuration file ? If not, this generates exactly the error you report. Best regards, Stefano Babic

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

2011-02-17 Thread Stefano Babic
On 02/17/2011 11:48 AM, jacopo mondi wrote: GOSH, I've exactly searched through the code for CONFIG_CMD_NET, but I did not noticed was an undef statment instead of a define! Everything's fine now. Thank you. Your're welcome. Just another question. I've studied the linux enc28j60 driver and

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

2011-02-16 Thread jacopo mondi
Hi all, I'm trying enabling enc2j60 in order to use tftp with SPI-Ethernet enc28j60 and beagleboard rev C3. When building u-boot some functions referred by enc28j60.c remain undefined. drivers/net/libnet.o: In function `enc28j60_initialize': u-boot/drivers/net/enc28j60.c:973: undefined reference

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

2011-02-16 Thread Reinhard Meyer
Dear jacopo mondi, Hi all, I'm trying enabling enc2j60 in order to use tftp with SPI-Ethernet enc28j60 and beagleboard rev C3. When building u-boot some functions referred by enc28j60.c remain undefined. drivers/net/libnet.o: In function `enc28j60_initialize':

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

2011-02-16 Thread Mike Frysinger
On Wednesday, February 16, 2011 12:31:23 Reinhard Meyer wrote: Dear jacopo mondi, I'm using last u-boot, cloned from master branch yesterday. Is my toolchain broken? Not sure, the driver builds fine with ARM boards. and Blackfin boards. btw, not sure if i said this before, but good job