From owner-freebsd-small@FreeBSD.ORG Tue May 16 17:36:12 2006 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A991F16ACB9 for ; Tue, 16 May 2006 17:36:12 +0000 (UTC) (envelope-from lab@gta.com) Received: from gta.com (gta-edge-199-20.gta.com [199.120.225.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 13C1A43D5F for ; Tue, 16 May 2006 17:36:11 +0000 (GMT) (envelope-from lab@gta.com) Received: (qmail 59277 invoked by uid 1000); 16 May 2006 17:36:10 -0000 Date: 16 May 2006 17:36:10 -0000 Message-ID: <20060516173610.59276.qmail@gta.com> From: Larry Baird To: freebsd-small@freebsd.org In-Reply-To: <200605161629.k4GGTPfN065519@amd64.ott.parse.com> X-Newsgroups: freebsd.small User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/4.10-RELEASE (i386)) Cc: Robert Krten Subject: Re: Smallest/fastest x86 6.0 X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:36:13 -0000 In article <200605161629.k4GGTPfN065519@amd64.ott.parse.com> you wrote: > Can anyone give me a ballpark idea on what size the smallest > image would be, and how fast it could boot, for a 6.0 (or 6.1) > bare bones x86 kernel with a serial driver, filesystem (suitable > for a 32MB flash device; even a DOS filesystem is fine) and > enough guts to load a "hello world"-sized C program, on a 500 > MHz PIII class of machine? I'm hoping for something along the > lines of 2-4MB and <10s ... > > I know it's kind of a vague question, but I'm trying to > get a handle on just how "embeddable" FreeBSD is. PHK gave > a talk at BSDCan 2006 last weekend, and I believe the number > he guessed at was around 9MB but that was using nanoBSD; he > then went on to say that picoBSD would be the way to go, but > that perhaps there needed to be some more development on that > front... > > Comments? I have created very small embedded FreeBSD using as small as 1.6MB. For this I replaced init with my own init and basically kernel, new init and a few services. I agree with PKH that picoBSD is a good place to start. As far as time to boot, the limiting factor is often the BIOS. Just checked on an embedded development box I have and saw a boot time of ten seconds after BIOS finished. This box is really just a standard PC with a standard BIOS. The BIOS takes about 15 seconds to complete. On "real embedded" hardware I am seeing a BIOS time of about 4 seconds. Hope this helps. Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gta.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080