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
Could you give more details about what hardware you are using, especially which CPU you have ?
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)