Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-30 Thread Roy Franz
On Fri, Aug 30, 2013 at 7:36 AM, Grant Likely wrote: > On Fri, 9 Aug 2013 16:26:16 -0700, Roy Franz wrote: >> This patch adds EFI stub support for the ARM Linux kernel. The EFI stub >> operations similarly to the x86 stub: it is a shim between the EFI firmware >> and the normal zImage entry

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-30 Thread Grant Likely
On Fri, 9 Aug 2013 16:26:16 -0700, Roy Franz wrote: > This patch adds EFI stub support for the ARM Linux kernel. The EFI stub > operations similarly to the x86 stub: it is a shim between the EFI firmware > and the normal zImage entry point, and sets up the environment that the > zImage is

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-30 Thread Grant Likely
On Fri, 9 Aug 2013 16:26:16 -0700, Roy Franz roy.fr...@linaro.org wrote: This patch adds EFI stub support for the ARM Linux kernel. The EFI stub operations similarly to the x86 stub: it is a shim between the EFI firmware and the normal zImage entry point, and sets up the environment that the

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-30 Thread Roy Franz
On Fri, Aug 30, 2013 at 7:36 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, 9 Aug 2013 16:26:16 -0700, Roy Franz roy.fr...@linaro.org wrote: This patch adds EFI stub support for the ARM Linux kernel. The EFI stub operations similarly to the x86 stub: it is a shim between the EFI

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-13 Thread Roy Franz
On Tue, Aug 13, 2013 at 6:44 PM, Roy Franz wrote: > > Thanks Dave - comments inline, and I have an updated head.S diff at the end. > > Roy > > > On Tue, Aug 13, 2013 at 7:19 AM, Dave Martin wrote: >> >> On Fri, Aug 09, 2013 at 04:26:16PM -0700, Roy Franz wrote: >> > This patch adds EFI stub

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-13 Thread Dave Martin
On Fri, Aug 09, 2013 at 04:26:16PM -0700, Roy Franz wrote: > This patch adds EFI stub support for the ARM Linux kernel. The EFI stub > operations similarly to the x86 stub: it is a shim between the EFI firmware > and the normal zImage entry point, and sets up the environment that the > zImage is

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-13 Thread Dave Martin
On Fri, Aug 09, 2013 at 04:26:16PM -0700, Roy Franz wrote: This patch adds EFI stub support for the ARM Linux kernel. The EFI stub operations similarly to the x86 stub: it is a shim between the EFI firmware and the normal zImage entry point, and sets up the environment that the zImage is

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-13 Thread Roy Franz
On Tue, Aug 13, 2013 at 6:44 PM, Roy Franz roy.fr...@linaro.org wrote: Thanks Dave - comments inline, and I have an updated head.S diff at the end. Roy On Tue, Aug 13, 2013 at 7:19 AM, Dave Martin dave.mar...@arm.com wrote: On Fri, Aug 09, 2013 at 04:26:16PM -0700, Roy Franz wrote: This

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-12 Thread Roy Franz
On Mon, Aug 12, 2013 at 7:51 AM, Mark Salter wrote: > On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: >> +static int relocate_kernel(efi_system_table_t *sys_table, >> + unsigned long *zimage_addr, >> + unsigned long zimage_size, >> +

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-12 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > +static int relocate_kernel(efi_system_table_t *sys_table, > + unsigned long *zimage_addr, > + unsigned long zimage_size, > + unsigned long min_addr, unsigned long

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-12 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: +static int relocate_kernel(efi_system_table_t *sys_table, + unsigned long *zimage_addr, + unsigned long zimage_size, + unsigned long min_addr, unsigned long max_addr)

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-12 Thread Roy Franz
On Mon, Aug 12, 2013 at 7:51 AM, Mark Salter msal...@redhat.com wrote: On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: +static int relocate_kernel(efi_system_table_t *sys_table, + unsigned long *zimage_addr, + unsigned long zimage_size, +

[PATCH 15/16] Add EFI stub for ARM

2013-08-09 Thread Roy Franz
This patch adds EFI stub support for the ARM Linux kernel. The EFI stub operations similarly to the x86 stub: it is a shim between the EFI firmware and the normal zImage entry point, and sets up the environment that the zImage is expecting. This includes loading the initrd (optionaly) and device

[PATCH 15/16] Add EFI stub for ARM

2013-08-09 Thread Roy Franz
This patch adds EFI stub support for the ARM Linux kernel. The EFI stub operations similarly to the x86 stub: it is a shim between the EFI firmware and the normal zImage entry point, and sets up the environment that the zImage is expecting. This includes loading the initrd (optionaly) and device