Hi,
IP32 needs the below to build CVS. rm7k_sc_enable and __rm7k_sc_enable in arch/mips/mm/sc-r7k.c reference the MIPS32 KSEG{0,1}ADDR macros. I dont know enough about MIPS to fixup the KSEGxADDR references unfortunately, but this lets me build for R10k at least.
Resulting kernel didnt /seem/ to boot though on an R12k O2 - I cant tell for sure sadly, no console at all, but it didnt blink the keyboard leds - and not sure if thats related.. i think r10k and r12k use the r4k cache enable functions, anyone know?.
Index: arch/mips/Kconfig =================================================================== RCS file: /home/cvs/linux/arch/mips/Kconfig,v retrieving revision 1.109 diff -u -6 -r1.109 Kconfig --- arch/mips/Kconfig 24 Nov 2004 09:03:40 -0000 1.109 +++ arch/mips/Kconfig 28 Nov 2004 03:15:10 -0000 @@ -494,13 +494,12 @@ config SGI_IP32 bool "Support for SGI IP32 (O2) (EXPERIMENTAL)" depends on MIPS64 && EXPERIMENTAL select DMA_NONCOHERENT select HW_HAS_PCI select R5000_CPU_SCACHE - select RM7000_CPU_SCACHE help If you want this kernel to run on SGI O2 workstation, say Y here.
config SOC_AU1X00 depends on MIPS32 bool "Support for AMD/Alchemy Au1X00 SOCs"
regards, -- Paul Jakma paul@xxxxxxxx paul@xxxxxxxxx Key ID: 64A2FF6A Fortune: There is nothing wrong with Southern California that a rise in the ocean level wouldn't cure. -- Ross MacDonald