From owner-freebsd-arm@FreeBSD.ORG Wed Mar 26 18:09:27 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0667B106566C for ; Wed, 26 Mar 2008 18:09:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7D54F8FC12 for ; Wed, 26 Mar 2008 18:09:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m2QI6RKL001805; Wed, 26 Mar 2008 12:06:28 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 26 Mar 2008 12:07:06 -0600 (MDT) Message-Id: <20080326.120706.1723236905.imp@bsdimp.com> To: jhay@meraka.org.za From: "M. Warner Losh" In-Reply-To: <20080326135631.GA71377@zibbi.meraka.csir.co.za> References: <47E421AE.8020507@errno.com> <20080326135631.GA71377@zibbi.meraka.csir.co.za> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: arm@freebsd.org Subject: Re: gateworks/avila board support X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Mar 2008 18:09:27 -0000 In message: <20080326135631.GA71377@zibbi.meraka.csir.co.za> John Hay writes: : On Fri, Mar 21, 2008 at 01:59:26PM -0700, Sam Leffler wrote: : > I'm working to fill in the missing bits for gateworks/avila boards. I : > just fixed usb and am working on the 4-port switch, ixp425 crypto : > support, and anything else I hit. I'm aware of one issue where stuffing : > all 4 mini-pci slots in a 2348-4 board results in unreliable interrupts. : > : > If you are aware of any other problems please let me know or better yet : > file a PR and assign it to me. Can't promise I can fix 'em this time : > 'round but will try. : : One thing that is not really a problem that I have been thinking about, : but do not have an answer for yet. : : We have the current Avila ixp425 based port and then there is the : Pronghorn Metro from ADI that I am busy with and then the new gateworks : boards that you are busy with. It seems that they should all be able to : use a single kernel except for the hints file. So what I have been : wondering about is if it might be possible to have multiple hints files : compiled in with a mechanism to select the correct one. Or maybe teach : my redboot based boot loader to select the correct hint file. : : I'm still trying to get my head around how the i386 loader load the : device.hints file though. :-) There's a standard in the linux world for passing the board ID from the boot loader to the kernel. I had hoped to use that for a board based initialization routine. Sometimes hints are all that's needed for the per-board support, but other times code needs to execute to turn on clocks and the like. We should move more towards this model. To effectively support it, one would need to be able to augment hints at run time. This is needed both for flavoring an individual board, as well as for supporting multiple different SoCs with one kernel. Augmenting hints at run time would be easy, but there's no support for doing this now. I looked at adding it at one point, but have always been too busy to find the time.. Warner