From owner-freebsd-arm@FreeBSD.ORG Wed Feb 28 16:01:06 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 7F13516A400 for ; Wed, 28 Feb 2007 16:01:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5990E13C494 for ; Wed, 28 Feb 2007 16:01:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l1SG13Aa043657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Feb 2007 08:01:05 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45E5A73E.20503@errno.com> Date: Wed, 28 Feb 2007 08:01:02 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.9 (X11/20070208) MIME-Version: 1.0 To: John Hay References: <20070228102459.GB28669@zibbi.meraka.csir.co.za> In-Reply-To: <20070228102459.GB28669@zibbi.meraka.csir.co.za> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:01:06 -0000 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. 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). Sam