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