From owner-freebsd-arm@FreeBSD.ORG Thu Jan 31 13:38:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4ABEEE57 for ; Thu, 31 Jan 2013 13:38:37 +0000 (UTC) (envelope-from george@ceetonetechnology.com) Received: from feynman.konjz.org (feynman.konjz.org [64.147.119.39]) by mx1.freebsd.org (Postfix) with ESMTP id EDFE07EA for ; Thu, 31 Jan 2013 13:38:36 +0000 (UTC) Received: from [192.168.1.102] (pool-173-77-66-239.nycmny.east.verizon.net [173.77.66.239]) (authenticated bits=0) by feynman.konjz.org (8.14.6/8.14.4) with ESMTP id r0VDcJuG029855 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 31 Jan 2013 08:38:24 -0500 (EST) (envelope-from george@ceetonetechnology.com) Message-ID: <510A73C6.40206@ceetonetechnology.com> Date: Thu, 31 Jan 2013 08:38:14 -0500 From: George Rosamond MIME-Version: 1.0 To: Tim Kientzle Subject: Re: Some ideas on Tim's script References: <51092D3A.4060608@ceetonetechnology.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 5.32 (*****) FH_HOST_EQ_VERIZON_P,RDNS_DYNAMIC X-Spam-Hits: 5320 X-Spam-Names: FH_HOST_EQ_VERIZON_P,RDNS_DYNAMIC X-Spam-Flag: YES X-Mail-Provider: KonjZ X-Scanned-By: MIMEDefang 2.73 on 64.147.119.39 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: george@ceetonetechnology.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2013 13:38:37 -0000 On 01/31/13 00:14, Tim Kientzle wrote: > On Jan 30, 2013, at 6:24 AM, George Rosamond wrote: >> >> But first, with 8G images, I had to adjust the config.sh's SD_SIZE >> below 7900 for Kingston SD Cards to fit. I can give more specifics >> if desired. Anyone else experience that? > > I have a bunch of different SD cards around here -- different sizes, > different manufacturers -- and I think every one is 50MB-100MB > smaller than the advertised size. Yes. My point was only to remove potential errors for newer users running into this (easily resolvable) issue. > >> In terms of /etc/fstab, I think adding tmpfs to the kernel would be >> useful. Without it, using md(4) for /var/log, /tmp and /var/tmp is >> certainly a nice way to minimize disk writes. > > How well does this work on a machine with only 256MB RAM? Been using md for years with Soekris/Alix boards. We're not talking about huge partitions here, so it shouldn't be an issue. I'm being more than generous here with space, but: /tmp -s30m /var/log -s15m /var/tmp -s5m I haven't done port building or any make on the BeagleBone, though. But it all seems fine with pfSense and their nanoBSD setup. I have only played around with tmpfs, but I'd imagine that in CURRENT it should be in good shape. > >> It might also make sense to add rc_debug="YES" and rc_info="YES" to >> the default /etc/rc.conf. Most users are testing right now, and >> it's only logical for the pool of people hacking on them. > > I wasn't aware of those options; I'll add them. > > One of my wish-list items is to figure out how to buildkernel with a > config file stored outside of /usr/src. Then it would be possible to > have a kernel config as part of the beaglebsd setup files, separate > from the config in /usr/src that seems to be optimized for kernel > debugging. That would be nice. > >> And maybe to add the relevant ntpdate(8) settings to /etc/rc.conf. > > Has anyone tried running ntpdate from devd? So that when/if the > network interface initializes, ntpdate gets run at that point. That > would avoid the tedious delay if there's no network at boot time. not I. g