]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "x86: Switch QEMU over to use the bochs driver"
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:16:02 +0000 (11:16 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Aug 2023 15:31:11 +0000 (23:31 +0800)
Unfortunately the bochs driver does not currently work with distros.
It causes a hang between grub menu selection and the OS displaying
something.

Preliminary investigation shows that GRUB does not jump to the kernel
at all.

This reproduces reliably.

This reverts commit b8956425d525c3c25fd218f252f89a5e44df6a9f.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com> # qemu-x86_64
[Slightly modify the commit message about preliminary investigation]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/qemu/Kconfig
configs/qemu-x86_64_defconfig
configs/qemu-x86_defconfig

index aa329b0dab292782b20b9afb2efcac068bb3b1ed..f8f2f647308863f054c284878123aac4261afb20 100644 (file)
@@ -12,7 +12,7 @@ config QEMU
        imply SYS_NS16550
        imply USB
        imply USB_EHCI_HCD
-       imply VIDEO_BOCHS
+       imply VIDEO_VESA
 
 if QEMU
 
index 9cf38a5c695261879f838bcd9a7845de22f9cbfc..c6f30674a8fcd6ed61467bc63eab920100449135 100644 (file)
@@ -84,6 +84,10 @@ CONFIG_SPL_DM_RTC=y
 CONFIG_SYS_NS16550_PORT_MAPPED=y
 CONFIG_SPI=y
 CONFIG_USB_KEYBOARD=y
+CONFIG_SPL_VIDEO=y
+CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
+CONFIG_FRAMEBUFFER_VESA_MODE_USER=y
+CONFIG_FRAMEBUFFER_VESA_MODE=0x144
 CONFIG_CONSOLE_SCROLL_LINES=5
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_GENERATE_ACPI_TABLE=y
index 95a6ff9ae799e469d49f817f566b1546dd48cd0a..56788cd185fd6766dec174525461ab03271ded53 100644 (file)
@@ -53,6 +53,9 @@ CONFIG_NVME_PCI=y
 CONFIG_SYS_NS16550_PORT_MAPPED=y
 CONFIG_SPI=y
 CONFIG_USB_KEYBOARD=y
+CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
+CONFIG_FRAMEBUFFER_VESA_MODE_USER=y
+CONFIG_FRAMEBUFFER_VESA_MODE=0x144
 CONFIG_CONSOLE_SCROLL_LINES=5
 CONFIG_GENERATE_ACPI_TABLE=y
 # CONFIG_GZIP is not set