From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 18 01:45:20 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFF7916A41F for ; Fri, 18 Nov 2005 01:45:20 +0000 (GMT) (envelope-from freebsdenthu@yahoo.com) Received: from web36415.mail.mud.yahoo.com (web36415.mail.mud.yahoo.com [209.191.85.150]) by mx1.FreeBSD.org (Postfix) with SMTP id 4069443D45 for ; Fri, 18 Nov 2005 01:45:20 +0000 (GMT) (envelope-from freebsdenthu@yahoo.com) Received: (qmail 21085 invoked by uid 60001); 18 Nov 2005 01:45:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cqw5UkVw575kq4XulyAGb9CtRwCn1yaLy/rqoymmlkZaT616FgkdlE9hsedIvzf9Ufo9U4LvFmPSZh+YwXeIvJk1JQ2tnPFPGJOlgEFWcfMzWmg7LlC16b2b1IhKqlUgv1DOFX9s1C+eRUbMvBuFlJxG1QNT6Q5cOIME6TgedWo= ; Message-ID: <20051118014519.21083.qmail@web36415.mail.mud.yahoo.com> Received: from [216.240.27.23] by web36415.mail.mud.yahoo.com via HTTP; Thu, 17 Nov 2005 17:45:19 PST Date: Thu, 17 Nov 2005 17:45:19 -0800 (PST) From: Freebsd Enthu To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How do I control the load address in Elf header X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 01:45:20 -0000 Hi, I am one of the firmware guys that is writing a Secondary Boot Loader that boots FreeBSD kernel. From what I see in the ELF header for FreeBSD kernel, the load address seems to have a value of 0x80200000 which seems to be a Virtual address for me. If I want to put the Physical address where I want the FreeBSD to go, what are the FreeeBSD files I need to change? Any help will be appreciated. Thanks --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click.