Skip to contentSkip to conversation

New: pc_x86_64_efi_defconfig doesn't run on real hardware

Buildroot [email protected] 1 participant 3 messages Dec 20, 2022 – May 3, 2023

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 15191
           Summary: pc_x86_64_efi_defconfig doesn't run on real hardware
           Product: buildroot
           Version: 2022.08.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

I have been trying to get a Buildroot image to run on an x86_64 machine but I'm not having much luck. The generated image boots fine on QEMU but if I try to run it on real hardware, I just get a blank screen after the GRUB menu.

I have tested running on a couple of different machines with the same result and have confirmed that I can boot a standard Linux distro on the target hardware successfully.

# Steps to reproduce
git describe:
2022.08.1-38-b44e2cf19a

make clean && make distclean
make pc_x86_64_efi_defconfig
make -j(nproc)

# Running in QEMU (works)

qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -drive format=raw,file=output/images/disk.img -m 4096M

# Running on Hardware (doesn't work)

* Flash image to USB stick
* Boot from USB stick
* UEFI works
* GRUB menu displayed
* Select boot option
* Blank screen, no further progress

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 15191] pc_x86_64_efi_defconfig doesn't run on real hardware

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

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Could you give more details about what hardware you are using, especially which CPU you have ?

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
#2 lore raw

[Buildroot] [Bug 15191] pc_x86_64_efi_defconfig doesn't run on real hardware

In reply to [email protected]

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

Sam Bristow <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Sam Bristow <[email protected]> --- Sorry for the delay in replying. I tested this on a couple of different machines, an Elkhart Lake Atom board and a random other intel box from around the office.

I think the issue was that I wasn't getting a framebuffer to display anything after grub.

Now that the EFI framebuffer is enabled by default the pc_x86_64 config works out of the box.

(https://git.busybox.net/buildroot/commit/?id=7a4e8355e3751f620ef91239a1c61a9c1c41d5ca)

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