From owner-freebsd-arm@FreeBSD.ORG Wed Feb 28 16:44:59 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEE5216A402 for ; Wed, 28 Feb 2007 16:44:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8146413C48E for ; Wed, 28 Feb 2007 16:44:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1SGfocN092741; Wed, 28 Feb 2007 09:41:50 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 28 Feb 2007 09:41:55 -0700 (MST) Message-Id: <20070228.094155.660269855.imp@bsdimp.com> To: sam@errno.com From: "M. Warner Losh" In-Reply-To: <45E5A73E.20503@errno.com> References: <20070228102459.GB28669@zibbi.meraka.csir.co.za> <45E5A73E.20503@errno.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 28 Feb 2007 09:41:50 -0700 (MST) Cc: freebsd-arm@freebsd.org Subject: Re: redboot based boot loader for kernels? 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, 28 Feb 2007 16:44:59 -0000 In message: <45E5A73E.20503@errno.com> Sam Leffler writes: : John Hay wrote: : > Hi, : > : > Does anyone have or is busy with an app that one can load in the : > redboot flash, that will load the kernel from the active partition : > of a compact flash? I know one can load the kernel in the redboot : > flash, but that makes remote upgrading more difficult. The way I : > have done with our wrap and soekris boards, is to create 2 slices : > on the CF. When upgrading, you just format and install on the : > non-active slice, change the active bit and reboot. : : A certain someone promised to add read/write support for the flash. That would be me... My day job has been crazy and my new son isn't yet sleeping through the night. : When that happens another option is to write the new kernel to flash : before rebooting. Otherwise we need a redboot image that grok's ufs or : a secondary bootstrap that can be written to flash that knows how to : boot from cf (I recall the latter might be in the obsd thecus work). The at91 boot2 groks ufs and only needs a function that can read the sectors from the underlying media to grok new media. Of course, it inherited most of that from the i386 boot2. Warner