Skip to contentSkip to conversation

New: Unable to boot syslinux.efi produced by buildroot (EFI 64-bit), the one provided by the tarball works fine though

Buildroot [email protected] 1 participant 2 messages Dec 22, 2023 – Dec 23, 2023

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
CC: [email protected]
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

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15898] Unable to boot syslinux.efi produced by buildroot (EFI 64-bit), the one provided by the tarball works fine though

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

Meliodas <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Meliodas <[email protected]> ---
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 ***

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot