public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] building enc28j60  for omap3: undefined references
@ 2011-02-16 16:29 jacopo mondi
  2011-02-16 17:31 ` Reinhard Meyer
  0 siblings, 1 reply; 14+ messages in thread
From: jacopo mondi @ 2011-02-16 16:29 UTC (permalink / raw)
  To: u-boot

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 to `eth_register' drivers/net/libnet.o: In function
`enc_receive': u-boot/drivers/net/enc28j60.c:489:
undefined reference to `NetReceive' drivers/net/libnet.o: In function
`enc_recv': u-boot/drivers/net/enc28j60.c:868:
undefined reference to `NetRxPackets'

Driver gets compiled and linked without warnings nor errors:

arm-angstrom-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8
-msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000
-Iu-boot/include -fno-builtin
-ffreestanding -nostdinc
-isystem cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux
-mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes
-fno-stack-protector   -o enc28j60.o enc28j60.c -c
arm-angstrom-linux-gnueabi-ld  -r -o libnet.o  enc28j60.o

I'm using last u-boot, cloned from master branch yesterday.
Is my toolchain broken?

thank you
	j

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [U-Boot] building enc28j60 for omap3: SILICON ERRATA
@ 2011-02-23 23:35 Wolfgang Denk
  0 siblings, 0 replies; 14+ messages in thread
From: Wolfgang Denk @ 2011-02-23 23:35 UTC (permalink / raw)
  To: u-boot

Hi,

I wrote:

> The omap3_spi driver was one of those affected by the bug fixed in
> commit 495df3b "ARM: fix write*() I/O accessors", see
> http://patchwork.ozlabs.org/patch/82841/

Sorry, I mixed this up.  That was the davinci_spi driver, not the
omap3_spi one.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Madness takes its toll. Please have exact change.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-02 14:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 16:29 [U-Boot] building enc28j60 for omap3: undefined references jacopo mondi
2011-02-16 17:31 ` Reinhard Meyer
2011-02-17  5:48   ` Mike Frysinger
2011-02-17  9:35   ` jacopo mondi
2011-02-17 10:09   ` Stefano Babic
2011-02-17 10:48     ` jacopo mondi
2011-02-17 12:37       ` Stefano Babic
2011-02-18 13:12         ` jacopo mondi
2011-02-22 16:34   ` [U-Boot] building enc28j60 for omap3: SILICON ERRATA jacopo mondi
2011-02-23 22:32     ` Anatolij Gustschin
2011-02-23 23:32       ` Wolfgang Denk
2011-02-25  8:37       ` jacopo mondi
2011-03-02 14:08       ` [U-Boot] building enc28j60 for omap3: (omap3_spi rxtx) jacopo mondi
  -- strict thread matches above, loose matches on Subject: below --
2011-02-23 23:35 [U-Boot] building enc28j60 for omap3: SILICON ERRATA Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox