All of lore.kernel.org
 help / color / mirror / Atom feed
* Sparc32 Netboot - Build Errors - 2.6.17.1
@ 2006-06-25 18:36 Jim Gifford
  2006-06-25 20:44 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Gifford @ 2006-06-25 18:36 UTC (permalink / raw)
  To: sparclinux

Hey all trying to make a sparc netboot image for 32 bit. Ran the make 
tftpboot.img and got the following errors. This is just a 10 lines or so 
of the error, there are about 10 pages of errors. Before I attempted to 
fix, anyone already talked this one?

  LD      arch/sparc/boot/image
drivers/built-in.o: In function `sym_free_resources':
sym_glue.c:(.text+0x5e118): undefined reference to `pci_iounmap'
sym_glue.c:(.text+0x5e130): undefined reference to `pci_iounmap'
drivers/built-in.o: In function `sym_detach':
sym_glue.c:(.text+0x5e198): undefined reference to `iowrite8'
sym_glue.c:(.text+0x5e1a4): undefined reference to `ioread8'
sym_glue.c:(.text+0x5e1c4): undefined reference to `iowrite8'
drivers/built-in.o: In function `sym53c8xx_proc_info':
sym_glue.c:(.text+0x5f210): undefined reference to `iowrite8'
sym_glue.c:(.text+0x5f37c): undefined reference to `iowrite8'
drivers/built-in.o: In function `sym2_probe':
sym_glue.c:(.text+0x5fe2c): undefined reference to `pci_iomap'
sym_glue.c:(.text+0x5fe94): undefined reference to `pci_iomap'
sym_glue.c:(.text+0x6035c): undefined reference to `pci_iomap'
drivers/built-in.o: In function `sym_reset_scsi_target':
(.text+0x61728): undefined reference to `iowrite8'
drivers/built-in.o: In function `sym_put_start_queue':


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

* Re: Sparc32 Netboot - Build Errors - 2.6.17.1
  2006-06-25 18:36 Sparc32 Netboot - Build Errors - 2.6.17.1 Jim Gifford
@ 2006-06-25 20:44 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-06-25 20:44 UTC (permalink / raw)
  To: sparclinux

From: Jim Gifford <maillist@jg555.com>
Date: Sun, 25 Jun 2006 11:36:12 -0700

> Hey all trying to make a sparc netboot image for 32 bit. Ran the make 
> tftpboot.img and got the following errors. This is just a 10 lines or so 
> of the error, there are about 10 pages of errors. Before I attempted to 
> fix, anyone already talked this one?

The PCI iomap infrastructure was simply never written for
sparc32, simply copying over the sparc64 implementation with
minor tweaks is good enough.

But trying to build drivers such as the sym2 scsi driver is
quite questionable on sparc32.

sparc32 PCI capable machines are so incredibly limited in scope
and only a tiny handful of PCI drivers will ever be relevant
on those machines, and sym2 is not on that list.  They don't have
PCI slots and you therefore can't stick arbitrary PCI cards in
them.

So adding the pci_iomap stuff just to satisfy the sym2 build on
sparc32 is on the dubious side.

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

end of thread, other threads:[~2006-06-25 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-25 18:36 Sparc32 Netboot - Build Errors - 2.6.17.1 Jim Gifford
2006-06-25 20:44 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.