Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: Jeremy Fitzhardinge wrote: Do you also have a patch to update the boot protocol? Looking for anything different than the root of this thread? Yes, the patch for the Xen domain builder to boot a bzImage using the Linux boot protocol rather than the Xen one. Ian's pat

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: Do you also have a patch to update the boot protocol? Looking for anything different than the root of this thread? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo i

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Jeremy Fitzhardinge
Ian Campbell wrote: On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: I have a xen domain builder patch as well. I was waiting for the Linux side to gain some traction before putting it forward (I'd attach it now but it's at home on a laptop which is sleeping). Here it is: # HG c

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread H. Peter Anvin
Ian Campbell wrote: Agreed. Probably the same deal as the compression format, i.e. use the magic number but only ELF is possible today (even less likely to change than the compression format I guess...). Quite. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > > > > +Field name:compressed_payload_offset > > > +Type: read > > > +Offset/size: 0x248/4 > > > +Protocol: 2.08+ > > > + > > > + If non-zero then this field contains the offset from the end of > the > > > + rea

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > > I have a xen domain builder patch as well. I was waiting for the Linux > side to gain some traction before putting it forward (I'd attach it > now but it's at home on a laptop which is sleeping). Here it is: # HG changeset patch # User

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 17:37 +, Mark McLoughlin wrote: > On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > With this, AFLAGS would apply to building when building the > prerequisites of header.o too, which you don't want > > The make manual says: > > "when you define a target-specifi

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Mark McLoughlin
On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > On Thu, 2008-02-14 at 11:34 +, Mark McLoughlin wrote: > > On Wed, 2008-02-13 at 20:54 +, Ian Campbell wrote: > > > This allows other boot loaders such as the Xen domain builder the > > > opportunity to extract the ELF file. > > > >

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 11:34 +, Mark McLoughlin wrote: > On Wed, 2008-02-13 at 20:54 +, Ian Campbell wrote: > > This allows other boot loaders such as the Xen domain builder the > > opportunity to extract the ELF file. > > Right, Xen currently can't boot bzImage (it needs the ELF ima

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Mark McLoughlin
On Wed, 2008-02-13 at 20:54 +, Ian Campbell wrote: > This allows other boot loaders such as the Xen domain builder the > opportunity to extract the ELF file. Right, Xen currently can't boot bzImage (it needs the ELF image) so you still can't use the same kernel image on Xen as bare-met

[PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-13 Thread Ian Campbell
This allows other boot loaders such as the Xen domain builder the opportunity to extract the ELF file. Signed-off-by: Ian Campbell <[EMAIL PROTECTED]> Cc: Thomas Gleixner <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: H. Peter Anvin <[EMAIL PROTECTED]> Cc: Jeremy Fitzhardinge <[EMAIL