Re: [PATCH 1/3] arm64: add EFI stub

2013-12-16 Thread Catalin Marinas
On Fri, Dec 06, 2013 at 02:55:54PM +, Mark Salter wrote: > On Thu, 2013-12-05 at 14:18 +, Catalin Marinas wrote: > > On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > > > + add x2, sp, 16 > > > + str x8, [x2] > > > + bl efi_entry > > > + cmn

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-06 Thread Mark Salter
On Thu, 2013-12-05 at 14:18 +, Catalin Marinas wrote: > Hi Mark, > > On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > > +#include > > +#include > > + > > +#include > > + > > +#define EFI_LOAD_ERROR 0x8001 > > It's defined already but I see why you can't include ef

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-06 Thread Mark Salter
On Fri, 2013-12-06 at 14:38 +0100, Leif Lindholm wrote: > On Fri, Dec 06, 2013 at 08:34:30AM -0500, Mark Salter wrote: > > > Or just disable runtime services on the switch to big ending. Big endian > > > should not disable the stub (but getting it to work could be a follow-up > > > patch) > > > >

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-06 Thread Leif Lindholm
On Fri, Dec 06, 2013 at 08:34:30AM -0500, Mark Salter wrote: > > Or just disable runtime services on the switch to big ending. Big endian > > should not disable the stub (but getting it to work could be a follow-up > > patch) > > > The other problem with BE is that the PE/COFF masquerading is buil

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-06 Thread Mark Salter
On Fri, 2013-12-06 at 12:25 +, Grant Likely wrote: > On Thu, 5 Dec 2013 15:28:06 +, Catalin Marinas > wrote: > > On Thu, Dec 05, 2013 at 02:43:23PM +, Mark Salter wrote: > > > On Thu, 2013-12-05 at 14:18 +, Catalin Marinas wrote: > > > > On Fri, Nov 29, 2013 at 10:05:10PM +, M

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-06 Thread Grant Likely
On Thu, 5 Dec 2013 15:28:06 +, Catalin Marinas wrote: > On Thu, Dec 05, 2013 at 02:43:23PM +, Mark Salter wrote: > > On Thu, 2013-12-05 at 14:18 +, Catalin Marinas wrote: > > > On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > > > > This patch adds PE/COFF header fields t

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-06 Thread Grant Likely
On Fri, 29 Nov 2013 17:05:10 -0500, Mark Salter wrote: > This patch adds PE/COFF header fields to the start of the Image > so that it appears as an EFI application to EFI firmware. An EFI > stub is included to allow direct booting of the kernel Image. Due > to EFI firmware limitations, only little

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-05 Thread Catalin Marinas
On Thu, Dec 05, 2013 at 02:43:23PM +, Mark Salter wrote: > On Thu, 2013-12-05 at 14:18 +, Catalin Marinas wrote: > > On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > > > This patch adds PE/COFF header fields to the start of the Image > > > so that it appears as an EFI applicat

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-05 Thread Mark Salter
On Thu, 2013-12-05 at 14:18 +, Catalin Marinas wrote: > On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > > This patch adds PE/COFF header fields to the start of the Image > > so that it appears as an EFI application to EFI firmware. An EFI > > stub is included to allow direct boot

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-05 Thread Catalin Marinas
Hi Mark, On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > This patch adds PE/COFF header fields to the start of the Image > so that it appears as an EFI application to EFI firmware. An EFI > stub is included to allow direct booting of the kernel Image. Due > to EFI firmware limitatio

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-03 Thread Mark Salter
On Tue, 2013-12-03 at 18:38 +, Will Deacon wrote: > Hi Mark, Roy, > > On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > > This patch adds PE/COFF header fields to the start of the Image > > so that it appears as an EFI application to EFI firmware. An EFI > > stub is included to al

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-03 Thread Roy Franz
On Tue, Dec 3, 2013 at 10:38 AM, Will Deacon wrote: > Hi Mark, Roy, > > On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: >> This patch adds PE/COFF header fields to the start of the Image >> so that it appears as an EFI application to EFI firmware. An EFI >> stub is included to allow d

Re: [PATCH 1/3] arm64: add EFI stub

2013-12-03 Thread Will Deacon
Hi Mark, Roy, On Fri, Nov 29, 2013 at 10:05:10PM +, Mark Salter wrote: > This patch adds PE/COFF header fields to the start of the Image > so that it appears as an EFI application to EFI firmware. An EFI > stub is included to allow direct booting of the kernel Image. Due > to EFI firmware limi