From owner-freebsd-arm@FreeBSD.ORG Wed Feb 14 16:24:25 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 DE82116A400 for ; Wed, 14 Feb 2007 16:24:25 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 9CE7913C491 for ; Wed, 14 Feb 2007 16:24:25 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 770E866B51; Wed, 14 Feb 2007 18:24:24 +0200 (EET) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26137-07; Wed, 14 Feb 2007 18:24:21 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 9912866B2B; Wed, 14 Feb 2007 18:24:21 +0200 (EET) Message-ID: <45D337B3.2000401@bulinfo.net> Date: Wed, 14 Feb 2007 18:24:19 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 1.5 (X11/20060201) MIME-Version: 1.0 To: "M. Warner Losh" References: <45D3119F.4020302@bulinfo.net> <20070214.083339.-1581797982.imp@bsdimp.com> In-Reply-To: <20070214.083339.-1581797982.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-arm@freebsd.org Subject: Re: At91rm9200 boot? 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, 14 Feb 2007 16:24:26 -0000 Thanks for the reply. M. Warner Losh wrote: > In message: <45D3119F.4020302@bulinfo.net> > Krassimir Slavchev writes: > : I have board with at91rm9200, 64Mb SDRAM, 4Mb dataflash and 64kb iic. > : There is bootloader installed in iic which boots linux kernel from > : dataflash. > : What I need to know for this bootloader to be able to boot FreeBSD kernel? > > How to install the FreeBSD kernel in place of the linux kernel > currently in dataflash. > > Depending on the dataflash, you may also be able to do any or all of > the following: > (1) install the freebsd boot loader that boots from SD cards (boot2) > (2) install the freebsd boot loader that boots from dataflash (bootspi) > (3) Use the FreeBSD dataflash support to manage this situation. > > However, without more specific detais, I can't help more. what boot > loader is in the iic? > > Warner > > I don't know what exactly is the bootloader installed in the iic but it seems to be similar to bootspi because stage2 boot is located in dataflash. The dataflash is partitioned and there is the linux kernel which is loaded at 0x20400000. I made several attempts to set physical and virtual addresses when compile the kernel but no luck. I will change the existing bootloader but the current one has support for USB and I can easy write images in the dataflash (fat formatted). Is it possible to boot freebsd kernel with linux bootloader? Best Regards