From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 29 04:00:58 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52BB0106566B; Wed, 29 Aug 2012 04:00:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF808FC14; Wed, 29 Aug 2012 04:00:57 +0000 (UTC) Received: by dadr6 with SMTP id r6so91659dad.13 for ; Tue, 28 Aug 2012 21:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=lg0UQu/P46GAYkv1YNj/Zr7OMMeyFVQ4EzFVGQK77X4=; b=J7WraAfD2IxaEeaZLjSED+MeWJn3rH6fRULKxPW3YM/mV5dQc+zvfrmo2NH7PN40Ao p5BPMVo9TBEkHherMT0Vb0C46sChaeAjr1t5mFYU13lJYCcltDBGP4hoXsgz7NhbAFtw 4/ulz7zqKg+eSdESqMLgpjFe6WUZuEbHbvgrSCqQTC2edQBCeZDrjLvtBEgwo6ziS5s8 qBLPqYShSPIoNj3EDABdUM+FN0qgXT/E/IumsStUijF37ohipUiTO2JDsCsYKjnDvZO+ IhypxO65dyP6ZHf216P2/We7+qswdM3mWgMZ5x9brxtalVMsEanSNBsltShhRE7HcDEu zC3Q== MIME-Version: 1.0 Received: by 10.68.227.233 with SMTP id sd9mr1535057pbc.48.1346212857711; Tue, 28 Aug 2012 21:00:57 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Tue, 28 Aug 2012 21:00:57 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Aug 2012 21:00:57 -0700 X-Google-Sender-Auth: cnCtqxFgS83uaLzG8bTDT8K3uWs Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org, freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Heads up: AR7241 + PCIe and AR9287 on-board stuff works X-BeenThere: freebsd-embedded@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: Wed, 29 Aug 2012 04:00:58 -0000 On 25 August 2012 21:41, Adrian Chadd wrote: > Hi all, > > I've just brought up FreeBSD-HEAD on the AP99 board (AR7241+AR9287) > and I noticed a bunch of missing PCI setup and EEPROM setup code. It's > just made its way into -HEAD. I've now tried to bring the board up in some useful fashion. Unfortunately the board has 16MB of RAM and 4MB of flash, so I've had to cut down the kernel quite significantly (see the AP91 config file in sys/mips/conf/.) The default (most things as modules) kernel build is still ~ 3.5mb. That's rather large for a board with 16MB of RAM. Additionally, I can't load the ath device after the system has come up single user - the driver fails to allocate descriptors/buffer entries. I'll do some digging about it in a couple of weeks. I'd like some pointers on how to dump the current state of memory so I can see exactly what's going on. For reference, 'sysctl vm.vmtotal' shows the total free RAM is around 1 to 1.5MB. I'm guessing some are allocated to buffers but I'd like to see what else is actually holding onto memory.. Thanks, Adrian