All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15898] New: Unable to boot syslinux.efi produced by buildroot (EFI 64-bit), the one provided by the tarball works fine though
@ 2023-12-22 18:56 bugzilla
  2023-12-23 18:49 ` [Buildroot] [Bug 15898] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-12-22 18:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15898

            Bug ID: 15898
           Summary: Unable to boot syslinux.efi produced by buildroot (EFI
                    64-bit), the one provided by the tarball works fine
                    though
           Product: buildroot
           Version: 2023.08.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: meliodasren01@gmail.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

Hello,

Hopefully I am just missing something in my buildroot's menuconfig settings but
I can't figure out what it could be. If this is the case then it might be a bug
since I suspect the menuconfig should auto-select whatever I'm missing based on
the settings I chose.

Some of the settings currently set include:
BR2_TARGET_SYSLINUX=y
BR2_TARGET_SYSLINUX_EFI=y

The rest with "SYSLINUX" are =n.

Everything compiles fine. I end up with the following syslinux file after the
build finishes:
output/images/syslinux/syslinux.efi

It is 129717 bytes. 

I this should be the 64-bit version since I also have the following set:
BR2_ARCH=x86_64

However, this file does not boot.

I know that this file is to blame and nothing else because I can simply do the
following to boot successfully:
- extract the original syslinux compressed file
(dl/syslinux/syslinux-6.03.tar.xz), which contains a copy of the syslinux.efi
file that they build (and buildroot deletes during the build process)
- replace the syslinux.efi built by buildroot with the one extracted from the
compressed archive (i.e. syslinux-6.03/efi64/efi/syslinux.efi)
- this syslinux.efi boots fine, with no other changes made

Note: The one provided from the original compressed archive is 199952 bytes.

This leads me to believe that the syslinux.efi built by buildroot is missing
something, since it fails to boot and it's about 35% smaller than the original
provided by the compressed archive.

Thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 15898] Unable to boot syslinux.efi produced by buildroot (EFI 64-bit), the one provided by the tarball works fine though
  2023-12-22 18:56 [Buildroot] [Bug 15898] New: Unable to boot syslinux.efi produced by buildroot (EFI 64-bit), the one provided by the tarball works fine though bugzilla
@ 2023-12-23 18:49 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2023-12-23 18:49 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15898

Meliodas <meliodasren01@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Meliodas <meliodasren01@gmail.com> ---
This can be closed as a duplicate of 11861. I tried building syslinux 6.0.3
myself outside of buildroot and had the same problem. Applying the patch from
11861 fixed it. I don't know how to apply the patch when building from within
buildroot though.

*** This bug has been marked as a duplicate of bug 11861 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-23 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-22 18:56 [Buildroot] [Bug 15898] New: Unable to boot syslinux.efi produced by buildroot (EFI 64-bit), the one provided by the tarball works fine though bugzilla
2023-12-23 18:49 ` [Buildroot] [Bug 15898] " bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.