Skip to contentSkip to conversation

Sparc32 Netboot - Build Errors - 2.6.17.1

DISCUSSION Jim Gifford 2 participants 2 messages Jun 25, 2006

lore
Share & tools
lore
#0 lore raw

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':

#1 lore raw

From: Jim Gifford <[email protected]>
Date: Sun, 25 Jun 2006 11:36:12 -0700

Quoted 4 lines

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.