[flashboot] building following current

Kevin Steves stevesk at pobox.com
Thu Jun 15 03:36:57 EST 2006


On Wed, Jun 14, 2006 at 12:21:35PM +0200, Massimo Lusetti wrote:
: I'm preparing a kernel conf file for a Via C3 based board with 4 10/100
: rl(4) interfaces. I can send you the dmesg and the first beta of the
: kernel config if you care.
: Actually the board works very well even with GENERIC-RD but since
: there's other custom kernel within flashboot i think someone else could
: be interested.

You can possibly use the COMMEL config which works with the IBASE 7204
(http://www.ibase-china.com/fwa7204.html).

On the 7204 I see periodic hangs in npx when it tries an fp divide by
zero, so I am using this workaround.

Index: npx.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/isa/npx.c,v
retrieving revision 1.37
diff -u -r1.37 npx.c
--- npx.c	6 Jun 2005 14:25:20 -0000	1.37
+++ npx.c	16 Feb 2006 19:12:45 -0000
@@ -224,6 +224,12 @@
 		control = 0x5a5a;	
 		fnstcw(&control);
 		if ((control & 0x1f3f) == 0x033f) {
+#define VIA_EDEN_HANG 1
+#ifdef VIA_EDEN_HANG
+			npx_traps_while_probing = npx_intrs_while_probing = 0;
+			npx_type = NPX_EXCEPTION;
+			i386_fpu_exception = 1;
+#else
 			/*
 			 * We have an npx, now divide by 0 to see if exception
 			 * 16 works.
@@ -252,6 +258,7 @@
 				npx_type = NPX_BROKEN;
 				ia->ia_irq = IRQUNK;
 			}
+#endif
 			return 1;
 		}
 	}




More information about the flashboot mailing list