From: Ian Campbell Subject: Re: About booting Xen with UEFI on FastModel Date: Wed, 18 Dec 2013 12:25:09 +0000 Message-ID: <1387369509.27441.127.camel@kazak.uk.xensource.com> References: <4B4B63C4-DD1A-447B-9922-2CF687A080A1@gmail.com> <1386603359.7812.21.camel@kazak.uk.xensource.com> <1386759544.30271.42.camel@kazak.uk.xensource.com> <387CD685-32A0-46E9-9534-4F630F702A05@gmail.com> <1386761354.30271.59.camel@kazak.uk.xensource.com> <39800349-18CE-48DA-A8F7-121F4AB57326@gmail.com> <1387275141.27441.27.camel@kazak.uk.xensource.com> <52B0746C.2060008@gmail.com> <1387367957.27441.126.camel@kazak.uk.xensource.com> <25D65B7D-4F35-4724-B257-500A5127A3C1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <25D65B7D-4F35-4724-B257-500A5127A3C1@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chen Baozi Cc: List Developer Xen List-Id: xen-devel@lists.xenproject.org On Wed, 2013-12-18 at 20:09 +0800, Chen Baozi wrote: > On Dec 18, 2013, at 19:59, Ian Campbell wrote: > > >>>> > >>>> 1. If Xen bootstrap code detected it at an address not aligned with > >>>> 2MB, then it copies itself to (x19 + 4M)\2M. > >>> > >>> This runs the risk of overwriting one of the other boot modules or > >>> something we need later and would have to happen before we had parsed > >>> the DTB to find out where those things are. > >>> > >>> We could mandate that there is space between the end of Xen and other > >>> stuff, but then we could probably just fix the load address too. > >>> > >> > >> Is there any consideration not to make the load address offset same with > >> Linux (0x80000)? Because of memory layout? > > > > I don't beleive Linux is restricted to 0x80000 that's just an > > implementation detail in the bootloader/firmware you happen to be using. > > Sorry, my bad, I mean the virtual start address of Xen. The virtual address is baked into Xen at link time. I don't think changing it would help though. Ian.