From owner-freebsd-arm@FreeBSD.ORG Wed Jan 30 17:39:23 2013 Return-Path: Delivered-To: freebsd-arm@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 A67D687A for ; Wed, 30 Jan 2013 17:39:23 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 340B3ACB for ; Wed, 30 Jan 2013 17:39:18 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.6/8.14.6) with ESMTP id r0UHdIWY093279 for ; Wed, 30 Jan 2013 10:39:18 -0700 (MST) (envelope-from ian@FreeBSD.org) 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 r0UHdFnu023965; Wed, 30 Jan 2013 10:39:15 -0700 (MST) (envelope-from ian@FreeBSD.org) Subject: Re: Some ideas on Tim's script From: Ian Lepore To: Brett Wynkoop In-Reply-To: <20130130110138.62b4570e@ivory.lan> References: <51092D3A.4060608@ceetonetechnology.com> <20130130110138.62b4570e@ivory.lan> Content-Type: text/plain; charset="us-ascii" Date: Wed, 30 Jan 2013 10:39:15 -0700 Message-ID: <1359567555.93359.250.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: george@ceetonetechnology.com, freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 17:39:23 -0000 On Wed, 2013-01-30 at 11:01 -0500, Brett Wynkoop wrote: > On Wed, 30 Jan 2013 09:24:58 -0500 > George Rosamond wrote: > > > I mentioned this to Tim offline a while back, but I have some quick > > thoughts on options for the scripts. > > > > A bunch of us in NYC*BUG have been hacking on Soekris and Alix boards > > with i386 for a long while, which lays the basis for some of these > > thoughts. > > > > 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? > > > > No problem with my microsd card, but I do not recall what brand it is > and I do not want to shut down the board to check. > Look in /var/run/dmesg.boot for this line: mmcsd0: 1876MB That's the manufacturer info (SD = sandisk in this case). The number (48, its base-10) is the manufacturer ID, which you can look up on websites when you don't recognize the initials. > > 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. > > > > I agree that tmpfs in the kernel would be good for the above. > > > 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. > > > > And maybe to add the relevant ntpdate(8) settings to /etc/rc.conf. > > One of the first things I did was put ntpdate into startup, but for > boards not connected to the net that will create a several second hang. Better than ntpdate is to set ntpd_enable and ntpd_sync_on_start to YES. -- Ian