From owner-freebsd-embedded@FreeBSD.ORG Mon Mar 25 11:06:41 2013 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 402D2FE1 for ; Mon, 25 Mar 2013 11:06:41 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 318EF8F for ; Mon, 25 Mar 2013 11:06:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2PB6fXp007099 for ; Mon, 25 Mar 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2PB6ejH007096 for freebsd-embedded@FreeBSD.org; Mon, 25 Mar 2013 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Mar 2013 11:06:40 GMT Message-Id: <201303251106.r2PB6ejH007096@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 11:06:41 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/172968 embedded [arge] probe/attach occasionally fails to find a PHY o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 3 problems total. From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 27 16:48:14 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C6F74747 for ; Wed, 27 Mar 2013 16:48:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 63BF7D51 for ; Wed, 27 Mar 2013 16:48:14 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id k14so4646818wer.27 for ; Wed, 27 Mar 2013 09:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=hbfaz5NJsl3S4Bszc3U0n9MbihlZp3s/TI1wUrZmWIs=; b=qxp3tAOxR4y3MyVNudniu9b8LpU1b+VBwoV2gP9gBcEpBwVMLiyefJtKwlMOLW+Mrh O6tRFdn3Itrh6920lM8y+eVPHsbF5TZm2DEJYcWE6j4eiI6cpG4NpuJAuFL0flsYZfWI AtohsVRdtZ8djuZJs1s8m4pddExWwzXqAqe0qR9sA2vvYsKeGJocCI0gIRZIMGIReNtk gqet/Tbzzw4KQRvOBcYvakc2T7F6gdfnQ3//O/uatOZSrruEduZLGl1kUPtLpI9N1h46 B5Pm8WzfZDRtKE1VjtJw7pV8NWdAQ+xSBqC4q355BoYTypcV3EhCZAlfdv+aPbwiiZV2 GZog== MIME-Version: 1.0 X-Received: by 10.180.189.205 with SMTP id gk13mr10979595wic.25.1364402893572; Wed, 27 Mar 2013 09:48:13 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Wed, 27 Mar 2013 09:48:13 -0700 (PDT) Date: Wed, 27 Mar 2013 09:48:13 -0700 X-Google-Sender-Auth: Qy9-7315evSLOyzzfA1HUSfNhvI Message-ID: Subject: FreeBSD on the AP121 (AR9330) From: Adrian Chadd To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 16:48:14 -0000 Hi, So I have FreeBSD mostly booting on the AR9330 based SoCs. The trouble? These ship with 16MB RAM and 4MB flash. CPU platform: Atheros AR9330 rev 1 CPU Frequency=400 MHz CPU DDR Frequency=400 MHz CPU AHB Frequency=200 MHz ... Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #15 r248780:248782M: Tue Mar 26 22:31:51 PDT 2013 adrian@marilyn:/home/adrian/work/freebsd/svn/obj/mipseb/mips.mips/usr/home/adrian/work/freebsd/svn/src/sys/AR9331 mips gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. Preloaded elf kernel "kernel" at 0x80538074. real memory = 16777216 (16384K bytes) Physical memory chunk(s): 0x005d2000 - 0x00f90fff, 10219520 bytes (2495 pages) avail memory = 9768960 (9MB) The kernel is 4.5MB in size uncompressed and takes up ~ 2.5MB of RAM just at startup. It's not going to be able to really do anything with our current userland without killing processes. I know it won't even be able to load the wlan/ath/bridge/switch modules. So at this point I'm really, really looking for some help with cutting down both the kernel binary size and the kernel memory footprint. It's a bit ridiculous at this point. The AR9330 is in a lot of the really cheap, really small APs that companies like TP-Link make in ridiculous quantities. I'd love to showcase FreeBSD + mesh on these, but there's just not enough space to run things. So, who's up for it? I can send you hardware if you start making progress. Lots and lots of embedded hardware. Thanks, Adrian From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 27 17:16:58 2013 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9283FF1F; Wed, 27 Mar 2013 17:16:58 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3C0EC5; Wed, 27 Mar 2013 17:16:55 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UKty2-0005q8-9l; Wed, 27 Mar 2013 17:16:54 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r2RHGqed011799; Wed, 27 Mar 2013 11:16:52 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/K44jYGvAcSZpYnf+G5Vk1 Subject: Re: FreeBSD on the AP121 (AR9330) From: Ian Lepore To: Adrian Chadd In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Wed, 27 Mar 2013 11:16:52 -0600 Message-ID: <1364404612.36972.59.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 17:16:58 -0000 On Wed, 2013-03-27 at 09:48 -0700, Adrian Chadd wrote: > Hi, > > So I have FreeBSD mostly booting on the AR9330 based SoCs. > > The trouble? These ship with 16MB RAM and 4MB flash. > > CPU platform: Atheros AR9330 rev 1 > CPU Frequency=400 MHz > CPU DDR Frequency=400 MHz > CPU AHB Frequency=200 MHz > > ... > > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 10.0-CURRENT #15 r248780:248782M: Tue Mar 26 22:31:51 PDT 2013 > adrian@marilyn:/home/adrian/work/freebsd/svn/obj/mipseb/mips.mips/usr/home/adrian/work/freebsd/svn/src/sys/AR9331 > mips > gcc version 4.2.1 20070831 patched [FreeBSD] > WARNING: WITNESS option enabled, expect reduced performance. > Preloaded elf kernel "kernel" at 0x80538074. > real memory = 16777216 (16384K bytes) > Physical memory chunk(s): > 0x005d2000 - 0x00f90fff, 10219520 bytes (2495 pages) > avail memory = 9768960 (9MB) > > The kernel is 4.5MB in size uncompressed and takes up ~ 2.5MB of RAM > just at startup. It's not going to be able to really do anything with > our current userland without killing processes. I know it won't even > be able to load the wlan/ath/bridge/switch modules. > > So at this point I'm really, really looking for some help with cutting > down both the kernel binary size and the kernel memory footprint. It's > a bit ridiculous at this point. > > The AR9330 is in a lot of the really cheap, really small APs that > companies like TP-Link make in ridiculous quantities. I'd love to > showcase FreeBSD + mesh on these, but there's just not enough space to > run things. > > So, who's up for it? I can send you hardware if you start making > progress. Lots and lots of embedded hardware. For starters you might try disabling WITNESS and other things you can't afford in a slimmed-down kernel. On the other hand, kernel bloat is ongoing; here's a random datapoint in the form of an 8.2 versus -current kernel built for an embedded arm using the same kernel config file (no debugging options enabled): 8.2 10.0 ---- ---- 3.4M 4M obj/arm.arm/usr/src/sys/TFLEX/kernel* 2.6M 3.1M obj/arm.arm/usr/src/sys/TFLEX/kernel.bin* 1.4M 1.6M obj/arm.arm/usr/src/sys/TFLEX/kernel.gz.tramp* If the system isn't doing heavy IO, try "option NBUF=128" to seriously slim down the amount of memory for buffers (by default it'll use 1/4 of total ram up to 64MB). It would be nice to know more about the implications of tweaking this number, but when I asked on a mailing list once I didn't get much useful info. -- Ian From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 27 18:23:35 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D3BD210; Wed, 27 Mar 2013 18:23:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx1.freebsd.org (Postfix) with ESMTP id 13053377; Wed, 27 Mar 2013 18:23:34 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id l18so789041wgh.25 for ; Wed, 27 Mar 2013 11:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=laEFov2SdiIgbFav3sOvYL87Su3WhghWfBpxojqo8ZY=; b=1IwFcaGA4ZfWuCD10Z2va6w+JVJFWE2IhLlvF3uAoQlfpwPoAOGEETvOMnZwnRfifw RHiHhWb2eybL/JM6ShqKz7dVNNgGMd6R1rfhB5clrii8rRQp62o1cchU9zP50Np+XyAt glAYNsxGx3gUM0j4naGeBgSoSs5zKUsVq46AMdi96xlKCHU9Iuwrx7O8D2qH/vl0grXQ UJ9WhTx6SChhu6kMRtZnW/AWm5a2+Xc5yN9qPaVgnl5ybV7+OED9EyPOmzwuMSyowJTO BW1KEJJfamDFer1Qf8HykSIIXzSg0EqD2T8U1gTlunodUtwxXTvV5h4fLTYXhp63WVkE xawg== MIME-Version: 1.0 X-Received: by 10.180.79.6 with SMTP id f6mr11452470wix.26.1364408607795; Wed, 27 Mar 2013 11:23:27 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Wed, 27 Mar 2013 11:23:27 -0700 (PDT) In-Reply-To: <1364404612.36972.59.camel@revolution.hippie.lan> References: <1364404612.36972.59.camel@revolution.hippie.lan> Date: Wed, 27 Mar 2013 11:23:27 -0700 X-Google-Sender-Auth: 4FX8xjaJZ9IG9mFUGutiHtoVFok Message-ID: Subject: Re: FreeBSD on the AP121 (AR9330) From: Adrian Chadd To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 18:23:35 -0000 On 27 March 2013 10:16, Ian Lepore wrote: > For starters you might try disabling WITNESS and other things you can't > afford in a slimmed-down kernel. On the other hand, kernel bloat is Well, the only thing I can't really afford here is the -head debugging. But it doesn't actually slim down things significantly. I'll re-post the sizes later. [snip] > If the system isn't doing heavy IO, try "option NBUF=128" to seriously > slim down the amount of memory for buffers (by default it'll use 1/4 of > total ram up to 64MB). It would be nice to know more about the > implications of tweaking this number, but when I asked on a mailing list > once I didn't get much useful info. There's that; I think the problem here is deadlock if there's not enough buffers available. Guess that bug should be fixed. The other immediate thing is the umtx hash array. It's rather large (512) and it doesn't need to be. I haven't even started with the subsystem memory allocations yet either. They get even scarier. (And userland is doubly-scary on this platform. Sigh.) Adrian From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 27 18:53:27 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A782CBB7 for ; Wed, 27 Mar 2013 18:53:27 +0000 (UTC) (envelope-from ama@ugr.es) Received: from mail3.ugr.es (mail3.ugr.es [150.214.35.31]) by mx1.freebsd.org (Postfix) with ESMTP id 664CD71A for ; Wed, 27 Mar 2013 18:53:27 +0000 (UTC) Received: from smtp3.ugr.es (smtp3.ugr.es [150.214.20.71]) by mail3.ugr.es (Postfix) with ESMTP id A2F0413EAF for ; Wed, 27 Mar 2013 19:47:53 +0100 (CET) Received: from darwin.ugr.es (darwin.ugr.es [150.214.61.183]) by smtp3.ugr.es (Postfix) with ESMTP id 811133C805 for ; Wed, 27 Mar 2013 19:47:54 +0100 (MET) Received: from ama by darwin.ugr.es with local (Exim 3.36 #1 (Debian)) id 1UKvIr-0008M0-00 for ; Wed, 27 Mar 2013 19:42:29 +0100 Date: Wed, 27 Mar 2013 19:42:29 +0100 From: Angel M Alganza To: freebsd-embedded@freebsd.org Subject: Re: FreeBSD on the AP121 (AR9330) Message-ID: <20130327184229.GD20062@darwin.ugr.es> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Company: Universidad de Granada, Granada, Spain X-URL: http://www.ugr.es/~ama/ X-PGP-pub-key: 3EB2 967A 9404 6585 7086 8811 2CEC 2F81 9341 E591 X-PGP-signature: http://http://www.ugr.es/~ama/ama-pgp-key X-Editor: Vim 7.0.219 X-Operating-System: 2.4.21 sparc64 GNU/Linux User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Angel M Alganza X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 18:53:27 -0000 On Wed, Mar 27, 2013 at 09:48:13AM -0700, Adrian Chadd wrote: > So I have FreeBSD mostly booting on the AR9330 based SoCs. > > The trouble? These ship with 16MB RAM and 4MB flash. Wow, that's so cool! I lost any hope to be able to run FreeBSD on my Zipit Z2 Messengers. They are ARM based and ship with 8MB NAND and 32MB RAM. There are several Linux distributions running on them, but running BSD would be so much cooler... Cheers, Ángel From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 27 21:15:39 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B1AA5E3F for ; Wed, 27 Mar 2013 21:15:39 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-x22b.google.com (mail-ia0-x22b.google.com [IPv6:2607:f8b0:4001:c02::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 83F8E135 for ; Wed, 27 Mar 2013 21:15:39 +0000 (UTC) Received: by mail-ia0-f171.google.com with SMTP id z13so7760542iaz.2 for ; Wed, 27 Mar 2013 14:15:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=R2lohC3cP1O1+RP5XRTv7VjP2yTga24Bq00r3mRIr4Y=; b=evJ5UVMtvHkf4DNqLep4VSpYLFl8wYhSC+kj+qDPo3FaEY7ZqNaW1c8o0gGQ2HfAGK GLog1T/xhA2tqGOLGjhY7+9TTBmn543EIPI12w/q22JVwlydbm9tbVg2wjBzT2VMMMVk X6OTKBfR45Joq+1X8FUyX6C0gZhBsbOg+rjBYDWQ7Lkqt9UYbAIkTT/IUxlMjQwls56q eboZRnxgZ4d0Wq1g6teUifpr0q4LIcC67BrJ7IBj5gyrlTVadKiU04mFyAQ8xG7lilLB HmGjxwjHbHKnM3nKPxvDP5AMjr3RqnQ8/oeigMj58l+FgnDvfc4tGrMewmPR/S5GfWcv Kc/Q== X-Received: by 10.42.203.68 with SMTP id fh4mr12728186icb.36.1364418939214; Wed, 27 Mar 2013 14:15:39 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id hi4sm8855608igc.6.2013.03.27.14.15.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 14:15:38 -0700 (PDT) Sender: Warner Losh Subject: Re: FreeBSD on the AP121 (AR9330) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 27 Mar 2013 15:15:36 -0600 Content-Transfer-Encoding: 7bit Message-Id: <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> References: <1364404612.36972.59.camel@revolution.hippie.lan> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQl6Gojrm2w2VBSFzdlLsZNiLUvSQ8NybQjK4iRDfbmLEwdPMzeaRWiQd+7Yw3Fj0stICP94 Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:15:39 -0000 On Mar 27, 2013, at 12:23 PM, Adrian Chadd wrote: > On 27 March 2013 10:16, Ian Lepore wrote: > >> For starters you might try disabling WITNESS and other things you can't >> afford in a slimmed-down kernel. On the other hand, kernel bloat is > > Well, the only thing I can't really afford here is the -head > debugging. But it doesn't actually slim down things significantly. > I'll re-post the sizes later. Maybe if you posted the config file, I can tell you what you're missing. >> If the system isn't doing heavy IO, try "option NBUF=128" to seriously >> slim down the amount of memory for buffers (by default it'll use 1/4 of >> total ram up to 64MB). It would be nice to know more about the >> implications of tweaking this number, but when I asked on a mailing list >> once I didn't get much useful info. > > There's that; I think the problem here is deadlock if there's not > enough buffers available. Guess that bug should be fixed. > > The other immediate thing is the umtx hash array. It's rather large > (512) and it doesn't need to be. > > I haven't even started with the subsystem memory allocations yet > either. They get even scarier. > > (And userland is doubly-scary on this platform. Sigh.) Can't comment here... Warner From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 27 21:16:48 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8E071E75 for ; Wed, 27 Mar 2013 21:16:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-x231.google.com (mail-ia0-x231.google.com [IPv6:2607:f8b0:4001:c02::231]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8FC13C for ; Wed, 27 Mar 2013 21:16:48 +0000 (UTC) Received: by mail-ia0-f177.google.com with SMTP id w33so4635046iag.22 for ; Wed, 27 Mar 2013 14:16:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=jUzPdhZzNM3IC85nWw5//vKwc9gHMZHoKrm3jEg1uFM=; b=ecxw8frtEZvHbvO8wSPfqe+x3mjOB3XAK7265pWkpn6koiIkIzahtADjrblv/omuwA UaBuzvZYZZsEYiAs4hIDEO4ZoEiRfocYdMWZWoleFql+P/nwHRTynxc5Cw8btHhKLuUg /l2yopz/s5dZjGsg1asjvZ0RWO05U7c5tT8sapf6bUd5bOFlr+0AFF44omXvtmCG8eCh qGAe7qhzYnOBLH+1YJXPx4++W3rTFKLA1LxVJvY2pqF8AhT7BOcK7AXE8ZtE7tbVE6Pa xAr0dTwqHwEoJjFAjOvrn/r7OsdXki8HszGFUjWOUCg0pLvLwaUMZOPxkZjP9ZT4o7Mr sCDg== X-Received: by 10.42.201.73 with SMTP id ez9mr12706049icb.29.1364419007800; Wed, 27 Mar 2013 14:16:47 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id xc3sm7845638igb.10.2013.03.27.14.16.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 14:16:46 -0700 (PDT) Sender: Warner Losh Subject: Re: FreeBSD on the AP121 (AR9330) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20130327184229.GD20062@darwin.ugr.es> Date: Wed, 27 Mar 2013 15:16:44 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130327184229.GD20062@darwin.ugr.es> To: Angel M Alganza X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnOrPkm0Ne/k/QFKFjI+7PdMxIkT9pNiy6k5ObpmIumFqKiN2fTybqF1giBRGRHfNpilyWk Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:16:48 -0000 On Mar 27, 2013, at 12:42 PM, Angel M Alganza wrote: > On Wed, Mar 27, 2013 at 09:48:13AM -0700, Adrian Chadd wrote: >> So I have FreeBSD mostly booting on the AR9330 based SoCs. >>=20 >> The trouble? These ship with 16MB RAM and 4MB flash. >=20 > Wow, that's so cool! I lost any hope to be able > to run FreeBSD on my Zipit Z2 Messengers. They > are ARM based and ship with 8MB NAND and 32MB RAM. > There are several Linux distributions running on > them, but running BSD would be so much cooler... You can have mine. Oh, wait, mine is a Z1, which is arm7 + MMU based. = The Z2 is StrongArm PXA based, iirc, so that should be doable. Warner From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 27 21:25:23 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B339D7F7; Wed, 27 Mar 2013 21:25:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id 2C28F210; Wed, 27 Mar 2013 21:25:22 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id b12so942542wgh.6 for ; Wed, 27 Mar 2013 14:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=f66HZDk1ZT0GNTywLA+R/qsoFW+wDVBkaPYZQRVVoeM=; b=ZJthfRbxkDt2mqgkNnCIFJrZCRzVqZUbwH830nUnyQkUPaAYvbjlKuLRi0L1CUNhyI Lf0VzEVb3WkVda4IeQmLfTSSkQ7NVlgJ/OWoo4Shr1cchSXstwZG+2QXANeDhYIpehWZ r002/8gq+HRvFg+5AwEWT7LR8zldLtf4cOUshj8MNhhfpSo68lJwMvDQ5DbqELhPwMGn HTxCJRPfpDZEKDbGIFaxONiyRRUYX4pV6cN4HDR62puw/c3zVWwHup1CTn6uOU0wUKg7 DVEeGY93FNwWNsXzBDP2qxT7e2sZq7Zw5vsztV1ghVLhthrrrX1Hfh3/HxLJNqY12ARX gHIA== MIME-Version: 1.0 X-Received: by 10.194.120.169 with SMTP id ld9mr34223231wjb.24.1364419521887; Wed, 27 Mar 2013 14:25:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Wed, 27 Mar 2013 14:25:21 -0700 (PDT) In-Reply-To: <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> References: <1364404612.36972.59.camel@revolution.hippie.lan> <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> Date: Wed, 27 Mar 2013 14:25:21 -0700 X-Google-Sender-Auth: vPWkIpeaV-nfjOSIQbEUVvlA-8o Message-ID: Subject: Re: FreeBSD on the AP121 (AR9330) From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:25:23 -0000 On 27 March 2013 14:15, Warner Losh wrote: >> Well, the only thing I can't really afford here is the -head >> debugging. But it doesn't actually slim down things significantly. >> I'll re-post the sizes later. > > Maybe if you posted the config file, I can tell you what you're missing. I'll write up something soon. But take a look at the AP91 config in sys/mips/conf/ . Comment out the wifi side of things (the wlan* and ath* drivers) and rebuild. It's a similar setup - 4MB flash, 16MB RAM. The kernel "partition" is 896kB in size - the bootloader assumes everything squeezes in there. I can send you some of this hardware if you'd like to play with. I have big boxes of it at work. Thanks, Adrian From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 00:32:28 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5201477E; Thu, 28 Mar 2013 00:32:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) by mx1.freebsd.org (Postfix) with ESMTP id B9DC1C2F; Thu, 28 Mar 2013 00:32:27 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id c10so2916831wiw.2 for ; Wed, 27 Mar 2013 17:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=RrlJ7P0zfFapmbEY7VZOPeatexBVjqUfK4EinL+6dQc=; b=psbNobnMu5hvTn/HIiIhqyy++z07RpafxUZHkaR2f/m+SmCE0xRTmu78i5/wAVJoBu 3G9BbrLeJjKPKN41GjXy8s0szQxbjNrUQkNSbhgJmq0532zLiJJHmRLqcx/6ybVjWmCj jXl3+u57ocvajLTVcPok05/Hzd0Z6xUhLT3T84uJGG6KSbNcTvpNJchVK9KbLWNVcWPA pacs9a68XIu9sS6ui1eBSdFhtNOI+tRL3mXt0sQRXlOI71JHL9Mj2IkOvLQombWDly+C 8gNpx99QYeUBxB8Gyx5zhp0zG+aoYC4aqNW2+Ct35kqGEzzIg9wqpKaxshJmb1NtmDmL mkGA== MIME-Version: 1.0 X-Received: by 10.180.81.232 with SMTP id d8mr12978370wiy.25.1364430746882; Wed, 27 Mar 2013 17:32:26 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Wed, 27 Mar 2013 17:32:26 -0700 (PDT) In-Reply-To: References: <1364404612.36972.59.camel@revolution.hippie.lan> <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> Date: Wed, 27 Mar 2013 17:32:26 -0700 X-Google-Sender-Auth: g_NeuN5819FezuoiegdoYJDg4lI Message-ID: Subject: Re: FreeBSD on the AP121 (AR9330) From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 00:32:28 -0000 building without witness/invariants didn't shave much off, it's still around 4.5 meg. -r-xr-xr-x 1 adrian wheel 4532018 Mar 27 17:04 /tftpboot/kernel.AP121 The file size dump: http://people.freebsd.org/~adrian/ath/AP121.txt FreeBSD 10.0-CURRENT #3 r248804M: Wed Dec 31 16:00:00 PST 1969 adrian@dummy:/home/adrian/work/freebsd/svn/obj/mipseb/mips.mips/usr/home/adrian/work/freebsd/svn/src/sys/AP121 mips gcc version 4.2.1 20070831 patched [FreeBSD] Preloaded elf kernel "kernel" at 0x803ea1b4. real memory = 16777216 (16384K bytes) Physical memory chunk(s): 0x00484000 - 0x00f8afff, 11563008 bytes (2823 pages) avail memory = 11247616 (10MB) Adrian From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 00:36:14 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0A3DE82D; Thu, 28 Mar 2013 00:36:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 717F5CB5; Thu, 28 Mar 2013 00:36:13 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id z53so2960166wey.23 for ; Wed, 27 Mar 2013 17:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=C5jcKStps83U2FXIdfk1sa8BgBB6SrZm1cYe3/yM//Q=; b=niE6nCrJ/kmoP1OBIyBKNL9EtKRWzO+ldjCCyDlhZablkN8vj+8a9XFvhOc1bwBj3P LSC4wiff90xPoQXn+PbUjshKesUW94Q55bDEYLsXFddSc3uZWm7mF7G1QzY72wRyPetZ ugLZfwCrLWZSXMN+vJ+l6hsoos3JAm+bMiObtGGnpcrbebpBrrGgBHq36Bytq2sdG9s8 gaKTcwcB0TH0aGlIsMtgDMlgXN8MEgXjU6GoiDeDsQEMbPhUuQD7pBz165xbnrWjmszv REubnTi3Yy/TJlPnaDJKu/C01kwGXMO7Wn8Hgk2EowbymZPcWpX8hIQ99kDtB+OMPa7x SP2A== MIME-Version: 1.0 X-Received: by 10.194.120.169 with SMTP id ld9mr34854805wjb.24.1364430972596; Wed, 27 Mar 2013 17:36:12 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Wed, 27 Mar 2013 17:36:12 -0700 (PDT) In-Reply-To: References: <1364404612.36972.59.camel@revolution.hippie.lan> <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> Date: Wed, 27 Mar 2013 17:36:12 -0700 X-Google-Sender-Auth: IS-ks49jGSjHZviuW1j62i6ns-k Message-ID: Subject: Re: FreeBSD on the AP121 (AR9330) From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 00:36:14 -0000 ... and compiling without -g: -r-xr-xr-x 1 adrian wheel 4638057 Mar 27 17:34 /tftpboot/kernel.AP121 http://people.freebsd.org/~adrian/ath/AP121-nodebug.txt Yes, it's bigger without -g. adrian From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 03:22:35 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 181CCC09 for ; Thu, 28 Mar 2013 03:22:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-x22e.google.com (mail-ia0-x22e.google.com [IPv6:2607:f8b0:4001:c02::22e]) by mx1.freebsd.org (Postfix) with ESMTP id DAF7539C for ; Thu, 28 Mar 2013 03:22:34 +0000 (UTC) Received: by mail-ia0-f174.google.com with SMTP id b35so7791068iac.19 for ; Wed, 27 Mar 2013 20:22:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=uqLi8bpclgmSwYlXdLTsJWaEOmr2zAQMlKcB5WkgBHA=; b=Ld9eeF7GUEmfEvFQoMtqTBKW+Ln8zQY8sXkCuWTF1EpfG+CCpluu+4xxxlWuaJMtKW LNTwGxHGIG3w5B5iGqzR9ZtfY7tfRIUpnTSlM5AhIeAPUoq5RQw3D3fbLJRvU8Ln5h5c LCDv5cdXyeXpIyUXF2FZftTbuBi8imyzyzaxkYklXxCZPIYQnEDbh9tbkDDM1NEq1hDa AWWSsLUSAlZidlpkHj5nEPBflmpIDmp+HgmyVkn/+/K+wQ031ziz9+4hfW3bth9CEk50 0J/pOufYG+Z+Xg1bq2jFnEQWvnrBv6xTk+bYr+7HD1fvefn46/g9JZiStMpB/sXu8grB xoMw== X-Received: by 10.43.118.2 with SMTP id fo2mr13291337icc.41.1364440954345; Wed, 27 Mar 2013 20:22:34 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id ua6sm9151220igb.0.2013.03.27.20.22.33 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 20:22:33 -0700 (PDT) Sender: Warner Losh Subject: Re: FreeBSD on the AP121 (AR9330) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 27 Mar 2013 21:22:32 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1364404612.36972.59.camel@revolution.hippie.lan> <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQmYRHezrQtlwfITWlLrioaAr4ij0tEzryPSwU3VqmBsdJHFWOO9EJNyU+cGJIh4LwtlqNgX Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 03:22:35 -0000 > -r-xr-xr-x 1 adrian wheel 4638057 Mar 27 17:34 = /tftpboot/kernel.AP121 >=20 > http://people.freebsd.org/~adrian/ath/AP121-nodebug.txt >=20 > Yes, it's bigger without -g. I was able to save about 40k by uninlining mutexes, etc. But that took = the AP96 kernel from 6.5MB to 6.4MB. 4680311 266388 1576752 6523451 638a3b = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kernel 4641469 266372 1576624 6484465 62f1f1 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kernel svn diff sys/mips/conf Index: sys/mips/conf/AP96 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/mips/conf/AP96 (revision 248804) +++ sys/mips/conf/AP96 (working copy) @@ -43,3 +43,11 @@ =20 device etherswitch device arswitch + +# Disable the inlining of mutex, rwlock and sx locks. These eat up a = lot +# of space. +options MUTEX_NOINLINE +options RWLOCK_NOINLINE +options SX_NOINLINE +options NO_FFS_SNAPSHOT +options NO_SWAPPING Here's the top 10 in terms of text size: 57344 160 49184 106688 1a0c0 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kern_umtx.o 57004 848 64 57916 e23c = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/pci.o 48956 10672 80 59708 e93c = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/scsi_all.o 48664 1680 256 50600 c5a8 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/vfs_subr.o 45156 624 0 45780 b2d4 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/if_ath.o 44932 2000 320 47252 b894 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/vfs_bio.o 41796 992 192 42980 a7e4 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/ffs_alloc.o 41376 0 0 41376 a1a0 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/if_ath_tx.o 38272 5120 80 43472 a9d0 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kern_jail.o 34340 752 192 35284 89d4 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/cam_xpt.o two of which you might be able to do something about. One suspects that = PCIe support could be compiled out of pci.o, and there's two from CAM, = and another three from file systems... Maybe there's a smaller subset of = CAM that can be compiled in for the USB drive support? Last time I fought this battle, it was a battle of attrition: 20k here, = 20k there, 5k over there. Sadly, you'll need about 100 of these. Also, = inlining can cause significant bloat, and we inline a lot... Warner From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 04:23:34 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7E4E4738; Thu, 28 Mar 2013 04:23:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id E25B973E; Thu, 28 Mar 2013 04:23:33 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id r3so4067685wey.17 for ; Wed, 27 Mar 2013 21:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sVLGrZbX7sznFHGRq1mD/XsfMG/e3cxPBP4EPxjwxlg=; b=nS4GXc+L3UZoXlOD93KZa1frHWO3elbPnntAgWEebJ7S/cHzXdGn6BZAwaUH3gcMSn yeIBH1brId7ka/5Y8kFxpUcP/pYmLqKHjYspnU2m65QAeUqTntM781/BGNBwO8tBx7yA Ek92unVnQzfPwJX18I3B4+0n4dzx3uM3tv5cjsu10V7xUUeK28BDLVCOQJfUZ4AHkYmP sHGXPGaqhwuOyPTe3mPw5RZeEwglt7MrwmwVc6nL5i05DJP64AZFm8PLHWQGdgPZuFIj h+IfgzVlQ6Ob/4HojR32lPumm1BikYjnDDY+8sW+vHD4xExNykPN8F83xTwLmnx4NWat +A6w== MIME-Version: 1.0 X-Received: by 10.194.171.74 with SMTP id as10mr35347110wjc.0.1364444612235; Wed, 27 Mar 2013 21:23:32 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Wed, 27 Mar 2013 21:23:32 -0700 (PDT) In-Reply-To: References: <1364404612.36972.59.camel@revolution.hippie.lan> <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> Date: Wed, 27 Mar 2013 21:23:32 -0700 X-Google-Sender-Auth: y2YV4Y2Fn3ym6WMxcjx9xpJGU0w Message-ID: Subject: Re: FreeBSD on the AP121 (AR9330) From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 04:23:34 -0000 On 27 March 2013 20:22, Warner Losh wrote: > I was able to save about 40k by uninlining mutexes, etc. But that took th= e AP96 kernel from 6.5MB to 6.4MB. The AP96 is an all-in-one kernel for a much more useful system. The AP91 is the kicker. Same architecture, but I have to shrink the kernel down to fit inside an 896k lzma'ed partition. That, and 16MB of RAM makes it very, very tight. > 4680311 266388 1576752 6523451 638a3b /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/kernel > 4641469 266372 1576624 6484465 62f1f1 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/kernel Ok, I'll try that. I wonder how badly it's going to affect performance though. :-( > Here's the top 10 in terms of text size: > > 57344 160 49184 106688 1a0c0 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/kern_umtx.o This is likely due to the default size of the mtx array. I dropped that from 512 to 64, no appreciable drop. :-( > 57004 848 64 57916 e23c /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/pci.o > 48956 10672 80 59708 e93c /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/scsi_all.o > 48664 1680 256 50600 c5a8 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/vfs_subr.o > 45156 624 0 45780 b2d4 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/if_ath.o > 44932 2000 320 47252 b894 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/vfs_bio.o > 41796 992 192 42980 a7e4 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/ffs_alloc.o > 41376 0 0 41376 a1a0 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/if_ath_tx.o > 38272 5120 80 43472 a9d0 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/kern_jail.o > 34340 752 192 35284 89d4 /dune/imp/obj/mips.mips/dune/imp/= FreeBSD/sys/AP96/cam_xpt.o > > two of which you might be able to do something about. One suspects that P= CIe support could be compiled out of pci.o, and there's two from CAM, and a= nother three from file systems... Maybe there's a smaller subset of CAM tha= t can be compiled in for the USB drive support? The AR724x uses PCIe; so I can't kill that. CAM is a big one, unfortunately. It'd be nice if we had a smaller layer for this but it seems a losing battle without the USB/CAM people jumping in and considering it as part of their architecture. > Last time I fought this battle, it was a battle of attrition: 20k here, 2= 0k there, 5k over there. Sadly, you'll need about 100 of these. Also, inli= ning can cause significant bloat, and we inline a lot... The big big thing is how big some of the subsystems are. ~ 200k just for FFS. ~100k just for uipc routines. mtx is 100k all up and that's kind of scary. etc. It'd be nice if we could trim that much code out of different subsystems. I'm going to make a concerted effort to shrink down bits of the wireless stack and ath driver as they're a bit too kitchen sink for me. But I first need to fit a normal kernel in the damned thing. Sniffle. :-( I really could do with some more help here. Adrian Adrian From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 08:52:59 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C05016C7; Thu, 28 Mar 2013 08:52:59 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 85211822; Thu, 28 Mar 2013 08:52:59 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:cd63:a817:556f:dff2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id C78844AC57; Thu, 28 Mar 2013 12:52:51 +0400 (MSK) Date: Thu, 28 Mar 2013 12:52:48 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <478811745.20130328125248@serebryakov.spb.ru> To: Adrian Chadd Subject: Re: FreeBSD on the AP121 (AR9330) In-Reply-To: References: <1364404612.36972.59.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 08:52:59 -0000 Hello, Adrian. You wrote 27 =D0=BC=D0=B0=D1=80=D1=82=D0=B0 2013 =D0=B3., 22:23:27: AC> (And userland is doubly-scary on this platform. Sigh.) Linux solves this problem by using busybox instead of all separate utilities, as far as I understand/know. I've presented TP-Link 3G router (3420? I don't remember exactly already) to my old parents (for their out-of-town summer cottage), and I was shocked by size of firmware for it. And it contains not only kernel (with firewall, NAT, and all this network stuff), but Web interface and some dhcpd! It looks like, we need project to create system with FreeBSD kernel, ucLib and busybox. We have busybox in ports, but it is linked with system libc (which is huge) and I'm not sure, that it supports something like "ifconfig" with all bells and whistles, and we need ipfw, some PPP and other stuff too... --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 08:53:42 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EAE2A702; Thu, 28 Mar 2013 08:53:42 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id B1E1782D; Thu, 28 Mar 2013 08:53:42 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:cd63:a817:556f:dff2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 0BABB4AC57; Thu, 28 Mar 2013 12:53:40 +0400 (MSK) Date: Thu, 28 Mar 2013 12:53:38 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <33177575.20130328125338@serebryakov.spb.ru> To: Adrian Chadd Subject: Re: FreeBSD on the AP121 (AR9330) In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 08:53:43 -0000 Hello, Adrian. You wrote 27 =D0=BC=D0=B0=D1=80=D1=82=D0=B0 2013 =D0=B3., 20:48:13: AC> So I have FreeBSD mostly booting on the AR9330 based SoCs. BTW, is here any devices, which implements both 1G ports and 3x3 WiFi of this chip? Not simple "AP" but gigabit router? --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 14:23:38 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B0388F23 for ; Thu, 28 Mar 2013 14:23:38 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 7E296AF7 for ; Thu, 28 Mar 2013 14:23:38 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id 9so11680927iec.4 for ; Thu, 28 Mar 2013 07:23:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=/3ChaWyIR2MfddfqNhSdKd0ViykFcY7aL//4NHF+J+o=; b=d+grHpu/b++vteZb1oMFYsrRQLKCVFE/TLy7yQmuCOTiNpCQX47nhF/UuuErWO1Io+ MbUUx99f52JSf0JsZUBHEA9WeFF4AsdUGCpXfkVzEnwHWYIfm6VoDx8EYlI3j1Kn1IGp E5eSsnRcC0fBIh3qLYKfa+LWDPU45EZWvBOsceiZJ73mwveAwdHDv51pX6FZtxjoQACF gSn5WUwOFN1GeUWWMPrTapJX0tY1HcTKPH41ZXDcgFgYFJuAg7HNyc1n9yeR/UHkiARs ew18YrGGw1lhq3zYs/KEwGOD61nBNn7/skiF3JWMml974VmGloHOZjD7wE2oQ5PeuEZx 3Jqg== X-Received: by 10.50.106.114 with SMTP id gt18mr7098156igb.23.1364480618192; Thu, 28 Mar 2013 07:23:38 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id y5sm11973809igg.7.2013.03.28.07.23.36 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Mar 2013 07:23:37 -0700 (PDT) Sender: Warner Losh Subject: Re: FreeBSD on the AP121 (AR9330) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Thu, 28 Mar 2013 08:23:34 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <3DAE4BC8-5F03-4DED-B570-5039EE9FFB45@bsdimp.com> References: <1364404612.36972.59.camel@revolution.hippie.lan> <65064C0E-1C1F-4C07-9CFB-DEEC1638A78D@bsdimp.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQl7v8YT+2w6xoQZGQe4TJ35tFpBwWeOUzkBTh44wIqYPNzLWopWBdisozEi+9vtQy3TGlKF Cc: freebsd-embedded@freebsd.org, Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 14:23:38 -0000 On Mar 27, 2013, at 10:23 PM, Adrian Chadd wrote: > On 27 March 2013 20:22, Warner Losh wrote: >=20 >> I was able to save about 40k by uninlining mutexes, etc. But that = took the AP96 kernel from 6.5MB to 6.4MB. >=20 > The AP96 is an all-in-one kernel for a much more useful system. The > AP91 is the kicker. Same architecture, but I have to shrink the kernel > down to fit inside an 896k lzma'ed partition. That, and 16MB of RAM > makes it very, very tight. >=20 >> 4680311 266388 1576752 6523451 638a3b = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kernel >> 4641469 266372 1576624 6484465 62f1f1 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kernel >=20 > Ok, I'll try that. I wonder how badly it's going to affect performance > though. :-( On the Atmel AT91RM9200 running at 180MHz it didn't affect things = much... >> Here's the top 10 in terms of text size: >>=20 >> 57344 160 49184 106688 1a0c0 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kern_umtx.o >=20 > This is likely due to the default size of the mtx array. I dropped > that from 512 to 64, no appreciable drop. :-( Well, the 57k of text isn't going to be affected by that much at all... >> 57004 848 64 57916 e23c = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/pci.o >> 48956 10672 80 59708 e93c = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/scsi_all.o >> 48664 1680 256 50600 c5a8 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/vfs_subr.o >> 45156 624 0 45780 b2d4 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/if_ath.o >> 44932 2000 320 47252 b894 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/vfs_bio.o >> 41796 992 192 42980 a7e4 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/ffs_alloc.o >> 41376 0 0 41376 a1a0 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/if_ath_tx.o >> 38272 5120 80 43472 a9d0 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/kern_jail.o >> 34340 752 192 35284 89d4 = /dune/imp/obj/mips.mips/dune/imp/FreeBSD/sys/AP96/cam_xpt.o >>=20 >> two of which you might be able to do something about. One suspects = that PCIe support could be compiled out of pci.o, and there's two from = CAM, and another three from file systems... Maybe there's a smaller = subset of CAM that can be compiled in for the USB drive support? >=20 > The AR724x uses PCIe; so I can't kill that. Bummer. 56k to implement the pci bus seems large and like there should = be room to trim. > CAM is a big one, unfortunately. It'd be nice if we had a smaller > layer for this but it seems a losing battle without the USB/CAM people > jumping in and considering it as part of their architecture. Well, I'm thinking that there's not much of CAM used for the mass = storage attached via USB that could be conditionally compiled. But I = haven't gone and tried to see where the size bloat comes from and if it = is at all trimmable. >> Last time I fought this battle, it was a battle of attrition: 20k = here, 20k there, 5k over there. Sadly, you'll need about 100 of these. = Also, inlining can cause significant bloat, and we inline a lot... >=20 > The big big thing is how big some of the subsystems are. ~ 200k just > for FFS. ~100k just for uipc routines. mtx is 100k all up and that's > kind of scary. etc. Yes. At one point a lot of that was coming form overly aggressive = inlining. I haven't tried to trim what gets inlined lately though. > It'd be nice if we could trim that much code out of different > subsystems. I'm going to make a concerted effort to shrink down bits > of the wireless stack and ath driver as they're a bit too kitchen sink > for me. But I first need to fit a normal kernel in the damned thing. You can always shrink on larger systems that you artificially constrain = a bit at a time... > Sniffle. :-( I really could do with some more help here. Yea, wish I had more time to actually focus on this... Warner= From owner-freebsd-embedded@FreeBSD.ORG Thu Mar 28 22:48:31 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6522DD4; Thu, 28 Mar 2013 22:48:31 +0000 (UTC) (envelope-from bsd-lists@1command.com) Received: from udns.ultimateDNS.NET (ultimatedns.net [209.180.214.225]) by mx1.freebsd.org (Postfix) with ESMTP id 267F68EF; Thu, 28 Mar 2013 22:48:30 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id r2SMUUPb023890; Thu, 28 Mar 2013 15:30:36 -0700 (PDT) (envelope-from bsd-lists@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id r2SMUOCn023884; Thu, 28 Mar 2013 15:30:24 -0700 (PDT) (envelope-from bsd-lists@1command.com) Received: from udns.ultimatedns.net ([209.180.214.225]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Thu, 28 Mar 2013 15:30:25 -0700 (PDT) Message-ID: In-Reply-To: References: Date: Thu, 28 Mar 2013 15:30:25 -0700 (PDT) Subject: Re: FreeBSD on the AP121 (AR9330) From: "Chris H" To: "Adrian Chadd" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 22:48:31 -0000 > Hi, > > So I have FreeBSD mostly booting on the AR9330 based SoCs. > > The trouble? These ship with 16MB RAM and 4MB flash. > > CPU platform: Atheros AR9330 rev 1 > CPU Frequency=400 MHz > CPU DDR Frequency=400 MHz > CPU AHB Frequency=200 MHz > > ... > > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 10.0-CURRENT #15 r248780:248782M: Tue Mar 26 22:31:51 PDT 2013 > adrian@marilyn:/home/adrian/work/freebsd/svn/obj/mipseb/mips.mips/usr/home/adrian/work/freebsd/svn/src/sys/AR9331 > mips > gcc version 4.2.1 20070831 patched [FreeBSD] > WARNING: WITNESS option enabled, expect reduced performance. > Preloaded elf kernel "kernel" at 0x80538074. > real memory = 16777216 (16384K bytes) > Physical memory chunk(s): > 0x005d2000 - 0x00f90fff, 10219520 bytes (2495 pages) > avail memory = 9768960 (9MB) > > The kernel is 4.5MB in size uncompressed and takes up ~ 2.5MB of RAM > just at startup. It's not going to be able to really do anything with > our current userland without killing processes. I know it won't even > be able to load the wlan/ath/bridge/switch modules. > > So at this point I'm really, really looking for some help with cutting > down both the kernel binary size and the kernel memory footprint. It's > a bit ridiculous at this point. > > The AR9330 is in a lot of the really cheap, really small APs that > companies like TP-Link make in ridiculous quantities. I'd love to > showcase FreeBSD + mesh on these, but there's just not enough space to > run things. > > So, who's up for it? I can send you hardware if you start making > progress. Lots and lots of embedded hardware. > > Thanks, Congratulations Adrian! :) Greetings, This message caught my eye, as I've been staging for just such an endeavor. My /primary/ targets OTOH are 32/64. So I have a bit more to work with. The CPU's I'm working on are Infenion PSB7200xxx's (rebranded TI -- Texas Instruments), tho I also have some BCM's (BroadCom) and a Marvel I intend to work on. I've accumulated quite a bit of data on these (especially the Infenion based boards). I have also acquired just about every Linux image/firmware ever built for these. In fact, I'm awaiting a couple from ZyXEL (also Linux based). I had hoped to use these as references, in building BSD based equivalent images. I had hoped to build a busyBSDbox -- BSD version of Linux' busybox, as that seems like it would greatly diminish the overall size of the primary partition on the Flash. Anyway, as I mentioned; I'm /staging/ for all this. Meaning; I'm not /yet/ fully prepared. But I /am/ fully committed! I've not worked on a MIPS CPU for awhile. I had a couple of NEC servers, that were early MIPS, but they were stolen. So I've been away from that for awhile. Speaking of size; would earlier versions be a more reasonable starting point regarding kernel size, then simply adapting the necessary drivers from ~CURRENT? I've got an old MIPS based kernel that weighs in @ 128k -- but /way/ too old to be of any use on modern hardware. :) Bottom line; I'm also working in this area, so I'd be happy to help. Feel free to contact me off-list, if you would like. Best wishes, and congrats again for your initial success! --Chris P.S. I'm currently running on an AMD64/8.3-STABLE. > > > > Adrian > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" >