From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 05:16:17 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98B6216A421 for ; Mon, 21 Jan 2008 05:16:17 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC6E13C468 for ; Mon, 21 Jan 2008 05:16:17 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.14.2/8.14.1) with ESMTP id m0L4v0Ku001945; Sun, 20 Jan 2008 23:57:00 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.14.2/8.14.1/Submit) id m0L4v0xU001944; Sun, 20 Jan 2008 23:57:00 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Sun, 20 Jan 2008 23:57:00 -0500 From: David Schultz To: Heikki Suonsivu Message-ID: <20080121045700.GB1844@VARK.MIT.EDU> Mail-Followup-To: Heikki Suonsivu , freebsd-hackers@FreeBSD.ORG References: <479296CA.8000700@wlansystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <479296CA.8000700@wlansystems.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD on non-fpu device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 05:16:17 -0000 On Sun, Jan 20, 2008, Heikki Suonsivu wrote: > There is very low cost microscopic PC (see eBOX 2300 and eBOX 2300SX > www.compactpc.com.tw), which previously run FreeBSD fine, being based on > Vortex86 cpu on Sis SoC chip 550. Unfortunately the manufacturer > switched to a new SoC cpu which is 486SX derivative without FPU. This > does not work with FreeBSD. On the userland side, you need to edit src/libc/Makefile to include softfloat/Makefile.inc (as we do for the arm platform). Then compile everything including libm with -msoft-float. However, at least on i386, there's no support in the kernel for that kind of configuration, as of 5.0 or so. The kernel doesn't actually *use* floating point, so the changes are probably not that drastic, but we dropped support for the !FPU case on i386 a long time ago, and it would take a bit of effort to make it work. You might find it easier to use an older release instead.