From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 10 Feb 2007 11:53:31 +1100 From: David Gibson To: "Mark A. Greer" Subject: Re: Okay to change default zImage link/load address? Message-ID: <20070210005330.GD8276@localhost.localdomain> References: <20070209184345.GA28127@mag.az.mvista.com> <20070209185107.GA12703@aepfle.de> <20070209185528.GB28127@mag.az.mvista.com> <45CCCCAD.2040507@am.sony.com> <20070209224010.GB7339@localhost.localdomain> <20070209232100.GD12035@mag.az.mvista.com> <20070209232533.GE12035@mag.az.mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20070209232533.GE12035@mag.az.mvista.com> Cc: linuxppc-dev , Olaf Hering , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Feb 09, 2007 at 04:25:33PM -0700, Mark A. Greer wrote: > On Fri, Feb 09, 2007 at 04:21:00PM -0700, Mark A. Greer wrote: > > On Sat, Feb 10, 2007 at 09:40:10AM +1100, David Gibson wrote: > > > > > Note that the zImage is already build -fPIC and capable of relocating > > > itself if loaded at an address other than 4MB... > > > > That doesn't address the issue. > > > > Many firmwares look at the address in the ELF header and that's where > > they download it, period. Right now, that address is 4MB, period. > > 4MB doesn't work on some platforms so I'm looking for an acceptable > > alternative. > > David, if I sounded rude, I didn't mean to. No no. I see your point. Hrm... I've already been thinking that we'll need to make the crt0.S replaceable by platform. The same is probably true for the linker script. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson