Linux MIPS Architecture development
 help / color / mirror / Atom feed
* More data: I've made a CVS build that doesn't crash!
@ 2002-01-30 23:02 Matthew Dharm
  2002-01-31  1:23 ` Matthew Dharm
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Dharm @ 2002-01-30 23:02 UTC (permalink / raw)
  To: Linux-MIPS

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

So, after much trial and error, I've managed to make a build out of
the CVS repository that works and doesn't crash.

I managed to build the linux_2_4_2 tag with the attached patch -- the
patch just fixes up two lines of source code to match new parameter
definitions.  Nothing really fancy.  But this kernel is rock-solid,
and the linux_2_4_3 tag is very crash-prone.

Of course, lots of stuff changed in between all this... so I'm still
pouring over the diffs to see what is causing this.  Anyone with some
helpful suggestions is encouraged to speak up.

Someone with CVS checking authority might want to check in the patch,
just so other people can build 2.4.2 more easily.

Matt

--
Matthew D. Dharm                            Senior Software Designer
Momentum Computer Inc.                      1815 Aston Ave.  Suite 107
(760) 431-8663 X-115                        Carlsbad, CA 92008-7310
Momentum Works For You                      www.momenco.com

[-- Attachment #2: fixes-2.4.2 --]
[-- Type: application/octet-stream, Size: 1216 bytes --]

Index: arch/mips/gt64120/momenco_ocelot/reset.c
===================================================================
RCS file: /cvs/linux/arch/mips/gt64120/momenco_ocelot/reset.c,v
retrieving revision 1.2
diff -u -r1.2 reset.c
--- arch/mips/gt64120/momenco_ocelot/reset.c	2001/03/11 21:52:24	1.2
+++ arch/mips/gt64120/momenco_ocelot/reset.c	2002/01/30 23:51:20
@@ -27,7 +27,7 @@
 	 * detection stuff.
 	 */
 	clear_cp0_status(ST0_BEV | ST0_ERL);
-	set_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
+	set_cp0_config(CONF_CM_UNCACHED);
 	flush_cache_all();
 	write_32bit_cp0_register(CP0_WIRED, 0);
 	__asm__ __volatile__("jr\t%0"::"r"(0xbfc00000));
Index: arch/mips/mm/rm7k.c
===================================================================
RCS file: /cvs/linux/arch/mips/mm/Attic/rm7k.c,v
retrieving revision 1.6
diff -u -r1.6 rm7k.c
--- arch/mips/mm/rm7k.c	2001/02/20 20:11:08	1.6
+++ arch/mips/mm/rm7k.c	2002/01/30 23:51:20
@@ -535,7 +535,7 @@
 
 	printk("CPU revision is: %08x\n", read_32bit_cp0_register(CP0_PRID));
 
-	set_cp0_config(CONF_CM_CMASK, CONF_CM_CACHABLE_NONCOHERENT);
+	set_cp0_config(CONF_CM_CACHABLE_NONCOHERENT);
 
 	probe_icache(config);
 	probe_dcache(config);

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

end of thread, other threads:[~2002-01-31 18:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-30 23:02 More data: I've made a CVS build that doesn't crash! Matthew Dharm
2002-01-31  1:23 ` Matthew Dharm
2002-01-31  1:35   ` Pete Popov
2002-01-31  1:56     ` Matthew Dharm
2002-01-31  2:40     ` Matthew Dharm
2002-01-31  2:45     ` Matthew Dharm
2002-01-31  2:55       ` Pete Popov
2002-01-31  9:30         ` Matthew Dharm
2002-01-31 17:53           ` Pete Popov

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