Hello,
Jonathan Day wrote:
Hi,
I'm having a few issues building the current
2.6.14-rc1 for a Broadcom SB1 MIPS64 processor. (No
huge surprise there, building anything for that
processor is a pain.)
Anyway, there are a few symbols undefined, which is
causing problems. First off the bat is TO_PHYS_MASK.
There is no set of definitions in
include/asm-mips/addrspace.h for the SB1 processor.
(For that matter, there's no set of definitions for
the MIPS64_R2, so I'm guessing those using _R2 chips
probably have the same problem.)
Here's the patch for that particular problem. There's also a few other
patches for the SB1 floating around (check the email archives), but
there appears to be a backlog with getting them committed to the CVS
repository.
HTH,
Mark
Index: include/asm-mips/addrspace.h
===================================================================
RCS file: /home/cvs/linux/include/asm-mips/addrspace.h,v
retrieving revision 1.18
diff -u -p -r1.18 addrspace.h
--- include/asm-mips/addrspace.h 14 Jul 2005 12:05:08 -0000 1.18
+++ include/asm-mips/addrspace.h 15 Sep 2005 21:46:56 -0000
@@ -131,6 +131,8 @@
|| defined (CONFIG_CPU_R5000) \
|| defined (CONFIG_CPU_NEVADA) \
|| defined (CONFIG_CPU_TX49XX) \
+ || defined (CONFIG_CPU_SB1) \
+ || defined (CONFIG_CPU_SB1A) \
|| defined (CONFIG_CPU_MIPS64_R1)
#define KUSIZE _LLCONST_(0x0000010000000000) /* 2^^40 */
#define KUSIZE_64 _LLCONST_(0x0000010000000000) /* 2^^40 */
.