From owner-freebsd-arm@FreeBSD.ORG Fri Mar 1 00:42:02 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 710BDAF1; Fri, 1 Mar 2013 00:42:02 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id D9179B2F; Fri, 1 Mar 2013 00:42:01 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r210g0X0098406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 1 Mar 2013 01:42:00 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r210fwfa015472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Mar 2013 01:41:58 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r210fvW8064691; Fri, 1 Mar 2013 01:41:57 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r210fvBa064690; Fri, 1 Mar 2013 01:41:57 +0100 (CET) (envelope-from ticso) Date: Fri, 1 Mar 2013 01:41:57 +0100 From: Bernd Walter To: Ian Lepore Subject: Re: PHYSADDR Message-ID: <20130301004157.GB64366@cicely7.cicely.de> References: <1362068453.1195.40.camel@revolution.hippie.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362068453.1195.40.camel@revolution.hippie.lan> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 00:42:02 -0000 On Thu, Feb 28, 2013 at 09:20:53AM -0700, Ian Lepore wrote: > > The trampoline is relatively horrible for performance as well, it > decompresses the kernel to one place, then copies it to another. I'm > curious whether anyone uses it at all, except us at Symmetricom? I'm > not even sure there's any advantage to us using it. I suspect it was at > one time better for performance to load a smaller image from sdcard > (because that's slow) and take the hit on the decompress time. Recently > I enabled the MMU and caches in our low-level bootloader, and I have a > feeling that plus other changes to the boot sd code may mean it's faster > to load an uncompressed kernel now. I need to do some testing. I think it is from early days when the kernel was loaded from space limited SPI flash before Warner did the SD support. I have a 2MB SPI flash on my RM9200 board (Warner did with larger, but also had placed something else inside) Without compression it wouldn't have fit: [54]beaver.cicely.de# ls -al /boot/kernel* /boot/kernel: total 5044 drwxr-xr-x 2 root wheel 512 Nov 22 2009 . drwxr-xr-x 8 root wheel 512 Nov 22 2009 .. -r-xr-xr-x 1 root wheel 3661569 Nov 22 2009 kernel -r-xr-xr-x 1 root wheel 1453672 Nov 22 2009 kernel.gz.tramp Not sure about actual kernel size, but I don't expect them to be any smaller. Btw. In case anyone have doubts that FreeBSD-arm can be running solid: [55]beaver.cicely.de# uptime 1:32AM up 797 days, 4:42, 1 user, load averages: 0.02, 0.03, 0.00 [56]beaver.cicely.de# uname -a FreeBSD beaver.cicely.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Nov 22 07:52:33 CET 2009 ticso@beaver.cicely.de:/mnt2/arm-2009-04-17/head/sys/arm/compile/BEAVER arm The system is running my home automation. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.