From owner-freebsd-arm@FreeBSD.ORG Wed Apr 1 18:30:08 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2761065674 for ; Wed, 1 Apr 2009 18:30:08 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id C71128FC23 for ; Wed, 1 Apr 2009 18:30:07 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n31HsrDv003579; Wed, 1 Apr 2009 11:54:54 -0600 Received: from [172.16.9.100] (bny241.neoplus.adsl.tpnet.pl [83.29.14.241]) by mail.semihalf.com (Postfix) with ESMTP id A2E70143B6; Wed, 1 Apr 2009 19:54:51 +0200 (CEST) Message-Id: <8A463EAA-0970-448C-A8D1-DB1E31AD013F@semihalf.com> From: Rafal Jaworowski To: Guillaume Ballet In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Wed, 1 Apr 2009 19:54:49 +0200 References: <20090331230945.GA8584@ci0.org> <200903312350.n2VNoAwK060973@casselton.net> <20090401093815.GA23622@ci0.org> X-Mailer: Apple Mail (2.930.3) Cc: Mark Tinguely , freebsd-arm@freebsd.org Subject: Re: locore.S question 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, 01 Apr 2009 18:30:08 -0000 On 2009-04-01, at 12:25, Guillaume Ballet wrote: > On Wed, Apr 1, 2009 at 11:38 AM, Olivier Houchard > wrote: >> On Tue, Mar 31, 2009 at 06:50:10PM -0500, Mark Tinguely wrote: >>> I was wondering why the kernel is loaded 16MB into the physical >>> memory? >>> >> >> Don't know in this case, but it often happens the bootloader is >> loaded at >> the beginning of the ram, and so won't let you load the kernel there. >> >> Olivier >> > > I have indeed u-boot and my intermediate kernel-loader that are loaded > at the beginning of the RAM. This is not carved in stone: I will > probably move the kernel-loader further away and overwrite u-boot. > During platform bringup, though, I have put it here. > Nothing to worry about, I was just wondering if there was some > concealed requirement for the kernel to be below the first 16MB of > RAM. Ideally, we'd have loader(8) load the kernel to the desired location (set by the user interactively) in memory, which is not in place yet, but also not a difficult thing to do. Rafal