Keshav P R
2012-Dec-09 13:04 UTC
[syslinux] Unable to boot Linux kernel in from Syslinux 6.00-pre efi64
Hi, Line 762 of efi/main.c (git firmware branch) should be changed to if (hdr->version < 0x20b) { Without this change syslinux efi64 gives out "handover protocol unimplemented error" and fails to boot. With this change syslinux boots the kernels fine (tested with 3.6.9 and 3.7rc6 kernels). Please fix this. Thanks in advance. Regards. Keshav
Geert Stappers
2012-Dec-09 13:51 UTC
[syslinux] Unable to boot Linux kernel in from Syslinux 6.00-pre efi64
On Sun, Dec 09, 2012 at 06:34:15PM +0530, Keshav P R wrote:> Hi, > Line 762 of efi/main.c (git firmware branch) should be changed to > > if (hdr->version < 0x20b) {diff --git a/efi/main.c b/efi/main.c index 754cbc5..df432d7 100644 --- a/efi/main.c +++ b/efi/main.c @@ -758,9 +758,9 @@ int efi_boot_linux(void *kernel_buf, size_t kernel_size, if (hdr->version < 0x20a || !hdr->relocatable_kernel) { printf("bzImage version 0x%x unsupported\n", hdr->version); goto bail; } - if (hdr->version >= 0x20b) { + if (hdr->version < 0x20b) { printf("bzImage version 0x%x handover protocol unimplemented \n", hdr->version); goto bail; }> > Without this change syslinux efi64 gives out "handover protocol > unimplemented error" and fails to boot. With this change syslinux boots the > kernels fine (tested with 3.6.9 and 3.7rc6 kernels). Please fix this. > Thanks in advance. > > Regards. > > KeshavHtH Geert Stappers --> And is there a policy on top-posting vs. bottom-posting?Yes.
Geert Stappers
2013-Jan-07 22:01 UTC
[syslinux] Unable to boot Linux kernel in from Syslinux 6.00-pre efi64
On Sun, Dec 09, 2012 at 02:51:05PM +0100, Geert Stappers wrote:> On Sun, Dec 09, 2012 at 06:34:15PM +0530, Keshav P R wrote: > > Hi, > > Line 762 of efi/main.c (git firmware branch) should be changed to > > > > if (hdr->version < 0x20b) { > > diff --git a/efi/main.c b/efi/main.c > index 754cbc5..df432d7 100644 > --- a/efi/main.c > +++ b/efi/main.c > @@ -758,9 +758,9 @@ int efi_boot_linux(void *kernel_buf, size_t kernel_size, > if (hdr->version < 0x20a || !hdr->relocatable_kernel) { > printf("bzImage version 0x%x unsupported\n", hdr->version); > goto bail; > } > - if (hdr->version >= 0x20b) { > + if (hdr->version < 0x20b) { > printf("bzImage version 0x%x handover protocol unimplemented \n", hdr->version); > goto bail; > } > > > > > > Without this change syslinux efi64 gives out "handover protocol > > unimplemented error" and fails to boot. With this change syslinux boots the > > kernels fine (tested with 3.6.9 and 3.7rc6 kernels). Please fix this. > > Thanks in advance. > > > > Regards. > > > > Keshav >Now there is http://www.syslinux.org/commit/c5f62920d2a8ffba0e9c3282403a8676c6073de5 Hope this helps St
Matt Fleming
2013-Jan-08 07:44 UTC
[syslinux] Unable to boot Linux kernel in from Syslinux 6.00-pre efi64
On Mon, 2013-01-07 at 23:01 +0100, Geert Stappers wrote:> On Sun, Dec 09, 2012 at 02:51:05PM +0100, Geert Stappers wrote: > > On Sun, Dec 09, 2012 at 06:34:15PM +0530, Keshav P R wrote: > > > Hi, > > > Line 762 of efi/main.c (git firmware branch) should be changed to > > > > > > if (hdr->version < 0x20b) { > > > > diff --git a/efi/main.c b/efi/main.c > > index 754cbc5..df432d7 100644 > > --- a/efi/main.c > > +++ b/efi/main.c > > @@ -758,9 +758,9 @@ int efi_boot_linux(void *kernel_buf, size_t kernel_size, > > if (hdr->version < 0x20a || !hdr->relocatable_kernel) { > > printf("bzImage version 0x%x unsupported\n", hdr->version); > > goto bail; > > } > > - if (hdr->version >= 0x20b) { > > + if (hdr->version < 0x20b) { > > printf("bzImage version 0x%x handover protocol unimplemented \n", hdr->version); > > goto bail; > > } > > > > > > > > > > Without this change syslinux efi64 gives out "handover protocol > > > unimplemented error" and fails to boot. With this change syslinux boots the > > > kernels fine (tested with 3.6.9 and 3.7rc6 kernels). Please fix this. > > > Thanks in advance. > > > > > > Regards. > > > > > > Keshav > > > > Now there is http://www.syslinux.org/commit/c5f62920d2a8ffba0e9c3282403a8676c6073de5 > > > Hope this helpsThanks Geert. I tried to find this thread yesterday but had no such luck. -- Matt Fleming, Intel Open Source Technology Center